@estifanos-sh/convex-auth 0.0.2 → 0.0.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.
- package/README.md +5 -5
- package/dist/_generated/component.d.ts +130 -61
- package/dist/_generated/component.d.ts.map +1 -1
- package/dist/_generated/dataModel.d.ts +28 -0
- package/dist/_generated/dataModel.d.ts.map +1 -0
- package/dist/bin.js +1 -2
- package/dist/browser/index.d.ts +2 -2
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/client/core/types.d.ts +40 -79
- package/dist/client/core/types.d.ts.map +1 -1
- package/dist/client/core/types.js.map +1 -1
- package/dist/client/errors.d.ts +15 -0
- package/dist/client/errors.d.ts.map +1 -0
- package/dist/client/errors.js +8 -1
- package/dist/client/errors.js.map +1 -1
- package/dist/client/index.d.ts +6 -3
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +3 -2
- package/dist/client/index.js.map +1 -1
- package/dist/component/_generated/component.d.ts +130 -61
- package/dist/component/_generated/component.d.ts.map +1 -1
- package/dist/component/_generated/dataModel.d.ts +1 -1
- package/dist/component/_generated/server.d.ts +1 -1
- package/dist/component/account.d.ts +43 -37
- package/dist/component/account.d.ts.map +1 -1
- package/dist/component/account.js +14 -16
- package/dist/component/account.js.map +1 -1
- package/dist/component/connection/audit.d.ts +29 -29
- package/dist/component/connection/audit.d.ts.map +1 -1
- package/dist/component/connection/audit.js +2 -1
- package/dist/component/connection/audit.js.map +1 -1
- package/dist/component/connection/cache.d.ts +6 -6
- package/dist/component/connection/domain/verification.d.ts +19 -19
- package/dist/component/connection/domain.d.ts +20 -20
- package/dist/component/connection/saml/assertion.d.ts +4 -4
- package/dist/component/connection/saml/request.d.ts +9 -9
- package/dist/component/connection/saml/request.d.ts.map +1 -1
- package/dist/component/connection/scim/config.d.ts +13 -13
- package/dist/component/connection/scim/identity.d.ts +102 -59
- package/dist/component/connection/scim/identity.d.ts.map +1 -1
- package/dist/component/connection/scim/identity.js +357 -56
- package/dist/component/connection/scim/identity.js.map +1 -1
- package/dist/component/connection/secret.d.ts +15 -15
- package/dist/component/connection/secret.d.ts.map +1 -1
- package/dist/component/connection/webhook/delivery.d.ts +69 -53
- package/dist/component/connection/webhook/delivery.d.ts.map +1 -1
- package/dist/component/connection/webhook/delivery.js +127 -170
- package/dist/component/connection/webhook/delivery.js.map +1 -1
- package/dist/component/connection/webhook/endpoint.d.ts +21 -21
- package/dist/component/connection/webhook/events.d.ts +26 -0
- package/dist/component/connection/webhook/events.d.ts.map +1 -0
- package/dist/component/connection/webhook/events.js +39 -0
- package/dist/component/connection/webhook/events.js.map +1 -0
- package/dist/component/connection.d.ts +38 -38
- package/dist/component/connection.d.ts.map +1 -1
- package/dist/component/context.d.ts +115 -0
- package/dist/component/context.d.ts.map +1 -0
- package/dist/component/context.js +50 -0
- package/dist/component/context.js.map +1 -0
- package/dist/component/convex.config.d.ts +2 -2
- package/dist/component/crons.d.ts +2 -2
- package/dist/component/event.d.ts +134 -138
- package/dist/component/event.d.ts.map +1 -1
- package/dist/component/event.js +88 -117
- package/dist/component/event.js.map +1 -1
- package/dist/component/eventstream.d.ts +30 -0
- package/dist/component/eventstream.d.ts.map +1 -0
- package/dist/component/eventstream.js +51 -0
- package/dist/component/eventstream.js.map +1 -0
- package/dist/component/factor/device.d.ts +25 -24
- package/dist/component/factor/device.d.ts.map +1 -1
- package/dist/component/factor/device.js +5 -2
- package/dist/component/factor/device.js.map +1 -1
- package/dist/component/factor/passkey.d.ts +84 -75
- package/dist/component/factor/passkey.d.ts.map +1 -1
- package/dist/component/factor/passkey.js +6 -6
- package/dist/component/factor/passkey.js.map +1 -1
- package/dist/component/factor/totp.d.ts +54 -49
- package/dist/component/factor/totp.d.ts.map +1 -1
- package/dist/component/factor/totp.js +3 -3
- package/dist/component/factor/totp.js.map +1 -1
- package/dist/component/group/active.d.ts +326 -22
- package/dist/component/group/active.d.ts.map +1 -1
- package/dist/component/group/active.js +21 -11
- package/dist/component/group/active.js.map +1 -1
- package/dist/component/group/invite.d.ts +28 -28
- package/dist/component/group/invite.d.ts.map +1 -1
- package/dist/component/group/member.d.ts +34 -34
- package/dist/component/group.d.ts +47 -62
- package/dist/component/group.d.ts.map +1 -1
- package/dist/component/http.d.ts +2 -2
- package/dist/component/limits.d.ts +4 -4
- package/dist/component/maintenance.d.ts +2 -2
- package/dist/component/model.d.ts +1362 -1027
- package/dist/component/model.d.ts.map +1 -1
- package/dist/component/model.js +23 -6
- package/dist/component/model.js.map +1 -1
- package/dist/component/modules.d.ts +8 -2
- package/dist/component/modules.d.ts.map +1 -1
- package/dist/component/modules.js +3 -0
- package/dist/component/modules.js.map +1 -1
- package/dist/component/oauth/client.d.ts +20 -20
- package/dist/component/oauth/code.d.ts +14 -14
- package/dist/component/oauth/refresh.d.ts +19 -19
- package/dist/component/schema.d.ts +1100 -611
- package/dist/component/schema.d.ts.map +1 -1
- package/dist/component/schema.js +17 -4
- package/dist/component/schema.js.map +1 -1
- package/dist/component/session.d.ts +72 -32
- package/dist/component/session.d.ts.map +1 -1
- package/dist/component/session.js +120 -32
- package/dist/component/session.js.map +1 -1
- package/dist/component/token/continuation.d.ts +40 -18
- package/dist/component/token/continuation.d.ts.map +1 -1
- package/dist/component/token/continuation.js +57 -11
- package/dist/component/token/continuation.js.map +1 -1
- package/dist/component/token/pkce.d.ts +22 -22
- package/dist/component/token/pkce.d.ts.map +1 -1
- package/dist/component/token/refresh.d.ts +39 -35
- package/dist/component/token/refresh.d.ts.map +1 -1
- package/dist/component/token/refresh.js +11 -6
- package/dist/component/token/refresh.js.map +1 -1
- package/dist/component/token/verification.d.ts +36 -32
- package/dist/component/token/verification.d.ts.map +1 -1
- package/dist/component/token/verification.js +3 -3
- package/dist/component/token/verification.js.map +1 -1
- package/dist/component/user/email.d.ts +21 -21
- package/dist/component/user/key.d.ts +35 -35
- package/dist/component/user/key.d.ts.map +1 -1
- package/dist/component/user.d.ts +51 -45
- package/dist/component/user.d.ts.map +1 -1
- package/dist/core/index.d.ts +54 -90
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +1 -4
- package/dist/core/index.js.map +1 -1
- package/dist/expo/index.d.ts +3 -3
- package/dist/expo/index.d.ts.map +1 -1
- package/dist/expo/index.js.map +1 -1
- package/dist/model.js.map +1 -1
- package/dist/providers/anonymous.d.ts +11 -5
- package/dist/providers/anonymous.d.ts.map +1 -1
- package/dist/providers/anonymous.js +4 -1
- package/dist/providers/anonymous.js.map +1 -1
- package/dist/providers/apple.d.ts +1 -1
- package/dist/providers/credentials.d.ts +21 -13
- package/dist/providers/credentials.d.ts.map +1 -1
- package/dist/providers/credentials.js +2 -0
- package/dist/providers/credentials.js.map +1 -1
- package/dist/providers/custom.d.ts +3 -3
- package/dist/providers/custom.d.ts.map +1 -1
- package/dist/providers/custom.js.map +1 -1
- package/dist/providers/email.d.ts +3 -3
- package/dist/providers/email.d.ts.map +1 -1
- package/dist/providers/email.js.map +1 -1
- package/dist/providers/github.d.ts +1 -1
- package/dist/providers/google.d.ts +1 -1
- package/dist/providers/microsoft.d.ts +1 -1
- package/dist/providers/password.d.ts +103 -8
- package/dist/providers/password.d.ts.map +1 -1
- package/dist/providers/password.js +71 -26
- package/dist/providers/password.js.map +1 -1
- package/dist/providers/phone.d.ts +4 -3
- package/dist/providers/phone.d.ts.map +1 -1
- package/dist/providers/phone.js.map +1 -1
- package/dist/react/index.d.ts +40 -41
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +27 -52
- package/dist/react/index.js.map +1 -1
- package/dist/server/auth.d.ts +157 -117
- package/dist/server/auth.d.ts.map +1 -1
- package/dist/server/auth.js +41 -22
- package/dist/server/auth.js.map +1 -1
- package/dist/server/component/factor/db.js +4 -4
- package/dist/server/component/factor/db.js.map +1 -1
- package/dist/server/config.d.ts +2 -1
- package/dist/server/connection/domain.d.ts +4 -66
- package/dist/server/connection/domain.d.ts.map +1 -1
- package/dist/server/connection/domain.js +22 -4
- package/dist/server/connection/domain.js.map +1 -1
- package/dist/server/connection/group/service.js +6 -4
- package/dist/server/connection/group/service.js.map +1 -1
- package/dist/server/connection/http.js +94 -261
- package/dist/server/connection/http.js.map +1 -1
- package/dist/server/connection/oidc.js +8 -17
- package/dist/server/connection/oidc.js.map +1 -1
- package/dist/server/connection/policy/domain.js +4 -1
- package/dist/server/connection/policy/domain.js.map +1 -1
- package/dist/server/connection/policy.js +14 -13
- package/dist/server/connection/policy.js.map +1 -1
- package/dist/server/connection/provision.js +5 -19
- package/dist/server/connection/provision.js.map +1 -1
- package/dist/server/connection/webhook.js +4 -36
- package/dist/server/connection/webhook.js.map +1 -1
- package/dist/server/context.d.ts +2 -2
- package/dist/server/context.d.ts.map +1 -1
- package/dist/server/context.js +35 -24
- package/dist/server/context.js.map +1 -1
- package/dist/server/contract.d.ts.map +1 -1
- package/dist/server/contract.js +6 -14
- package/dist/server/contract.js.map +1 -1
- package/dist/server/core.js +6 -0
- package/dist/server/core.js.map +1 -1
- package/dist/server/cors.d.ts +2 -2
- package/dist/server/cors.d.ts.map +1 -1
- package/dist/server/crypto.js.map +1 -1
- package/dist/server/db.js +2 -1
- package/dist/server/db.js.map +1 -1
- package/dist/server/domains/context.js +34 -0
- package/dist/server/domains/context.js.map +1 -0
- package/dist/server/domains/factor.d.ts +3 -2
- package/dist/server/domains/factor.d.ts.map +1 -1
- package/dist/server/domains/factor.js.map +1 -1
- package/dist/server/domains/group.js.map +1 -1
- package/dist/server/domains/invite.js.map +1 -1
- package/dist/server/domains/key.js.map +1 -1
- package/dist/server/domains/member.js.map +1 -1
- package/dist/server/domains/session.js.map +1 -1
- package/dist/server/domains/user.js.map +1 -1
- package/dist/server/env.js +2 -22
- package/dist/server/env.js.map +1 -1
- package/dist/server/events.d.ts +0 -1
- package/dist/server/events.d.ts.map +1 -1
- package/dist/server/events.js +6 -6
- package/dist/server/events.js.map +1 -1
- package/dist/server/http.d.ts +1 -0
- package/dist/server/http.d.ts.map +1 -1
- package/dist/server/http.js +4 -4
- package/dist/server/http.js.map +1 -1
- package/dist/server/identity/claims.js +1 -1
- package/dist/server/identity/convex.d.ts +2 -0
- package/dist/server/identity/convex.d.ts.map +1 -1
- package/dist/server/index.d.ts +2 -3
- package/dist/server/index.js +1 -2
- package/dist/server/limits.js +21 -1
- package/dist/server/limits.js.map +1 -1
- package/dist/server/mutations/credentials/signin.js +6 -3
- package/dist/server/mutations/credentials/signin.js.map +1 -1
- package/dist/server/mutations/invalidate.js +5 -10
- package/dist/server/mutations/invalidate.js.map +1 -1
- package/dist/server/mutations/oauth.js +1 -1
- package/dist/server/mutations/oauth.js.map +1 -1
- package/dist/server/mutations/retrieve.js +4 -1
- package/dist/server/mutations/retrieve.js.map +1 -1
- package/dist/server/mutations/signin.js +2 -2
- package/dist/server/mutations/signin.js.map +1 -1
- package/dist/server/mutations/verify.js +4 -3
- package/dist/server/mutations/verify.js.map +1 -1
- package/dist/server/oauth/factory.js.map +1 -1
- package/dist/server/runtime.d.ts +107 -127
- package/dist/server/runtime.d.ts.map +1 -1
- package/dist/server/runtime.js +43 -28
- package/dist/server/runtime.js.map +1 -1
- package/dist/server/session/lifecycle.d.ts.map +1 -1
- package/dist/server/session/lifecycle.js +18 -3
- package/dist/server/session/lifecycle.js.map +1 -1
- package/dist/server/signin/flow.js +1 -1
- package/dist/server/signin/flow.js.map +1 -1
- package/dist/server/tokens.js +1 -0
- package/dist/server/tokens.js.map +1 -1
- package/dist/server/totp.js +3 -3
- package/dist/server/totp.js.map +1 -1
- package/dist/server/types.d.ts +63 -43
- package/dist/server/types.d.ts.map +1 -1
- package/dist/server/user/account.js +0 -1
- package/dist/server/user/account.js.map +1 -1
- package/dist/server/validators.d.ts +874 -917
- package/dist/server/validators.d.ts.map +1 -1
- package/dist/server/validators.js +33 -32
- package/dist/server/validators.js.map +1 -1
- package/dist/server/webauthn.js +4 -4
- package/dist/server/webauthn.js.map +1 -1
- package/dist/shared/brand.d.ts +3 -7
- package/dist/shared/brand.d.ts.map +1 -1
- package/dist/shared/params.d.ts +78 -0
- package/dist/shared/params.d.ts.map +1 -0
- package/dist/shared/results.d.ts +7 -1
- package/dist/shared/results.d.ts.map +1 -1
- package/dist/svelte/context.svelte.d.ts +23 -12
- package/dist/svelte/context.svelte.d.ts.map +1 -1
- package/dist/svelte/context.svelte.js +20 -13
- package/dist/svelte/index.d.ts +1 -4
- package/dist/svelte/index.d.ts.map +1 -1
- package/dist/svelte/index.js +1 -4
- package/dist/test.d.ts +1105 -611
- package/dist/test.d.ts.map +1 -1
- package/package.json +2 -1
- package/dist/server/env.d.ts +0 -28
- package/dist/server/env.d.ts.map +0 -1
- package/dist/svelte/AuthLoading.svelte +0 -13
- package/dist/svelte/AuthLoading.svelte.d.ts +0 -8
- package/dist/svelte/AuthLoading.svelte.d.ts.map +0 -1
- package/dist/svelte/SignedIn.svelte +0 -14
- package/dist/svelte/SignedIn.svelte.d.ts +0 -8
- package/dist/svelte/SignedIn.svelte.d.ts.map +0 -1
- package/dist/svelte/SignedOut.svelte +0 -13
- package/dist/svelte/SignedOut.svelte.d.ts +0 -8
- package/dist/svelte/SignedOut.svelte.d.ts.map +0 -1
package/dist/test.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { schema_d_exports } from "./component/schema.js";
|
|
2
|
+
import { dataModel_d_exports } from "./component/_generated/dataModel.js";
|
|
1
3
|
import { component_d_exports } from "./component/_generated/component.js";
|
|
2
4
|
import { convex_config_d_exports } from "./component/convex.config.js";
|
|
3
5
|
import { model_d_exports } from "./component/model.js";
|
|
4
|
-
import { schema_d_exports } from "./component/schema.js";
|
|
5
6
|
import { index_d_exports } from "./component/index.js";
|
|
6
|
-
import { dataModel_d_exports } from "./component/_generated/dataModel.js";
|
|
7
7
|
import { session_d_exports } from "./component/session.js";
|
|
8
8
|
import { account_d_exports } from "./component/account.js";
|
|
9
9
|
import { connection_d_exports } from "./component/connection.js";
|
|
@@ -32,6 +32,7 @@ import { member_d_exports } from "./component/group/member.js";
|
|
|
32
32
|
import { http_d_exports } from "./component/http.js";
|
|
33
33
|
import { limits_d_exports } from "./component/limits.js";
|
|
34
34
|
import { maintenance_d_exports } from "./component/maintenance.js";
|
|
35
|
+
import { eventstream_d_exports } from "./component/eventstream.js";
|
|
35
36
|
import { key_d_exports } from "./component/user/key.js";
|
|
36
37
|
import { refresh_d_exports } from "./component/token/refresh.js";
|
|
37
38
|
import { continuation_d_exports } from "./component/token/continuation.js";
|
|
@@ -39,13 +40,16 @@ import { verification_d_exports as verification_d_exports$1 } from "./component/
|
|
|
39
40
|
import { pkce_d_exports } from "./component/token/pkce.js";
|
|
40
41
|
import { user_d_exports } from "./component/user.js";
|
|
41
42
|
import { email_d_exports } from "./component/user/email.js";
|
|
43
|
+
import { context_d_exports } from "./component/context.js";
|
|
44
|
+
import { events_d_exports } from "./component/connection/webhook/events.js";
|
|
42
45
|
import { client_d_exports } from "./component/oauth/client.js";
|
|
43
46
|
import { code_d_exports } from "./component/oauth/code.js";
|
|
44
47
|
import { refresh_d_exports as refresh_d_exports$1 } from "./component/oauth/refresh.js";
|
|
45
48
|
import { api_d_exports } from "./component/_generated/api.js";
|
|
46
|
-
import * as
|
|
49
|
+
import * as convex_values82 from "convex/values";
|
|
47
50
|
import * as convex_server24 from "convex/server";
|
|
48
51
|
import { GenericSchema, SchemaDefinition } from "convex/server";
|
|
52
|
+
import * as _convex_dev_stream_server0 from "@convex-dev/stream/server";
|
|
49
53
|
import { TestConvex } from "convex-test";
|
|
50
54
|
|
|
51
55
|
//#region src/test.d.ts
|
|
@@ -73,189 +77,195 @@ declare function register(t: TestConvex<SchemaDefinition<GenericSchema, boolean>
|
|
|
73
77
|
declare const testHelpers: {
|
|
74
78
|
register: typeof register;
|
|
75
79
|
schema: SchemaDefinition<{
|
|
76
|
-
User: convex_server24.TableDefinition<
|
|
77
|
-
name?: string | undefined;
|
|
80
|
+
User: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
78
81
|
email?: string | undefined;
|
|
79
|
-
|
|
82
|
+
extend?: any;
|
|
80
83
|
phone?: string | undefined;
|
|
84
|
+
name?: string | undefined;
|
|
81
85
|
firstName?: string | undefined;
|
|
82
86
|
lastName?: string | undefined;
|
|
87
|
+
image?: string | undefined;
|
|
83
88
|
emailVerificationTime?: number | undefined;
|
|
84
89
|
phoneVerificationTime?: number | undefined;
|
|
85
90
|
isAnonymous?: boolean | undefined;
|
|
86
|
-
lastActiveGroup?:
|
|
87
|
-
|
|
91
|
+
lastActiveGroup?: convex_values82.GenericId<"Group"> | undefined;
|
|
92
|
+
sessionEpoch?: number | undefined;
|
|
88
93
|
}, {
|
|
89
|
-
name:
|
|
90
|
-
firstName:
|
|
91
|
-
lastName:
|
|
92
|
-
image:
|
|
93
|
-
email:
|
|
94
|
-
emailVerificationTime:
|
|
95
|
-
phone:
|
|
96
|
-
phoneVerificationTime:
|
|
97
|
-
isAnonymous:
|
|
98
|
-
lastActiveGroup:
|
|
99
|
-
|
|
100
|
-
|
|
94
|
+
name: convex_values82.VString<string | undefined, "optional">;
|
|
95
|
+
firstName: convex_values82.VString<string | undefined, "optional">;
|
|
96
|
+
lastName: convex_values82.VString<string | undefined, "optional">;
|
|
97
|
+
image: convex_values82.VString<string | undefined, "optional">;
|
|
98
|
+
email: convex_values82.VString<string | undefined, "optional">;
|
|
99
|
+
emailVerificationTime: convex_values82.VFloat64<number | undefined, "optional">;
|
|
100
|
+
phone: convex_values82.VString<string | undefined, "optional">;
|
|
101
|
+
phoneVerificationTime: convex_values82.VFloat64<number | undefined, "optional">;
|
|
102
|
+
isAnonymous: convex_values82.VBoolean<boolean | undefined, "optional">;
|
|
103
|
+
lastActiveGroup: convex_values82.VId<convex_values82.GenericId<"Group"> | undefined, "optional">;
|
|
104
|
+
sessionEpoch: convex_values82.VFloat64<number | undefined, "optional">;
|
|
105
|
+
extend: convex_values82.VAny<any, "optional", string>;
|
|
106
|
+
}, "required", "email" | "extend" | "phone" | "name" | "firstName" | "lastName" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "sessionEpoch" | `extend.${string}`>, {
|
|
101
107
|
email: ["email", "_creationTime"];
|
|
102
108
|
email_verified: ["email", "emailVerificationTime", "_creationTime"];
|
|
103
109
|
phone: ["phone", "_creationTime"];
|
|
104
110
|
phone_verified: ["phone", "phoneVerificationTime", "_creationTime"];
|
|
105
111
|
}, {}, {}>;
|
|
106
|
-
UserEmail: convex_server24.TableDefinition<
|
|
107
|
-
verificationTime?: number | undefined;
|
|
108
|
-
accountId?: convex_values6.GenericId<"Account"> | undefined;
|
|
112
|
+
UserEmail: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
109
113
|
provider?: string | undefined;
|
|
110
|
-
|
|
114
|
+
accountId?: convex_values82.GenericId<"Account"> | undefined;
|
|
115
|
+
connectionId?: convex_values82.GenericId<"GroupConnection"> | undefined;
|
|
116
|
+
verificationTime?: number | undefined;
|
|
111
117
|
email: string;
|
|
112
|
-
userId:
|
|
118
|
+
userId: convex_values82.GenericId<"User">;
|
|
113
119
|
isPrimary: boolean;
|
|
114
|
-
source: "password" | "oauth" | "
|
|
120
|
+
source: "password" | "oauth" | "scim" | "oidc" | "saml";
|
|
115
121
|
}, {
|
|
116
|
-
userId:
|
|
117
|
-
email:
|
|
118
|
-
verificationTime:
|
|
119
|
-
isPrimary:
|
|
120
|
-
source:
|
|
121
|
-
accountId:
|
|
122
|
-
provider:
|
|
123
|
-
connectionId:
|
|
124
|
-
}, "required", "email" | "
|
|
122
|
+
userId: convex_values82.VId<convex_values82.GenericId<"User">, "required">;
|
|
123
|
+
email: convex_values82.VString<string, "required">;
|
|
124
|
+
verificationTime: convex_values82.VFloat64<number | undefined, "optional">;
|
|
125
|
+
isPrimary: convex_values82.VBoolean<boolean, "required">;
|
|
126
|
+
source: convex_values82.VUnion<"password" | "oauth" | "scim" | "oidc" | "saml", [convex_values82.VLiteral<"password", "required">, convex_values82.VLiteral<"oauth", "required">, convex_values82.VLiteral<"oidc", "required">, convex_values82.VLiteral<"saml", "required">, convex_values82.VLiteral<"scim", "required">], "required", never>;
|
|
127
|
+
accountId: convex_values82.VId<convex_values82.GenericId<"Account"> | undefined, "optional">;
|
|
128
|
+
provider: convex_values82.VString<string | undefined, "optional">;
|
|
129
|
+
connectionId: convex_values82.VId<convex_values82.GenericId<"GroupConnection"> | undefined, "optional">;
|
|
130
|
+
}, "required", "email" | "provider" | "userId" | "accountId" | "connectionId" | "verificationTime" | "isPrimary" | "source">, {
|
|
125
131
|
user_id: ["userId", "_creationTime"];
|
|
126
132
|
user_id_email: ["userId", "email", "_creationTime"];
|
|
127
133
|
connection_id_email: ["connectionId", "email", "_creationTime"];
|
|
128
134
|
}, {}, {}>;
|
|
129
|
-
Session: convex_server24.TableDefinition<
|
|
130
|
-
|
|
135
|
+
Session: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
136
|
+
epoch?: number | undefined;
|
|
137
|
+
userId: convex_values82.GenericId<"User">;
|
|
131
138
|
expirationTime: number;
|
|
132
139
|
}, {
|
|
133
|
-
userId:
|
|
134
|
-
expirationTime:
|
|
135
|
-
|
|
140
|
+
userId: convex_values82.VId<convex_values82.GenericId<"User">, "required">;
|
|
141
|
+
expirationTime: convex_values82.VFloat64<number, "required">;
|
|
142
|
+
epoch: convex_values82.VFloat64<number | undefined, "optional">;
|
|
143
|
+
}, "required", "userId" | "expirationTime" | "epoch">, {
|
|
136
144
|
user_id: ["userId", "_creationTime"];
|
|
145
|
+
user_id_epoch_expiration_time: ["userId", "epoch", "expirationTime", "_creationTime"];
|
|
137
146
|
expiration_time: ["expirationTime", "_creationTime"];
|
|
138
147
|
}, {}, {}>;
|
|
139
|
-
Account: convex_server24.TableDefinition<
|
|
140
|
-
emailVerified?: string | undefined;
|
|
148
|
+
Account: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
141
149
|
extend?: any;
|
|
142
150
|
secret?: string | undefined;
|
|
151
|
+
emailVerified?: string | undefined;
|
|
143
152
|
phoneVerified?: string | undefined;
|
|
144
|
-
userId: convex_values6.GenericId<"User">;
|
|
145
153
|
provider: string;
|
|
154
|
+
userId: convex_values82.GenericId<"User">;
|
|
146
155
|
providerAccountId: string;
|
|
147
156
|
}, {
|
|
148
|
-
userId:
|
|
149
|
-
provider:
|
|
150
|
-
providerAccountId:
|
|
151
|
-
secret:
|
|
152
|
-
emailVerified:
|
|
153
|
-
phoneVerified:
|
|
154
|
-
extend:
|
|
155
|
-
}, "required", "
|
|
157
|
+
userId: convex_values82.VId<convex_values82.GenericId<"User">, "required">;
|
|
158
|
+
provider: convex_values82.VString<string, "required">;
|
|
159
|
+
providerAccountId: convex_values82.VString<string, "required">;
|
|
160
|
+
secret: convex_values82.VString<string | undefined, "optional">;
|
|
161
|
+
emailVerified: convex_values82.VString<string | undefined, "optional">;
|
|
162
|
+
phoneVerified: convex_values82.VString<string | undefined, "optional">;
|
|
163
|
+
extend: convex_values82.VAny<any, "optional", string>;
|
|
164
|
+
}, "required", "extend" | "provider" | "userId" | "providerAccountId" | `extend.${string}` | "secret" | "emailVerified" | "phoneVerified">, {
|
|
156
165
|
user_id_provider: ["userId", "provider", "_creationTime"];
|
|
157
166
|
provider_account_id: ["provider", "providerAccountId", "_creationTime"];
|
|
158
167
|
}, {}, {}>;
|
|
159
|
-
RefreshToken: convex_server24.TableDefinition<
|
|
168
|
+
RefreshToken: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
160
169
|
firstUsedTime?: number | undefined;
|
|
161
|
-
parentRefreshTokenId?:
|
|
170
|
+
parentRefreshTokenId?: convex_values82.GenericId<"RefreshToken"> | undefined;
|
|
171
|
+
sessionId: convex_values82.GenericId<"Session">;
|
|
162
172
|
expirationTime: number;
|
|
163
|
-
sessionId: convex_values6.GenericId<"Session">;
|
|
164
173
|
}, {
|
|
165
|
-
sessionId:
|
|
166
|
-
expirationTime:
|
|
167
|
-
firstUsedTime:
|
|
168
|
-
parentRefreshTokenId:
|
|
169
|
-
}, "required", "
|
|
174
|
+
sessionId: convex_values82.VId<convex_values82.GenericId<"Session">, "required">;
|
|
175
|
+
expirationTime: convex_values82.VFloat64<number, "required">;
|
|
176
|
+
firstUsedTime: convex_values82.VFloat64<number | undefined, "optional">;
|
|
177
|
+
parentRefreshTokenId: convex_values82.VId<convex_values82.GenericId<"RefreshToken"> | undefined, "optional">;
|
|
178
|
+
}, "required", "sessionId" | "expirationTime" | "firstUsedTime" | "parentRefreshTokenId">, {
|
|
170
179
|
session_id: ["sessionId", "_creationTime"];
|
|
171
180
|
session_id_first_used: ["sessionId", "firstUsedTime", "_creationTime"];
|
|
172
181
|
session_id_parent_refresh_token_id: ["sessionId", "parentRefreshTokenId", "_creationTime"];
|
|
173
182
|
expiration_time: ["expirationTime", "_creationTime"];
|
|
174
183
|
}, {}, {}>;
|
|
175
|
-
VerificationCode: convex_server24.TableDefinition<
|
|
184
|
+
VerificationCode: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
176
185
|
emailVerified?: string | undefined;
|
|
177
186
|
phoneVerified?: string | undefined;
|
|
178
187
|
verifier?: string | undefined;
|
|
179
|
-
|
|
188
|
+
code: string;
|
|
180
189
|
provider: string;
|
|
190
|
+
accountId: convex_values82.GenericId<"Account">;
|
|
181
191
|
expirationTime: number;
|
|
182
|
-
code: string;
|
|
183
192
|
}, {
|
|
184
|
-
accountId:
|
|
185
|
-
provider:
|
|
186
|
-
code:
|
|
187
|
-
expirationTime:
|
|
188
|
-
verifier:
|
|
189
|
-
emailVerified:
|
|
190
|
-
phoneVerified:
|
|
191
|
-
}, "required", "
|
|
193
|
+
accountId: convex_values82.VId<convex_values82.GenericId<"Account">, "required">;
|
|
194
|
+
provider: convex_values82.VString<string, "required">;
|
|
195
|
+
code: convex_values82.VString<string, "required">;
|
|
196
|
+
expirationTime: convex_values82.VFloat64<number, "required">;
|
|
197
|
+
verifier: convex_values82.VString<string | undefined, "optional">;
|
|
198
|
+
emailVerified: convex_values82.VString<string | undefined, "optional">;
|
|
199
|
+
phoneVerified: convex_values82.VString<string | undefined, "optional">;
|
|
200
|
+
}, "required", "code" | "provider" | "accountId" | "expirationTime" | "emailVerified" | "phoneVerified" | "verifier">, {
|
|
192
201
|
account_id: ["accountId", "_creationTime"];
|
|
193
202
|
code: ["code", "_creationTime"];
|
|
194
203
|
expiration_time: ["expirationTime", "_creationTime"];
|
|
195
204
|
}, {}, {}>;
|
|
196
|
-
AuthVerifier: convex_server24.TableDefinition<
|
|
205
|
+
AuthVerifier: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
206
|
+
sessionId?: convex_values82.GenericId<"Session"> | undefined;
|
|
197
207
|
expirationTime?: number | undefined;
|
|
198
|
-
|
|
199
|
-
continuationId?: convex_values6.GenericId<"AuthContinuation"> | undefined;
|
|
208
|
+
continuationId?: convex_values82.GenericId<"AuthContinuation"> | undefined;
|
|
200
209
|
signature?: string | undefined;
|
|
201
210
|
}, {
|
|
202
|
-
sessionId:
|
|
203
|
-
continuationId:
|
|
204
|
-
signature:
|
|
205
|
-
expirationTime:
|
|
206
|
-
}, "required", "
|
|
211
|
+
sessionId: convex_values82.VId<convex_values82.GenericId<"Session"> | undefined, "optional">;
|
|
212
|
+
continuationId: convex_values82.VId<convex_values82.GenericId<"AuthContinuation"> | undefined, "optional">;
|
|
213
|
+
signature: convex_values82.VString<string | undefined, "optional">;
|
|
214
|
+
expirationTime: convex_values82.VFloat64<number | undefined, "optional">;
|
|
215
|
+
}, "required", "sessionId" | "expirationTime" | "continuationId" | "signature">, {
|
|
207
216
|
signature: ["signature", "_creationTime"];
|
|
208
217
|
expiration_time: ["expirationTime", "_creationTime"];
|
|
209
218
|
}, {}, {}>;
|
|
210
|
-
AuthContinuation: convex_server24.TableDefinition<
|
|
211
|
-
userId: convex_values6.GenericId<"User">;
|
|
219
|
+
AuthContinuation: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
212
220
|
provider: string;
|
|
213
|
-
|
|
221
|
+
userId: convex_values82.GenericId<"User">;
|
|
214
222
|
operation: "rotate";
|
|
223
|
+
expirationTime: number;
|
|
215
224
|
}, {
|
|
216
|
-
userId:
|
|
217
|
-
provider:
|
|
218
|
-
operation:
|
|
219
|
-
expirationTime:
|
|
220
|
-
}, "required", "
|
|
225
|
+
userId: convex_values82.VId<convex_values82.GenericId<"User">, "required">;
|
|
226
|
+
provider: convex_values82.VString<string, "required">;
|
|
227
|
+
operation: convex_values82.VLiteral<"rotate", "required">;
|
|
228
|
+
expirationTime: convex_values82.VFloat64<number, "required">;
|
|
229
|
+
}, "required", "provider" | "userId" | "operation" | "expirationTime">, {
|
|
221
230
|
expiration_time: ["expirationTime", "_creationTime"];
|
|
231
|
+
user_id_provider_operation_expiration_time: ["userId", "provider", "operation", "expirationTime", "_creationTime"];
|
|
222
232
|
}, {}, {}>;
|
|
223
|
-
PasswordReset: convex_server24.TableDefinition<
|
|
224
|
-
accountId:
|
|
233
|
+
PasswordReset: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
234
|
+
accountId: convex_values82.GenericId<"Account">;
|
|
225
235
|
secret: string;
|
|
226
|
-
continuationId:
|
|
236
|
+
continuationId: convex_values82.GenericId<"AuthContinuation">;
|
|
227
237
|
}, {
|
|
228
|
-
continuationId:
|
|
229
|
-
accountId:
|
|
230
|
-
secret:
|
|
238
|
+
continuationId: convex_values82.VId<convex_values82.GenericId<"AuthContinuation">, "required">;
|
|
239
|
+
accountId: convex_values82.VId<convex_values82.GenericId<"Account">, "required">;
|
|
240
|
+
secret: convex_values82.VString<string, "required">;
|
|
231
241
|
}, "required", "accountId" | "secret" | "continuationId">, {
|
|
232
242
|
continuation_id: ["continuationId", "_creationTime"];
|
|
233
243
|
}, {}, {}>;
|
|
234
|
-
SignInLimit: convex_server24.TableDefinition<
|
|
244
|
+
SignInLimit: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
235
245
|
identifier: string;
|
|
236
246
|
tokens: number;
|
|
237
247
|
updatedAt: number;
|
|
238
248
|
}, {
|
|
239
|
-
identifier:
|
|
240
|
-
tokens:
|
|
241
|
-
updatedAt:
|
|
249
|
+
identifier: convex_values82.VString<string, "required">;
|
|
250
|
+
tokens: convex_values82.VFloat64<number, "required">;
|
|
251
|
+
updatedAt: convex_values82.VFloat64<number, "required">;
|
|
242
252
|
}, "required", "identifier" | "tokens" | "updatedAt">, {
|
|
243
253
|
identifier: ["identifier", "_creationTime"];
|
|
244
254
|
updated_at: ["updatedAt", "_creationTime"];
|
|
245
255
|
}, {}, {}>;
|
|
246
|
-
Passkey: convex_server24.TableDefinition<
|
|
256
|
+
Passkey: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
247
257
|
name?: string | undefined;
|
|
248
258
|
transports?: string[] | undefined;
|
|
249
259
|
attestation?: {
|
|
250
260
|
metadataDescription?: string | undefined;
|
|
261
|
+
verifiedAt: number;
|
|
262
|
+
status: "trusted";
|
|
251
263
|
verifier: string;
|
|
252
264
|
aaguid: string;
|
|
253
265
|
format: string;
|
|
254
|
-
verifiedAt: number;
|
|
255
|
-
status: "trusted";
|
|
256
266
|
} | undefined;
|
|
257
267
|
lastUsedAt?: number | undefined;
|
|
258
|
-
userId:
|
|
268
|
+
userId: convex_values82.GenericId<"User">;
|
|
259
269
|
credentialId: string;
|
|
260
270
|
publicKey: ArrayBuffer;
|
|
261
271
|
algorithm: number;
|
|
@@ -264,87 +274,87 @@ declare const testHelpers: {
|
|
|
264
274
|
backedUp: boolean;
|
|
265
275
|
createdAt: number;
|
|
266
276
|
}, {
|
|
267
|
-
userId:
|
|
268
|
-
credentialId:
|
|
269
|
-
publicKey:
|
|
270
|
-
algorithm:
|
|
271
|
-
counter:
|
|
272
|
-
transports:
|
|
273
|
-
deviceType:
|
|
274
|
-
backedUp:
|
|
275
|
-
name:
|
|
276
|
-
attestation:
|
|
277
|
+
userId: convex_values82.VId<convex_values82.GenericId<"User">, "required">;
|
|
278
|
+
credentialId: convex_values82.VString<string, "required">;
|
|
279
|
+
publicKey: convex_values82.VBytes<ArrayBuffer, "required">;
|
|
280
|
+
algorithm: convex_values82.VFloat64<number, "required">;
|
|
281
|
+
counter: convex_values82.VFloat64<number, "required">;
|
|
282
|
+
transports: convex_values82.VArray<string[] | undefined, convex_values82.VString<string, "required">, "optional">;
|
|
283
|
+
deviceType: convex_values82.VString<string, "required">;
|
|
284
|
+
backedUp: convex_values82.VBoolean<boolean, "required">;
|
|
285
|
+
name: convex_values82.VString<string | undefined, "optional">;
|
|
286
|
+
attestation: convex_values82.VObject<{
|
|
277
287
|
metadataDescription?: string | undefined;
|
|
288
|
+
verifiedAt: number;
|
|
289
|
+
status: "trusted";
|
|
278
290
|
verifier: string;
|
|
279
291
|
aaguid: string;
|
|
280
292
|
format: string;
|
|
281
|
-
verifiedAt: number;
|
|
282
|
-
status: "trusted";
|
|
283
293
|
} | undefined, {
|
|
284
|
-
verifier:
|
|
285
|
-
aaguid:
|
|
286
|
-
format:
|
|
287
|
-
metadataDescription:
|
|
288
|
-
verifiedAt:
|
|
289
|
-
status:
|
|
290
|
-
}, "optional", "
|
|
291
|
-
createdAt:
|
|
292
|
-
lastUsedAt:
|
|
293
|
-
}, "required", "
|
|
294
|
+
verifier: convex_values82.VString<string, "required">;
|
|
295
|
+
aaguid: convex_values82.VString<string, "required">;
|
|
296
|
+
format: convex_values82.VString<string, "required">;
|
|
297
|
+
metadataDescription: convex_values82.VString<string | undefined, "optional">;
|
|
298
|
+
verifiedAt: convex_values82.VFloat64<number, "required">;
|
|
299
|
+
status: convex_values82.VLiteral<"trusted", "required">;
|
|
300
|
+
}, "optional", "verifiedAt" | "status" | "verifier" | "aaguid" | "format" | "metadataDescription">;
|
|
301
|
+
createdAt: convex_values82.VFloat64<number, "required">;
|
|
302
|
+
lastUsedAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
303
|
+
}, "required", "userId" | "credentialId" | "name" | "publicKey" | "algorithm" | "counter" | "transports" | "deviceType" | "backedUp" | "attestation" | "createdAt" | "lastUsedAt" | "attestation.verifiedAt" | "attestation.status" | "attestation.verifier" | "attestation.aaguid" | "attestation.format" | "attestation.metadataDescription">, {
|
|
294
304
|
user_id: ["userId", "_creationTime"];
|
|
295
305
|
credential_id: ["credentialId", "_creationTime"];
|
|
296
306
|
}, {}, {}>;
|
|
297
|
-
TotpFactor: convex_server24.TableDefinition<
|
|
307
|
+
TotpFactor: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
298
308
|
name?: string | undefined;
|
|
299
309
|
lastUsedAt?: number | undefined;
|
|
300
|
-
userId:
|
|
310
|
+
userId: convex_values82.GenericId<"User">;
|
|
301
311
|
secret: ArrayBuffer;
|
|
302
312
|
createdAt: number;
|
|
303
313
|
digits: number;
|
|
304
314
|
period: number;
|
|
305
315
|
verified: boolean;
|
|
306
316
|
}, {
|
|
307
|
-
userId:
|
|
308
|
-
secret:
|
|
309
|
-
digits:
|
|
310
|
-
period:
|
|
311
|
-
verified:
|
|
312
|
-
name:
|
|
313
|
-
createdAt:
|
|
314
|
-
lastUsedAt:
|
|
315
|
-
}, "required", "
|
|
317
|
+
userId: convex_values82.VId<convex_values82.GenericId<"User">, "required">;
|
|
318
|
+
secret: convex_values82.VBytes<ArrayBuffer, "required">;
|
|
319
|
+
digits: convex_values82.VFloat64<number, "required">;
|
|
320
|
+
period: convex_values82.VFloat64<number, "required">;
|
|
321
|
+
verified: convex_values82.VBoolean<boolean, "required">;
|
|
322
|
+
name: convex_values82.VString<string | undefined, "optional">;
|
|
323
|
+
createdAt: convex_values82.VFloat64<number, "required">;
|
|
324
|
+
lastUsedAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
325
|
+
}, "required", "userId" | "name" | "secret" | "createdAt" | "lastUsedAt" | "digits" | "period" | "verified">, {
|
|
316
326
|
user_id: ["userId", "_creationTime"];
|
|
317
327
|
user_id_verified: ["userId", "verified", "_creationTime"];
|
|
318
328
|
}, {}, {}>;
|
|
319
|
-
DeviceCode: convex_server24.TableDefinition<
|
|
320
|
-
userId?:
|
|
321
|
-
sessionId?:
|
|
329
|
+
DeviceCode: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
330
|
+
userId?: convex_values82.GenericId<"User"> | undefined;
|
|
331
|
+
sessionId?: convex_values82.GenericId<"Session"> | undefined;
|
|
322
332
|
lastPolledAt?: number | undefined;
|
|
333
|
+
expiresAt: number;
|
|
323
334
|
status: "pending" | "authorized" | "denied";
|
|
324
335
|
deviceCodeHash: string;
|
|
325
336
|
userCode: string;
|
|
326
|
-
expiresAt: number;
|
|
327
337
|
interval: number;
|
|
328
338
|
}, {
|
|
329
|
-
deviceCodeHash:
|
|
330
|
-
userCode:
|
|
331
|
-
expiresAt:
|
|
332
|
-
interval:
|
|
333
|
-
status:
|
|
334
|
-
userId:
|
|
335
|
-
sessionId:
|
|
336
|
-
lastPolledAt:
|
|
337
|
-
}, "required", "userId" | "sessionId" | "
|
|
339
|
+
deviceCodeHash: convex_values82.VString<string, "required">;
|
|
340
|
+
userCode: convex_values82.VString<string, "required">;
|
|
341
|
+
expiresAt: convex_values82.VFloat64<number, "required">;
|
|
342
|
+
interval: convex_values82.VFloat64<number, "required">;
|
|
343
|
+
status: convex_values82.VUnion<"pending" | "authorized" | "denied", [convex_values82.VLiteral<"pending", "required">, convex_values82.VLiteral<"authorized", "required">, convex_values82.VLiteral<"denied", "required">], "required", never>;
|
|
344
|
+
userId: convex_values82.VId<convex_values82.GenericId<"User"> | undefined, "optional">;
|
|
345
|
+
sessionId: convex_values82.VId<convex_values82.GenericId<"Session"> | undefined, "optional">;
|
|
346
|
+
lastPolledAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
347
|
+
}, "required", "userId" | "sessionId" | "expiresAt" | "status" | "deviceCodeHash" | "userCode" | "interval" | "lastPolledAt">, {
|
|
338
348
|
device_code_hash: ["deviceCodeHash", "_creationTime"];
|
|
339
349
|
user_code_status: ["userCode", "status", "_creationTime"];
|
|
340
350
|
expires_at: ["expiresAt", "_creationTime"];
|
|
341
351
|
}, {}, {}>;
|
|
342
|
-
Group: convex_server24.TableDefinition<
|
|
343
|
-
extend?: any;
|
|
352
|
+
Group: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
344
353
|
type?: string | undefined;
|
|
354
|
+
extend?: any;
|
|
345
355
|
slug?: string | undefined;
|
|
346
|
-
parentGroupId?:
|
|
347
|
-
rootGroupId?:
|
|
356
|
+
parentGroupId?: convex_values82.GenericId<"Group"> | undefined;
|
|
357
|
+
rootGroupId?: convex_values82.GenericId<"Group"> | undefined;
|
|
348
358
|
isRoot?: boolean | undefined;
|
|
349
359
|
policy?: {
|
|
350
360
|
extend?: any;
|
|
@@ -360,10 +370,7 @@ declare const testHelpers: {
|
|
|
360
370
|
createOnSignIn: boolean;
|
|
361
371
|
updateProfileOnLogin: "never" | "missing" | "always";
|
|
362
372
|
updateProfileFromScim: "never" | "missing" | "always";
|
|
363
|
-
authority: "scim" | "app"
|
|
364
|
-
};
|
|
365
|
-
scimReuse: {
|
|
366
|
-
user: "none" | "externalId";
|
|
373
|
+
authority: "scim" | "app";
|
|
367
374
|
};
|
|
368
375
|
jit: {
|
|
369
376
|
defaultRole?: string | undefined;
|
|
@@ -387,13 +394,13 @@ declare const testHelpers: {
|
|
|
387
394
|
} | undefined;
|
|
388
395
|
name: string;
|
|
389
396
|
}, {
|
|
390
|
-
name:
|
|
391
|
-
slug:
|
|
392
|
-
type:
|
|
393
|
-
parentGroupId:
|
|
394
|
-
rootGroupId:
|
|
395
|
-
isRoot:
|
|
396
|
-
policy:
|
|
397
|
+
name: convex_values82.VString<string, "required">;
|
|
398
|
+
slug: convex_values82.VString<string | undefined, "optional">;
|
|
399
|
+
type: convex_values82.VString<string | undefined, "optional">;
|
|
400
|
+
parentGroupId: convex_values82.VId<convex_values82.GenericId<"Group"> | undefined, "optional">;
|
|
401
|
+
rootGroupId: convex_values82.VId<convex_values82.GenericId<"Group"> | undefined, "optional">;
|
|
402
|
+
isRoot: convex_values82.VBoolean<boolean | undefined, "optional">;
|
|
403
|
+
policy: convex_values82.VObject<{
|
|
397
404
|
extend?: any;
|
|
398
405
|
version: 1;
|
|
399
406
|
identity: {
|
|
@@ -407,10 +414,7 @@ declare const testHelpers: {
|
|
|
407
414
|
createOnSignIn: boolean;
|
|
408
415
|
updateProfileOnLogin: "never" | "missing" | "always";
|
|
409
416
|
updateProfileFromScim: "never" | "missing" | "always";
|
|
410
|
-
authority: "scim" | "app"
|
|
411
|
-
};
|
|
412
|
-
scimReuse: {
|
|
413
|
-
user: "none" | "externalId";
|
|
417
|
+
authority: "scim" | "app";
|
|
414
418
|
};
|
|
415
419
|
jit: {
|
|
416
420
|
defaultRole?: string | undefined;
|
|
@@ -432,30 +436,27 @@ declare const testHelpers: {
|
|
|
432
436
|
};
|
|
433
437
|
};
|
|
434
438
|
} | undefined, {
|
|
435
|
-
version:
|
|
436
|
-
identity:
|
|
439
|
+
version: convex_values82.VLiteral<1, "required">;
|
|
440
|
+
identity: convex_values82.VObject<{
|
|
437
441
|
accountLinking: {
|
|
438
442
|
oidc: "verifiedEmail" | "none" | "sameConnection";
|
|
439
443
|
saml: "verifiedEmail" | "none" | "sameConnection";
|
|
440
444
|
};
|
|
441
445
|
}, {
|
|
442
|
-
accountLinking:
|
|
446
|
+
accountLinking: convex_values82.VObject<{
|
|
443
447
|
oidc: "verifiedEmail" | "none" | "sameConnection";
|
|
444
448
|
saml: "verifiedEmail" | "none" | "sameConnection";
|
|
445
449
|
}, {
|
|
446
|
-
oidc:
|
|
447
|
-
saml:
|
|
450
|
+
oidc: convex_values82.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values82.VLiteral<"verifiedEmail", "required">, convex_values82.VLiteral<"none", "required">, convex_values82.VLiteral<"sameConnection", "required">], "required", never>;
|
|
451
|
+
saml: convex_values82.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values82.VLiteral<"verifiedEmail", "required">, convex_values82.VLiteral<"none", "required">, convex_values82.VLiteral<"sameConnection", "required">], "required", never>;
|
|
448
452
|
}, "required", "oidc" | "saml">;
|
|
449
453
|
}, "required", "accountLinking" | "accountLinking.oidc" | "accountLinking.saml">;
|
|
450
|
-
provisioning:
|
|
454
|
+
provisioning: convex_values82.VObject<{
|
|
451
455
|
user: {
|
|
452
456
|
createOnSignIn: boolean;
|
|
453
457
|
updateProfileOnLogin: "never" | "missing" | "always";
|
|
454
458
|
updateProfileFromScim: "never" | "missing" | "always";
|
|
455
|
-
authority: "scim" | "app"
|
|
456
|
-
};
|
|
457
|
-
scimReuse: {
|
|
458
|
-
user: "none" | "externalId";
|
|
459
|
+
authority: "scim" | "app";
|
|
459
460
|
};
|
|
460
461
|
jit: {
|
|
461
462
|
defaultRole?: string | undefined;
|
|
@@ -476,59 +477,54 @@ declare const testHelpers: {
|
|
|
476
477
|
mode: "map" | "ignore";
|
|
477
478
|
};
|
|
478
479
|
}, {
|
|
479
|
-
user:
|
|
480
|
+
user: convex_values82.VObject<{
|
|
480
481
|
createOnSignIn: boolean;
|
|
481
482
|
updateProfileOnLogin: "never" | "missing" | "always";
|
|
482
483
|
updateProfileFromScim: "never" | "missing" | "always";
|
|
483
|
-
authority: "scim" | "app"
|
|
484
|
+
authority: "scim" | "app";
|
|
484
485
|
}, {
|
|
485
|
-
createOnSignIn:
|
|
486
|
-
updateProfileOnLogin:
|
|
487
|
-
updateProfileFromScim:
|
|
488
|
-
authority:
|
|
486
|
+
createOnSignIn: convex_values82.VBoolean<boolean, "required">;
|
|
487
|
+
updateProfileOnLogin: convex_values82.VUnion<"never" | "missing" | "always", [convex_values82.VLiteral<"never", "required">, convex_values82.VLiteral<"missing", "required">, convex_values82.VLiteral<"always", "required">], "required", never>;
|
|
488
|
+
updateProfileFromScim: convex_values82.VUnion<"never" | "missing" | "always", [convex_values82.VLiteral<"never", "required">, convex_values82.VLiteral<"missing", "required">, convex_values82.VLiteral<"always", "required">], "required", never>;
|
|
489
|
+
authority: convex_values82.VUnion<"scim" | "app", [convex_values82.VLiteral<"app", "required">, convex_values82.VLiteral<"scim", "required">], "required", never>;
|
|
489
490
|
}, "required", "createOnSignIn" | "updateProfileOnLogin" | "updateProfileFromScim" | "authority">;
|
|
490
|
-
|
|
491
|
-
user: "none" | "externalId";
|
|
492
|
-
}, {
|
|
493
|
-
user: convex_values6.VUnion<"none" | "externalId", [convex_values6.VLiteral<"externalId", "required">, convex_values6.VLiteral<"none", "required">], "required", never>;
|
|
494
|
-
}, "required", "user">;
|
|
495
|
-
jit: convex_values6.VObject<{
|
|
491
|
+
jit: convex_values82.VObject<{
|
|
496
492
|
defaultRole?: string | undefined;
|
|
497
493
|
defaultRoleIds?: string[] | undefined;
|
|
498
494
|
mode: "off" | "createUser" | "createUserAndMembership";
|
|
499
495
|
}, {
|
|
500
|
-
mode:
|
|
501
|
-
defaultRole:
|
|
502
|
-
defaultRoleIds:
|
|
496
|
+
mode: convex_values82.VUnion<"off" | "createUser" | "createUserAndMembership", [convex_values82.VLiteral<"off", "required">, convex_values82.VLiteral<"createUser", "required">, convex_values82.VLiteral<"createUserAndMembership", "required">], "required", never>;
|
|
497
|
+
defaultRole: convex_values82.VString<string | undefined, "optional">;
|
|
498
|
+
defaultRoleIds: convex_values82.VArray<string[] | undefined, convex_values82.VString<string, "required">, "optional">;
|
|
503
499
|
}, "required", "mode" | "defaultRole" | "defaultRoleIds">;
|
|
504
|
-
deprovision:
|
|
500
|
+
deprovision: convex_values82.VObject<{
|
|
505
501
|
mode: "soft" | "hard";
|
|
506
502
|
}, {
|
|
507
|
-
mode:
|
|
503
|
+
mode: convex_values82.VUnion<"soft" | "hard", [convex_values82.VLiteral<"soft", "required">, convex_values82.VLiteral<"hard", "required">], "required", never>;
|
|
508
504
|
}, "required", "mode">;
|
|
509
|
-
groups:
|
|
505
|
+
groups: convex_values82.VObject<{
|
|
510
506
|
mapping?: Record<string, string[]> | undefined;
|
|
511
507
|
source: "protocol";
|
|
512
508
|
mode: "ignore" | "sync";
|
|
513
509
|
}, {
|
|
514
|
-
mode:
|
|
515
|
-
source:
|
|
516
|
-
mapping:
|
|
510
|
+
mode: convex_values82.VUnion<"ignore" | "sync", [convex_values82.VLiteral<"ignore", "required">, convex_values82.VLiteral<"sync", "required">], "required", never>;
|
|
511
|
+
source: convex_values82.VLiteral<"protocol", "required">;
|
|
512
|
+
mapping: convex_values82.VRecord<Record<string, string[]> | undefined, convex_values82.VString<string, "required">, convex_values82.VArray<string[], convex_values82.VString<string, "required">, "required">, "optional", string>;
|
|
517
513
|
}, "required", "source" | "mode" | "mapping" | `mapping.${string}`>;
|
|
518
|
-
roles:
|
|
514
|
+
roles: convex_values82.VObject<{
|
|
519
515
|
mapping?: Record<string, string[]> | undefined;
|
|
520
516
|
source: "protocol";
|
|
521
517
|
mode: "map" | "ignore";
|
|
522
518
|
}, {
|
|
523
|
-
mode:
|
|
524
|
-
source:
|
|
525
|
-
mapping:
|
|
519
|
+
mode: convex_values82.VUnion<"map" | "ignore", [convex_values82.VLiteral<"ignore", "required">, convex_values82.VLiteral<"map", "required">], "required", never>;
|
|
520
|
+
source: convex_values82.VLiteral<"protocol", "required">;
|
|
521
|
+
mapping: convex_values82.VRecord<Record<string, string[]> | undefined, convex_values82.VString<string, "required">, convex_values82.VArray<string[], convex_values82.VString<string, "required">, "required">, "optional", string>;
|
|
526
522
|
}, "required", "source" | "mode" | "mapping" | `mapping.${string}`>;
|
|
527
|
-
}, "required", "user" | "
|
|
528
|
-
extend:
|
|
529
|
-
}, "optional", "extend" | `extend.${string}` | "
|
|
530
|
-
extend:
|
|
531
|
-
}, "required", "
|
|
523
|
+
}, "required", "user" | "jit" | "deprovision" | "groups" | "roles" | "user.createOnSignIn" | "user.updateProfileOnLogin" | "user.updateProfileFromScim" | "user.authority" | "jit.mode" | "jit.defaultRole" | "jit.defaultRoleIds" | "deprovision.mode" | "groups.source" | "groups.mode" | "groups.mapping" | `groups.mapping.${string}` | "roles.source" | "roles.mode" | "roles.mapping" | `roles.mapping.${string}`>;
|
|
524
|
+
extend: convex_values82.VAny<any, "optional", string>;
|
|
525
|
+
}, "optional", "extend" | "version" | `extend.${string}` | "identity" | "provisioning" | "identity.accountLinking" | "identity.accountLinking.oidc" | "identity.accountLinking.saml" | "provisioning.user" | "provisioning.jit" | "provisioning.deprovision" | "provisioning.groups" | "provisioning.roles" | "provisioning.user.createOnSignIn" | "provisioning.user.updateProfileOnLogin" | "provisioning.user.updateProfileFromScim" | "provisioning.user.authority" | "provisioning.jit.mode" | "provisioning.jit.defaultRole" | "provisioning.jit.defaultRoleIds" | "provisioning.deprovision.mode" | "provisioning.groups.source" | "provisioning.groups.mode" | "provisioning.groups.mapping" | `provisioning.groups.mapping.${string}` | "provisioning.roles.source" | "provisioning.roles.mode" | "provisioning.roles.mapping" | `provisioning.roles.mapping.${string}`>;
|
|
526
|
+
extend: convex_values82.VAny<any, "optional", string>;
|
|
527
|
+
}, "required", "type" | "extend" | "name" | `extend.${string}` | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "policy" | "policy.extend" | "policy.version" | `policy.extend.${string}` | "policy.identity" | "policy.provisioning" | "policy.identity.accountLinking" | "policy.identity.accountLinking.oidc" | "policy.identity.accountLinking.saml" | "policy.provisioning.user" | "policy.provisioning.jit" | "policy.provisioning.deprovision" | "policy.provisioning.groups" | "policy.provisioning.roles" | "policy.provisioning.user.createOnSignIn" | "policy.provisioning.user.updateProfileOnLogin" | "policy.provisioning.user.updateProfileFromScim" | "policy.provisioning.user.authority" | "policy.provisioning.jit.mode" | "policy.provisioning.jit.defaultRole" | "policy.provisioning.jit.defaultRoleIds" | "policy.provisioning.deprovision.mode" | "policy.provisioning.groups.source" | "policy.provisioning.groups.mode" | "policy.provisioning.groups.mapping" | `policy.provisioning.groups.mapping.${string}` | "policy.provisioning.roles.source" | "policy.provisioning.roles.mode" | "policy.provisioning.roles.mapping" | `policy.provisioning.roles.mapping.${string}`>, {
|
|
532
528
|
name: ["name", "_creationTime"];
|
|
533
529
|
slug: ["slug", "_creationTime"];
|
|
534
530
|
parent_group_id: ["parentGroupId", "_creationTime"];
|
|
@@ -540,66 +536,66 @@ declare const testHelpers: {
|
|
|
540
536
|
type: ["type", "_creationTime"];
|
|
541
537
|
type_parent_group_id: ["type", "parentGroupId", "_creationTime"];
|
|
542
538
|
}, {}, {}>;
|
|
543
|
-
GroupHierarchyOperation: convex_server24.TableDefinition<
|
|
544
|
-
newRootGroupId?:
|
|
545
|
-
expectedParentGroupId?:
|
|
546
|
-
groupId: convex_values6.GenericId<"Group">;
|
|
547
|
-
phase: "planning" | "applying" | "cleaning";
|
|
539
|
+
GroupHierarchyOperation: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
540
|
+
newRootGroupId?: convex_values82.GenericId<"Group"> | undefined;
|
|
541
|
+
expectedParentGroupId?: convex_values82.GenericId<"Group"> | undefined;
|
|
548
542
|
kind: "remove" | "restamp";
|
|
543
|
+
groupId: convex_values82.GenericId<"Group">;
|
|
544
|
+
phase: "planning" | "applying" | "cleaning";
|
|
549
545
|
}, {
|
|
550
|
-
groupId:
|
|
551
|
-
kind:
|
|
552
|
-
phase:
|
|
553
|
-
newRootGroupId:
|
|
554
|
-
expectedParentGroupId:
|
|
555
|
-
}, "required", "
|
|
546
|
+
groupId: convex_values82.VId<convex_values82.GenericId<"Group">, "required">;
|
|
547
|
+
kind: convex_values82.VUnion<"remove" | "restamp", [convex_values82.VLiteral<"remove", "required">, convex_values82.VLiteral<"restamp", "required">], "required", never>;
|
|
548
|
+
phase: convex_values82.VUnion<"planning" | "applying" | "cleaning", [convex_values82.VLiteral<"planning", "required">, convex_values82.VLiteral<"applying", "required">, convex_values82.VLiteral<"cleaning", "required">], "required", never>;
|
|
549
|
+
newRootGroupId: convex_values82.VId<convex_values82.GenericId<"Group"> | undefined, "optional">;
|
|
550
|
+
expectedParentGroupId: convex_values82.VId<convex_values82.GenericId<"Group"> | undefined, "optional">;
|
|
551
|
+
}, "required", "kind" | "groupId" | "phase" | "newRootGroupId" | "expectedParentGroupId">, {
|
|
556
552
|
group_id_kind: ["groupId", "kind", "_creationTime"];
|
|
557
553
|
group_id_kind_parent_root: ["groupId", "kind", "expectedParentGroupId", "newRootGroupId", "_creationTime"];
|
|
558
554
|
}, {}, {}>;
|
|
559
|
-
GroupHierarchyWork: convex_server24.TableDefinition<
|
|
560
|
-
expectedParentGroupId?:
|
|
561
|
-
parentWorkId?:
|
|
555
|
+
GroupHierarchyWork: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
556
|
+
expectedParentGroupId?: convex_values82.GenericId<"Group"> | undefined;
|
|
557
|
+
parentWorkId?: convex_values82.GenericId<"GroupHierarchyWork"> | undefined;
|
|
562
558
|
eligible?: boolean | undefined;
|
|
563
559
|
scanCursor?: string | undefined;
|
|
564
|
-
groupId: convex_values6.GenericId<"Group">;
|
|
565
560
|
kind: "remove" | "restamp";
|
|
566
|
-
|
|
561
|
+
groupId: convex_values82.GenericId<"Group">;
|
|
562
|
+
operationId: convex_values82.GenericId<"GroupHierarchyOperation">;
|
|
567
563
|
depth: number;
|
|
568
564
|
planned: boolean;
|
|
569
565
|
applied: boolean;
|
|
570
566
|
}, {
|
|
571
|
-
operationId:
|
|
572
|
-
kind:
|
|
573
|
-
groupId:
|
|
574
|
-
parentWorkId:
|
|
575
|
-
expectedParentGroupId:
|
|
576
|
-
depth:
|
|
577
|
-
planned:
|
|
578
|
-
applied:
|
|
579
|
-
eligible:
|
|
580
|
-
scanCursor:
|
|
581
|
-
}, "required", "
|
|
567
|
+
operationId: convex_values82.VId<convex_values82.GenericId<"GroupHierarchyOperation">, "required">;
|
|
568
|
+
kind: convex_values82.VUnion<"remove" | "restamp", [convex_values82.VLiteral<"remove", "required">, convex_values82.VLiteral<"restamp", "required">], "required", never>;
|
|
569
|
+
groupId: convex_values82.VId<convex_values82.GenericId<"Group">, "required">;
|
|
570
|
+
parentWorkId: convex_values82.VId<convex_values82.GenericId<"GroupHierarchyWork"> | undefined, "optional">;
|
|
571
|
+
expectedParentGroupId: convex_values82.VId<convex_values82.GenericId<"Group"> | undefined, "optional">;
|
|
572
|
+
depth: convex_values82.VFloat64<number, "required">;
|
|
573
|
+
planned: convex_values82.VBoolean<boolean, "required">;
|
|
574
|
+
applied: convex_values82.VBoolean<boolean, "required">;
|
|
575
|
+
eligible: convex_values82.VBoolean<boolean | undefined, "optional">;
|
|
576
|
+
scanCursor: convex_values82.VString<string | undefined, "optional">;
|
|
577
|
+
}, "required", "kind" | "groupId" | "expectedParentGroupId" | "operationId" | "parentWorkId" | "depth" | "planned" | "applied" | "eligible" | "scanCursor">, {
|
|
582
578
|
operation_id_group_id: ["operationId", "groupId", "_creationTime"];
|
|
583
579
|
operation_id_planned: ["operationId", "planned", "_creationTime"];
|
|
584
580
|
operation_id_applied_depth: ["operationId", "applied", "depth", "_creationTime"];
|
|
585
581
|
group_id: ["groupId", "_creationTime"];
|
|
586
582
|
group_id_kind: ["groupId", "kind", "_creationTime"];
|
|
587
583
|
}, {}, {}>;
|
|
588
|
-
GroupMember: convex_server24.TableDefinition<
|
|
584
|
+
GroupMember: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
589
585
|
extend?: any;
|
|
590
586
|
status?: string | undefined;
|
|
591
587
|
role?: string | undefined;
|
|
592
588
|
roleIds?: string[] | undefined;
|
|
593
|
-
userId:
|
|
594
|
-
groupId:
|
|
589
|
+
userId: convex_values82.GenericId<"User">;
|
|
590
|
+
groupId: convex_values82.GenericId<"Group">;
|
|
595
591
|
}, {
|
|
596
|
-
groupId:
|
|
597
|
-
userId:
|
|
598
|
-
role:
|
|
599
|
-
roleIds:
|
|
600
|
-
status:
|
|
601
|
-
extend:
|
|
602
|
-
}, "required", "extend" |
|
|
592
|
+
groupId: convex_values82.VId<convex_values82.GenericId<"Group">, "required">;
|
|
593
|
+
userId: convex_values82.VId<convex_values82.GenericId<"User">, "required">;
|
|
594
|
+
role: convex_values82.VString<string | undefined, "optional">;
|
|
595
|
+
roleIds: convex_values82.VArray<string[] | undefined, convex_values82.VString<string, "required">, "optional">;
|
|
596
|
+
status: convex_values82.VString<string | undefined, "optional">;
|
|
597
|
+
extend: convex_values82.VAny<any, "optional", string>;
|
|
598
|
+
}, "required", "extend" | "userId" | "groupId" | "status" | `extend.${string}` | "role" | "roleIds">, {
|
|
603
599
|
group_id: ["groupId", "_creationTime"];
|
|
604
600
|
group_id_user_id: ["groupId", "userId", "_creationTime"];
|
|
605
601
|
group_id_status: ["groupId", "status", "_creationTime"];
|
|
@@ -607,31 +603,31 @@ declare const testHelpers: {
|
|
|
607
603
|
user_id_status: ["userId", "status", "_creationTime"];
|
|
608
604
|
status: ["status", "_creationTime"];
|
|
609
605
|
}, {}, {}>;
|
|
610
|
-
GroupInvite: convex_server24.TableDefinition<
|
|
606
|
+
GroupInvite: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
611
607
|
email?: string | undefined;
|
|
612
608
|
extend?: any;
|
|
613
|
-
groupId?:
|
|
609
|
+
groupId?: convex_values82.GenericId<"Group"> | undefined;
|
|
614
610
|
role?: string | undefined;
|
|
615
611
|
roleIds?: string[] | undefined;
|
|
616
|
-
invitedByUserId?:
|
|
612
|
+
invitedByUserId?: convex_values82.GenericId<"User"> | undefined;
|
|
617
613
|
expiresTime?: number | undefined;
|
|
618
|
-
acceptedByUserId?:
|
|
614
|
+
acceptedByUserId?: convex_values82.GenericId<"User"> | undefined;
|
|
619
615
|
acceptedTime?: number | undefined;
|
|
620
616
|
status: "pending" | "accepted" | "revoked" | "expired";
|
|
621
617
|
tokenHash: string;
|
|
622
618
|
}, {
|
|
623
|
-
groupId:
|
|
624
|
-
invitedByUserId:
|
|
625
|
-
email:
|
|
626
|
-
tokenHash:
|
|
627
|
-
role:
|
|
628
|
-
roleIds:
|
|
629
|
-
status:
|
|
630
|
-
expiresTime:
|
|
631
|
-
acceptedByUserId:
|
|
632
|
-
acceptedTime:
|
|
633
|
-
extend:
|
|
634
|
-
}, "required", "email" | "extend" |
|
|
619
|
+
groupId: convex_values82.VId<convex_values82.GenericId<"Group"> | undefined, "optional">;
|
|
620
|
+
invitedByUserId: convex_values82.VId<convex_values82.GenericId<"User"> | undefined, "optional">;
|
|
621
|
+
email: convex_values82.VString<string | undefined, "optional">;
|
|
622
|
+
tokenHash: convex_values82.VString<string, "required">;
|
|
623
|
+
role: convex_values82.VString<string | undefined, "optional">;
|
|
624
|
+
roleIds: convex_values82.VArray<string[] | undefined, convex_values82.VString<string, "required">, "optional">;
|
|
625
|
+
status: convex_values82.VUnion<"pending" | "accepted" | "revoked" | "expired", [convex_values82.VLiteral<"pending", "required">, convex_values82.VLiteral<"accepted", "required">, convex_values82.VLiteral<"revoked", "required">, convex_values82.VLiteral<"expired", "required">], "required", never>;
|
|
626
|
+
expiresTime: convex_values82.VFloat64<number | undefined, "optional">;
|
|
627
|
+
acceptedByUserId: convex_values82.VId<convex_values82.GenericId<"User"> | undefined, "optional">;
|
|
628
|
+
acceptedTime: convex_values82.VFloat64<number | undefined, "optional">;
|
|
629
|
+
extend: convex_values82.VAny<any, "optional", string>;
|
|
630
|
+
}, "required", "email" | "extend" | "groupId" | "status" | `extend.${string}` | "role" | "roleIds" | "invitedByUserId" | "tokenHash" | "expiresTime" | "acceptedByUserId" | "acceptedTime">, {
|
|
635
631
|
token_hash: ["tokenHash", "_creationTime"];
|
|
636
632
|
status: ["status", "_creationTime"];
|
|
637
633
|
email_status: ["email", "status", "_creationTime"];
|
|
@@ -642,23 +638,23 @@ declare const testHelpers: {
|
|
|
642
638
|
group_id_email_status: ["groupId", "email", "status", "_creationTime"];
|
|
643
639
|
expires_time: ["expiresTime", "_creationTime"];
|
|
644
640
|
}, {}, {}>;
|
|
645
|
-
GroupConnection: convex_server24.TableDefinition<
|
|
646
|
-
name?: string | undefined;
|
|
641
|
+
GroupConnection: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
647
642
|
extend?: any;
|
|
643
|
+
name?: string | undefined;
|
|
648
644
|
slug?: string | undefined;
|
|
649
645
|
config?: any;
|
|
650
|
-
status: "draft" | "active" | "disabled";
|
|
651
646
|
protocol: "oidc" | "saml";
|
|
652
|
-
groupId:
|
|
647
|
+
groupId: convex_values82.GenericId<"Group">;
|
|
648
|
+
status: "active" | "draft" | "disabled";
|
|
653
649
|
}, {
|
|
654
|
-
groupId:
|
|
655
|
-
slug:
|
|
656
|
-
name:
|
|
657
|
-
protocol:
|
|
658
|
-
status:
|
|
659
|
-
config:
|
|
660
|
-
extend:
|
|
661
|
-
}, "required", "
|
|
650
|
+
groupId: convex_values82.VId<convex_values82.GenericId<"Group">, "required">;
|
|
651
|
+
slug: convex_values82.VString<string | undefined, "optional">;
|
|
652
|
+
name: convex_values82.VString<string | undefined, "optional">;
|
|
653
|
+
protocol: convex_values82.VUnion<"oidc" | "saml", [convex_values82.VLiteral<"oidc", "required">, convex_values82.VLiteral<"saml", "required">], "required", never>;
|
|
654
|
+
status: convex_values82.VUnion<"active" | "draft" | "disabled", [convex_values82.VLiteral<"draft", "required">, convex_values82.VLiteral<"active", "required">, convex_values82.VLiteral<"disabled", "required">], "required", never>;
|
|
655
|
+
config: convex_values82.VAny<any, "optional", string>;
|
|
656
|
+
extend: convex_values82.VAny<any, "optional", string>;
|
|
657
|
+
}, "required", "extend" | "name" | "protocol" | "groupId" | "status" | `extend.${string}` | "slug" | "config" | `config.${string}`>, {
|
|
662
658
|
group_id: ["groupId", "_creationTime"];
|
|
663
659
|
name: ["name", "_creationTime"];
|
|
664
660
|
slug: ["slug", "_creationTime"];
|
|
@@ -667,137 +663,137 @@ declare const testHelpers: {
|
|
|
667
663
|
group_id_status: ["groupId", "status", "_creationTime"];
|
|
668
664
|
group_id_slug: ["groupId", "slug", "_creationTime"];
|
|
669
665
|
}, {}, {}>;
|
|
670
|
-
GroupConnectionDomain: convex_server24.TableDefinition<
|
|
666
|
+
GroupConnectionDomain: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
671
667
|
verifiedAt?: number | undefined;
|
|
672
|
-
|
|
673
|
-
connectionId: convex_values6.GenericId<"GroupConnection">;
|
|
674
|
-
groupId: convex_values6.GenericId<"Group">;
|
|
668
|
+
connectionId: convex_values82.GenericId<"GroupConnection">;
|
|
675
669
|
domain: string;
|
|
670
|
+
groupId: convex_values82.GenericId<"Group">;
|
|
671
|
+
isPrimary: boolean;
|
|
676
672
|
}, {
|
|
677
|
-
connectionId:
|
|
678
|
-
groupId:
|
|
679
|
-
domain:
|
|
680
|
-
isPrimary:
|
|
681
|
-
verifiedAt:
|
|
682
|
-
}, "required", "
|
|
673
|
+
connectionId: convex_values82.VId<convex_values82.GenericId<"GroupConnection">, "required">;
|
|
674
|
+
groupId: convex_values82.VId<convex_values82.GenericId<"Group">, "required">;
|
|
675
|
+
domain: convex_values82.VString<string, "required">;
|
|
676
|
+
isPrimary: convex_values82.VBoolean<boolean, "required">;
|
|
677
|
+
verifiedAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
678
|
+
}, "required", "connectionId" | "domain" | "verifiedAt" | "groupId" | "isPrimary">, {
|
|
683
679
|
connection_id: ["connectionId", "_creationTime"];
|
|
684
680
|
group_id: ["groupId", "_creationTime"];
|
|
685
681
|
domain: ["domain", "_creationTime"];
|
|
686
682
|
}, {}, {}>;
|
|
687
|
-
SamlLoginRequest: convex_server24.TableDefinition<
|
|
683
|
+
SamlLoginRequest: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
688
684
|
acceptedAt?: number | undefined;
|
|
689
|
-
connectionId: convex_values6.GenericId<"GroupConnection">;
|
|
690
|
-
createdAt: number;
|
|
691
|
-
expiresAt: number;
|
|
692
685
|
requestId: string;
|
|
686
|
+
connectionId: convex_values82.GenericId<"GroupConnection">;
|
|
687
|
+
expiresAt: number;
|
|
688
|
+
createdAt: number;
|
|
693
689
|
}, {
|
|
694
|
-
connectionId:
|
|
695
|
-
requestId:
|
|
696
|
-
createdAt:
|
|
697
|
-
expiresAt:
|
|
698
|
-
acceptedAt:
|
|
699
|
-
}, "required", "
|
|
690
|
+
connectionId: convex_values82.VId<convex_values82.GenericId<"GroupConnection">, "required">;
|
|
691
|
+
requestId: convex_values82.VString<string, "required">;
|
|
692
|
+
createdAt: convex_values82.VFloat64<number, "required">;
|
|
693
|
+
expiresAt: convex_values82.VFloat64<number, "required">;
|
|
694
|
+
acceptedAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
695
|
+
}, "required", "requestId" | "connectionId" | "expiresAt" | "createdAt" | "acceptedAt">, {
|
|
700
696
|
request_id: ["requestId", "_creationTime"];
|
|
701
697
|
expires_at: ["expiresAt", "_creationTime"];
|
|
702
698
|
}, {}, {}>;
|
|
703
|
-
SamlSeenAssertion: convex_server24.TableDefinition<
|
|
704
|
-
connectionId:
|
|
699
|
+
SamlSeenAssertion: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
700
|
+
connectionId: convex_values82.GenericId<"GroupConnection">;
|
|
705
701
|
expiresAt: number;
|
|
706
702
|
assertionId: string;
|
|
707
703
|
}, {
|
|
708
|
-
connectionId:
|
|
709
|
-
assertionId:
|
|
710
|
-
expiresAt:
|
|
704
|
+
connectionId: convex_values82.VId<convex_values82.GenericId<"GroupConnection">, "required">;
|
|
705
|
+
assertionId: convex_values82.VString<string, "required">;
|
|
706
|
+
expiresAt: convex_values82.VFloat64<number, "required">;
|
|
711
707
|
}, "required", "connectionId" | "expiresAt" | "assertionId">, {
|
|
712
708
|
connection_id_assertion_id: ["connectionId", "assertionId", "_creationTime"];
|
|
713
709
|
expires_at: ["expiresAt", "_creationTime"];
|
|
714
710
|
}, {}, {}>;
|
|
715
|
-
GroupConnectionDomainVerification: convex_server24.TableDefinition<
|
|
716
|
-
connectionId:
|
|
717
|
-
expiresAt: number;
|
|
718
|
-
groupId: convex_values6.GenericId<"Group">;
|
|
719
|
-
tokenHash: string;
|
|
711
|
+
GroupConnectionDomainVerification: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
712
|
+
connectionId: convex_values82.GenericId<"GroupConnection">;
|
|
720
713
|
domain: string;
|
|
721
|
-
domainId: convex_values6.GenericId<"GroupConnectionDomain">;
|
|
722
714
|
recordName: string;
|
|
715
|
+
expiresAt: number;
|
|
716
|
+
groupId: convex_values82.GenericId<"Group">;
|
|
717
|
+
tokenHash: string;
|
|
718
|
+
domainId: convex_values82.GenericId<"GroupConnectionDomain">;
|
|
723
719
|
token: string;
|
|
724
720
|
requestedAt: number;
|
|
725
721
|
}, {
|
|
726
|
-
connectionId:
|
|
727
|
-
groupId:
|
|
728
|
-
domainId:
|
|
729
|
-
domain:
|
|
730
|
-
recordName:
|
|
731
|
-
token:
|
|
732
|
-
tokenHash:
|
|
733
|
-
requestedAt:
|
|
734
|
-
expiresAt:
|
|
735
|
-
}, "required", "connectionId" | "
|
|
722
|
+
connectionId: convex_values82.VId<convex_values82.GenericId<"GroupConnection">, "required">;
|
|
723
|
+
groupId: convex_values82.VId<convex_values82.GenericId<"Group">, "required">;
|
|
724
|
+
domainId: convex_values82.VId<convex_values82.GenericId<"GroupConnectionDomain">, "required">;
|
|
725
|
+
domain: convex_values82.VString<string, "required">;
|
|
726
|
+
recordName: convex_values82.VString<string, "required">;
|
|
727
|
+
token: convex_values82.VString<string, "required">;
|
|
728
|
+
tokenHash: convex_values82.VString<string, "required">;
|
|
729
|
+
requestedAt: convex_values82.VFloat64<number, "required">;
|
|
730
|
+
expiresAt: convex_values82.VFloat64<number, "required">;
|
|
731
|
+
}, "required", "connectionId" | "domain" | "recordName" | "expiresAt" | "groupId" | "tokenHash" | "domainId" | "token" | "requestedAt">, {
|
|
736
732
|
connection_id: ["connectionId", "_creationTime"];
|
|
737
733
|
domain_id: ["domainId", "_creationTime"];
|
|
738
734
|
token_hash: ["tokenHash", "_creationTime"];
|
|
739
735
|
expires_at: ["expiresAt", "_creationTime"];
|
|
740
736
|
}, {}, {}>;
|
|
741
|
-
GroupConnectionSecret: convex_server24.TableDefinition<
|
|
742
|
-
connectionId: convex_values6.GenericId<"GroupConnection">;
|
|
743
|
-
updatedAt: number;
|
|
744
|
-
groupId: convex_values6.GenericId<"Group">;
|
|
737
|
+
GroupConnectionSecret: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
745
738
|
kind: "oidc_client_secret";
|
|
739
|
+
connectionId: convex_values82.GenericId<"GroupConnection">;
|
|
740
|
+
groupId: convex_values82.GenericId<"Group">;
|
|
741
|
+
updatedAt: number;
|
|
746
742
|
ciphertext: string;
|
|
747
743
|
}, {
|
|
748
|
-
connectionId:
|
|
749
|
-
groupId:
|
|
750
|
-
kind:
|
|
751
|
-
ciphertext:
|
|
752
|
-
updatedAt:
|
|
753
|
-
}, "required", "
|
|
744
|
+
connectionId: convex_values82.VId<convex_values82.GenericId<"GroupConnection">, "required">;
|
|
745
|
+
groupId: convex_values82.VId<convex_values82.GenericId<"Group">, "required">;
|
|
746
|
+
kind: convex_values82.VUnion<"oidc_client_secret", [convex_values82.VLiteral<"oidc_client_secret", "required">], "required", never>;
|
|
747
|
+
ciphertext: convex_values82.VString<string, "required">;
|
|
748
|
+
updatedAt: convex_values82.VFloat64<number, "required">;
|
|
749
|
+
}, "required", "kind" | "connectionId" | "groupId" | "updatedAt" | "ciphertext">, {
|
|
754
750
|
connection_id: ["connectionId", "_creationTime"];
|
|
755
751
|
connection_id_kind: ["connectionId", "kind", "_creationTime"];
|
|
756
752
|
group_id: ["groupId", "_creationTime"];
|
|
757
753
|
}, {}, {}>;
|
|
758
|
-
GroupConnectionScimConfig: convex_server24.TableDefinition<
|
|
754
|
+
GroupConnectionScimConfig: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
759
755
|
extend?: any;
|
|
760
756
|
lastRotatedAt?: number | undefined;
|
|
761
|
-
connectionId:
|
|
762
|
-
|
|
763
|
-
|
|
757
|
+
connectionId: convex_values82.GenericId<"GroupConnection">;
|
|
758
|
+
groupId: convex_values82.GenericId<"Group">;
|
|
759
|
+
status: "active" | "draft" | "disabled";
|
|
764
760
|
tokenHash: string;
|
|
765
761
|
basePath: string;
|
|
766
762
|
}, {
|
|
767
|
-
connectionId:
|
|
768
|
-
groupId:
|
|
769
|
-
status:
|
|
770
|
-
basePath:
|
|
771
|
-
tokenHash:
|
|
772
|
-
lastRotatedAt:
|
|
773
|
-
extend:
|
|
774
|
-
}, "required", "extend" |
|
|
763
|
+
connectionId: convex_values82.VId<convex_values82.GenericId<"GroupConnection">, "required">;
|
|
764
|
+
groupId: convex_values82.VId<convex_values82.GenericId<"Group">, "required">;
|
|
765
|
+
status: convex_values82.VUnion<"active" | "draft" | "disabled", [convex_values82.VLiteral<"draft", "required">, convex_values82.VLiteral<"active", "required">, convex_values82.VLiteral<"disabled", "required">], "required", never>;
|
|
766
|
+
basePath: convex_values82.VString<string, "required">;
|
|
767
|
+
tokenHash: convex_values82.VString<string, "required">;
|
|
768
|
+
lastRotatedAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
769
|
+
extend: convex_values82.VAny<any, "optional", string>;
|
|
770
|
+
}, "required", "extend" | "connectionId" | "groupId" | "status" | `extend.${string}` | "tokenHash" | "basePath" | "lastRotatedAt">, {
|
|
775
771
|
group_connection_id: ["connectionId", "_creationTime"];
|
|
776
772
|
group_id: ["groupId", "_creationTime"];
|
|
777
773
|
token_hash: ["tokenHash", "_creationTime"];
|
|
778
774
|
status: ["status", "_creationTime"];
|
|
779
775
|
}, {}, {}>;
|
|
780
|
-
GroupConnectionScimIdentity: convex_server24.TableDefinition<
|
|
781
|
-
userId?:
|
|
776
|
+
GroupConnectionScimIdentity: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
777
|
+
userId?: convex_values82.GenericId<"User"> | undefined;
|
|
778
|
+
externalId?: string | undefined;
|
|
782
779
|
active?: boolean | undefined;
|
|
783
|
-
mappedGroupId?:
|
|
780
|
+
mappedGroupId?: convex_values82.GenericId<"Group"> | undefined;
|
|
784
781
|
lastProvisionedAt?: number | undefined;
|
|
785
782
|
raw?: any;
|
|
786
|
-
connectionId:
|
|
787
|
-
externalId: string;
|
|
788
|
-
groupId: convex_values6.GenericId<"Group">;
|
|
783
|
+
connectionId: convex_values82.GenericId<"GroupConnection">;
|
|
789
784
|
resourceType: "user" | "group";
|
|
785
|
+
groupId: convex_values82.GenericId<"Group">;
|
|
790
786
|
}, {
|
|
791
|
-
connectionId:
|
|
792
|
-
groupId:
|
|
793
|
-
resourceType:
|
|
794
|
-
externalId:
|
|
795
|
-
userId:
|
|
796
|
-
mappedGroupId:
|
|
797
|
-
lastProvisionedAt:
|
|
798
|
-
active:
|
|
799
|
-
raw:
|
|
800
|
-
}, "required", "userId" | "connectionId" | "
|
|
787
|
+
connectionId: convex_values82.VId<convex_values82.GenericId<"GroupConnection">, "required">;
|
|
788
|
+
groupId: convex_values82.VId<convex_values82.GenericId<"Group">, "required">;
|
|
789
|
+
resourceType: convex_values82.VUnion<"user" | "group", [convex_values82.VLiteral<"user", "required">, convex_values82.VLiteral<"group", "required">], "required", never>;
|
|
790
|
+
externalId: convex_values82.VString<string | undefined, "optional">;
|
|
791
|
+
userId: convex_values82.VId<convex_values82.GenericId<"User"> | undefined, "optional">;
|
|
792
|
+
mappedGroupId: convex_values82.VId<convex_values82.GenericId<"Group"> | undefined, "optional">;
|
|
793
|
+
lastProvisionedAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
794
|
+
active: convex_values82.VBoolean<boolean | undefined, "optional">;
|
|
795
|
+
raw: convex_values82.VAny<any, "optional", string>;
|
|
796
|
+
}, "required", "userId" | "connectionId" | "resourceType" | "externalId" | "active" | "groupId" | "mappedGroupId" | "lastProvisionedAt" | "raw" | `raw.${string}`>, {
|
|
801
797
|
group_connection_id: ["connectionId", "_creationTime"];
|
|
802
798
|
group_id: ["groupId", "_creationTime"];
|
|
803
799
|
group_connection_id_resource_type_external_id: ["connectionId", "resourceType", "externalId", "_creationTime"];
|
|
@@ -805,46 +801,44 @@ declare const testHelpers: {
|
|
|
805
801
|
user_id: ["userId", "_creationTime"];
|
|
806
802
|
mapped_group_id: ["mappedGroupId", "_creationTime"];
|
|
807
803
|
}, {}, {}>;
|
|
808
|
-
AuthEventProjection: convex_server24.TableDefinition<
|
|
804
|
+
AuthEventProjection: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
809
805
|
requestId?: string | undefined;
|
|
810
|
-
actorId?: string | undefined;
|
|
811
|
-
subjectId?: string | undefined;
|
|
812
|
-
errorCode?: string | undefined;
|
|
813
806
|
ip?: string | undefined;
|
|
814
807
|
userAgent?: string | undefined;
|
|
808
|
+
errorCode?: string | undefined;
|
|
815
809
|
data?: {
|
|
810
|
+
profile?: Record<string, any> | undefined;
|
|
816
811
|
type?: string | undefined;
|
|
817
812
|
provider?: string | undefined;
|
|
818
|
-
profile?: Record<string, any> | undefined;
|
|
819
813
|
existingUserId?: string | undefined;
|
|
820
814
|
} | {
|
|
821
815
|
method?: string | undefined;
|
|
822
816
|
provider: string;
|
|
823
817
|
} | {
|
|
818
|
+
flow?: "reset" | "change" | undefined;
|
|
824
819
|
userId?: string | undefined;
|
|
825
|
-
sessionId?: string | undefined;
|
|
826
820
|
reason?: string | undefined;
|
|
821
|
+
sessionId?: string | undefined;
|
|
827
822
|
refreshTokenId?: string | undefined;
|
|
828
|
-
flow?: "reset" | "change" | undefined;
|
|
829
823
|
} | {
|
|
830
|
-
accountId?: string | undefined;
|
|
831
824
|
provider?: string | undefined;
|
|
832
825
|
providerAccountId?: string | undefined;
|
|
826
|
+
accountId?: string | undefined;
|
|
833
827
|
} | {
|
|
834
|
-
name?: string | undefined;
|
|
835
|
-
credentialId?: string | undefined;
|
|
836
828
|
reason?: string | undefined;
|
|
837
829
|
passkeyId?: string | undefined;
|
|
830
|
+
credentialId?: string | undefined;
|
|
838
831
|
totpId?: string | undefined;
|
|
839
832
|
keyId?: string | undefined;
|
|
833
|
+
name?: string | undefined;
|
|
840
834
|
prefix?: string | undefined;
|
|
841
835
|
} | {
|
|
842
836
|
email?: string | undefined;
|
|
843
837
|
phone?: string | undefined;
|
|
844
838
|
userId?: string | undefined;
|
|
845
839
|
} | {
|
|
846
|
-
name?: string | undefined;
|
|
847
840
|
userId?: string | undefined;
|
|
841
|
+
name?: string | undefined;
|
|
848
842
|
clientId?: string | undefined;
|
|
849
843
|
codeId?: string | undefined;
|
|
850
844
|
scopes?: string[] | undefined;
|
|
@@ -852,16 +846,15 @@ declare const testHelpers: {
|
|
|
852
846
|
grantType?: string | undefined;
|
|
853
847
|
resource?: string | undefined;
|
|
854
848
|
} | {
|
|
849
|
+
errorCode?: string | undefined;
|
|
855
850
|
userId?: string | undefined;
|
|
856
851
|
connectionId?: string | undefined;
|
|
857
|
-
|
|
858
|
-
expiresAt?: number | undefined;
|
|
859
|
-
version?: number | undefined;
|
|
852
|
+
changed?: string[] | undefined;
|
|
860
853
|
protocol?: "oidc" | "saml" | undefined;
|
|
861
854
|
domain?: string | undefined;
|
|
862
855
|
recordName?: string | undefined;
|
|
863
|
-
|
|
864
|
-
|
|
856
|
+
expiresAt?: number | undefined;
|
|
857
|
+
verifiedAt?: number | undefined;
|
|
865
858
|
metadataUrl?: string | undefined;
|
|
866
859
|
domains?: string[] | undefined;
|
|
867
860
|
issuer?: string | undefined;
|
|
@@ -869,82 +862,85 @@ declare const testHelpers: {
|
|
|
869
862
|
jwksUri?: string | undefined;
|
|
870
863
|
audience?: string | string[] | undefined;
|
|
871
864
|
tokenEndpointAuthMethod?: string | undefined;
|
|
865
|
+
version?: number | undefined;
|
|
872
866
|
} | {
|
|
873
867
|
userId?: string | undefined;
|
|
868
|
+
scimConfigId?: string | undefined;
|
|
869
|
+
resourceType?: "user" | "group" | undefined;
|
|
870
|
+
resourceId?: string | undefined;
|
|
874
871
|
operation?: string | undefined;
|
|
875
872
|
externalId?: string | undefined;
|
|
876
|
-
groupId?: string | undefined;
|
|
877
873
|
active?: boolean | undefined;
|
|
878
|
-
|
|
879
|
-
scimConfigId?: string | undefined;
|
|
880
|
-
resourceId?: string | undefined;
|
|
874
|
+
groupId?: string | undefined;
|
|
881
875
|
} | {
|
|
882
|
-
status?: number | undefined;
|
|
883
876
|
endpointId?: string | undefined;
|
|
884
877
|
deliveryId?: string | undefined;
|
|
885
878
|
sourceEventId?: string | undefined;
|
|
886
879
|
sourceEventType?: "user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed" | undefined;
|
|
887
880
|
attemptCount?: number | undefined;
|
|
881
|
+
status?: number | undefined;
|
|
888
882
|
error?: string | undefined;
|
|
889
883
|
} | undefined;
|
|
884
|
+
actorId?: string | undefined;
|
|
885
|
+
subjectId?: string | undefined;
|
|
886
|
+
eventId: string;
|
|
890
887
|
kind: "user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed";
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
actorType: "scim" | "user" | "api_key" | "webhook" | "oauth_client" | "system" | "anonymous";
|
|
894
|
-
subjectType: "email" | "phone" | "user" | "connection" | "group" | "session" | "account" | "passkey" | "totp" | "api_key" | "oauth_client" | "system" | "oauth_code" | "scim_identity" | "webhook_endpoint" | "webhook_delivery";
|
|
888
|
+
category: "email" | "password" | "phone" | "user" | "session" | "account" | "passkey" | "totp" | "api_key" | "oauth" | "connection" | "scim" | "webhook" | "security";
|
|
889
|
+
occurredAt: number;
|
|
895
890
|
outcome: "success" | "failure";
|
|
896
|
-
|
|
891
|
+
targetKind: "user" | "session" | "api_key" | "connection" | "oauth_client" | "group" | "global";
|
|
892
|
+
actorType: "user" | "api_key" | "scim" | "webhook" | "system" | "oauth_client" | "anonymous";
|
|
893
|
+
subjectType: "email" | "phone" | "user" | "session" | "account" | "passkey" | "totp" | "api_key" | "connection" | "system" | "oauth_client" | "oauth_code" | "group" | "scim_identity" | "webhook_endpoint" | "webhook_delivery";
|
|
897
894
|
targetId: string;
|
|
898
|
-
occurredAt: number;
|
|
899
895
|
}, {
|
|
900
|
-
eventId:
|
|
901
|
-
targetKind:
|
|
902
|
-
targetId:
|
|
903
|
-
kind:
|
|
904
|
-
category:
|
|
905
|
-
occurredAt:
|
|
906
|
-
actorType:
|
|
907
|
-
actorId:
|
|
908
|
-
subjectType:
|
|
909
|
-
subjectId:
|
|
910
|
-
outcome:
|
|
911
|
-
errorCode:
|
|
912
|
-
requestId:
|
|
913
|
-
ip:
|
|
914
|
-
userAgent:
|
|
915
|
-
data:
|
|
896
|
+
eventId: convex_values82.VString<string, "required">;
|
|
897
|
+
targetKind: convex_values82.VUnion<"user" | "session" | "api_key" | "connection" | "oauth_client" | "group" | "global", [convex_values82.VLiteral<"user", "required">, convex_values82.VLiteral<"session", "required">, convex_values82.VLiteral<"group", "required">, convex_values82.VLiteral<"connection", "required">, convex_values82.VLiteral<"oauth_client", "required">, convex_values82.VLiteral<"api_key", "required">, convex_values82.VLiteral<"global", "required">], "required", never>;
|
|
898
|
+
targetId: convex_values82.VString<string, "required">;
|
|
899
|
+
kind: convex_values82.VUnion<"user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed", convex_values82.VLiteral<"user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed", "required">[], "required", never>;
|
|
900
|
+
category: convex_values82.VUnion<"email" | "password" | "phone" | "user" | "session" | "account" | "passkey" | "totp" | "api_key" | "oauth" | "connection" | "scim" | "webhook" | "security", convex_values82.VLiteral<"email" | "password" | "phone" | "user" | "session" | "account" | "passkey" | "totp" | "api_key" | "oauth" | "connection" | "scim" | "webhook" | "security", "required">[], "required", never>;
|
|
901
|
+
occurredAt: convex_values82.VFloat64<number, "required">;
|
|
902
|
+
actorType: convex_values82.VUnion<"user" | "api_key" | "scim" | "webhook" | "system" | "oauth_client" | "anonymous", [convex_values82.VLiteral<"user", "required">, convex_values82.VLiteral<"system", "required">, convex_values82.VLiteral<"scim", "required">, convex_values82.VLiteral<"api_key", "required">, convex_values82.VLiteral<"oauth_client", "required">, convex_values82.VLiteral<"webhook", "required">, convex_values82.VLiteral<"anonymous", "required">], "required", never>;
|
|
903
|
+
actorId: convex_values82.VString<string | undefined, "optional">;
|
|
904
|
+
subjectType: convex_values82.VUnion<"email" | "phone" | "user" | "session" | "account" | "passkey" | "totp" | "api_key" | "connection" | "system" | "oauth_client" | "oauth_code" | "group" | "scim_identity" | "webhook_endpoint" | "webhook_delivery", [convex_values82.VLiteral<"user", "required">, convex_values82.VLiteral<"session", "required">, convex_values82.VLiteral<"account", "required">, convex_values82.VLiteral<"passkey", "required">, convex_values82.VLiteral<"totp", "required">, convex_values82.VLiteral<"email", "required">, convex_values82.VLiteral<"phone", "required">, convex_values82.VLiteral<"api_key", "required">, convex_values82.VLiteral<"oauth_client", "required">, convex_values82.VLiteral<"oauth_code", "required">, convex_values82.VLiteral<"group", "required">, convex_values82.VLiteral<"connection", "required">, convex_values82.VLiteral<"scim_identity", "required">, convex_values82.VLiteral<"webhook_endpoint", "required">, convex_values82.VLiteral<"webhook_delivery", "required">, convex_values82.VLiteral<"system", "required">], "required", never>;
|
|
905
|
+
subjectId: convex_values82.VString<string | undefined, "optional">;
|
|
906
|
+
outcome: convex_values82.VUnion<"success" | "failure", [convex_values82.VLiteral<"success", "required">, convex_values82.VLiteral<"failure", "required">], "required", never>;
|
|
907
|
+
errorCode: convex_values82.VString<string | undefined, "optional">;
|
|
908
|
+
requestId: convex_values82.VString<string | undefined, "optional">;
|
|
909
|
+
ip: convex_values82.VString<string | undefined, "optional">;
|
|
910
|
+
userAgent: convex_values82.VString<string | undefined, "optional">;
|
|
911
|
+
data: convex_values82.VUnion<{
|
|
912
|
+
profile?: Record<string, any> | undefined;
|
|
916
913
|
type?: string | undefined;
|
|
917
914
|
provider?: string | undefined;
|
|
918
|
-
profile?: Record<string, any> | undefined;
|
|
919
915
|
existingUserId?: string | undefined;
|
|
920
916
|
} | {
|
|
921
917
|
method?: string | undefined;
|
|
922
918
|
provider: string;
|
|
923
919
|
} | {
|
|
920
|
+
flow?: "reset" | "change" | undefined;
|
|
924
921
|
userId?: string | undefined;
|
|
925
|
-
sessionId?: string | undefined;
|
|
926
922
|
reason?: string | undefined;
|
|
923
|
+
sessionId?: string | undefined;
|
|
927
924
|
refreshTokenId?: string | undefined;
|
|
928
|
-
flow?: "reset" | "change" | undefined;
|
|
929
925
|
} | {
|
|
930
|
-
accountId?: string | undefined;
|
|
931
926
|
provider?: string | undefined;
|
|
932
927
|
providerAccountId?: string | undefined;
|
|
928
|
+
accountId?: string | undefined;
|
|
933
929
|
} | {
|
|
934
|
-
name?: string | undefined;
|
|
935
|
-
credentialId?: string | undefined;
|
|
936
930
|
reason?: string | undefined;
|
|
937
931
|
passkeyId?: string | undefined;
|
|
932
|
+
credentialId?: string | undefined;
|
|
938
933
|
totpId?: string | undefined;
|
|
939
934
|
keyId?: string | undefined;
|
|
935
|
+
name?: string | undefined;
|
|
940
936
|
prefix?: string | undefined;
|
|
941
937
|
} | {
|
|
942
938
|
email?: string | undefined;
|
|
943
939
|
phone?: string | undefined;
|
|
944
940
|
userId?: string | undefined;
|
|
945
941
|
} | {
|
|
946
|
-
name?: string | undefined;
|
|
947
942
|
userId?: string | undefined;
|
|
943
|
+
name?: string | undefined;
|
|
948
944
|
clientId?: string | undefined;
|
|
949
945
|
codeId?: string | undefined;
|
|
950
946
|
scopes?: string[] | undefined;
|
|
@@ -952,16 +948,15 @@ declare const testHelpers: {
|
|
|
952
948
|
grantType?: string | undefined;
|
|
953
949
|
resource?: string | undefined;
|
|
954
950
|
} | {
|
|
951
|
+
errorCode?: string | undefined;
|
|
955
952
|
userId?: string | undefined;
|
|
956
953
|
connectionId?: string | undefined;
|
|
957
|
-
|
|
958
|
-
expiresAt?: number | undefined;
|
|
959
|
-
version?: number | undefined;
|
|
954
|
+
changed?: string[] | undefined;
|
|
960
955
|
protocol?: "oidc" | "saml" | undefined;
|
|
961
956
|
domain?: string | undefined;
|
|
962
957
|
recordName?: string | undefined;
|
|
963
|
-
|
|
964
|
-
|
|
958
|
+
expiresAt?: number | undefined;
|
|
959
|
+
verifiedAt?: number | undefined;
|
|
965
960
|
metadataUrl?: string | undefined;
|
|
966
961
|
domains?: string[] | undefined;
|
|
967
962
|
issuer?: string | undefined;
|
|
@@ -969,86 +964,87 @@ declare const testHelpers: {
|
|
|
969
964
|
jwksUri?: string | undefined;
|
|
970
965
|
audience?: string | string[] | undefined;
|
|
971
966
|
tokenEndpointAuthMethod?: string | undefined;
|
|
967
|
+
version?: number | undefined;
|
|
972
968
|
} | {
|
|
973
969
|
userId?: string | undefined;
|
|
970
|
+
scimConfigId?: string | undefined;
|
|
971
|
+
resourceType?: "user" | "group" | undefined;
|
|
972
|
+
resourceId?: string | undefined;
|
|
974
973
|
operation?: string | undefined;
|
|
975
974
|
externalId?: string | undefined;
|
|
976
|
-
groupId?: string | undefined;
|
|
977
975
|
active?: boolean | undefined;
|
|
978
|
-
|
|
979
|
-
scimConfigId?: string | undefined;
|
|
980
|
-
resourceId?: string | undefined;
|
|
976
|
+
groupId?: string | undefined;
|
|
981
977
|
} | {
|
|
982
|
-
status?: number | undefined;
|
|
983
978
|
endpointId?: string | undefined;
|
|
984
979
|
deliveryId?: string | undefined;
|
|
985
980
|
sourceEventId?: string | undefined;
|
|
986
981
|
sourceEventType?: "user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed" | undefined;
|
|
987
982
|
attemptCount?: number | undefined;
|
|
983
|
+
status?: number | undefined;
|
|
988
984
|
error?: string | undefined;
|
|
989
|
-
} | undefined, [
|
|
985
|
+
} | undefined, [convex_values82.VObject<{
|
|
986
|
+
profile?: Record<string, any> | undefined;
|
|
990
987
|
type?: string | undefined;
|
|
991
988
|
provider?: string | undefined;
|
|
992
|
-
profile?: Record<string, any> | undefined;
|
|
993
989
|
existingUserId?: string | undefined;
|
|
994
990
|
}, {
|
|
995
|
-
type:
|
|
996
|
-
provider:
|
|
997
|
-
profile:
|
|
998
|
-
existingUserId:
|
|
999
|
-
}, "required", "
|
|
991
|
+
type: convex_values82.VString<string | undefined, "optional">;
|
|
992
|
+
provider: convex_values82.VString<string | undefined, "optional">;
|
|
993
|
+
profile: convex_values82.VRecord<Record<string, any> | undefined, convex_values82.VString<string, "required">, convex_values82.VAny<any, "required", string>, "optional", string>;
|
|
994
|
+
existingUserId: convex_values82.VString<string | undefined, "optional">;
|
|
995
|
+
}, "required", "profile" | "type" | "provider" | "existingUserId" | `profile.${string}`>, convex_values82.VObject<{
|
|
1000
996
|
method?: string | undefined;
|
|
1001
997
|
provider: string;
|
|
1002
998
|
}, {
|
|
1003
|
-
provider:
|
|
1004
|
-
method:
|
|
1005
|
-
}, "required", "provider" | "method">,
|
|
999
|
+
provider: convex_values82.VString<string, "required">;
|
|
1000
|
+
method: convex_values82.VString<string | undefined, "optional">;
|
|
1001
|
+
}, "required", "provider" | "method">, convex_values82.VObject<{
|
|
1002
|
+
flow?: "reset" | "change" | undefined;
|
|
1006
1003
|
userId?: string | undefined;
|
|
1007
|
-
sessionId?: string | undefined;
|
|
1008
1004
|
reason?: string | undefined;
|
|
1005
|
+
sessionId?: string | undefined;
|
|
1009
1006
|
refreshTokenId?: string | undefined;
|
|
1010
|
-
flow?: "reset" | "change" | undefined;
|
|
1011
1007
|
}, {
|
|
1012
|
-
userId:
|
|
1013
|
-
reason:
|
|
1014
|
-
sessionId:
|
|
1015
|
-
refreshTokenId:
|
|
1016
|
-
flow:
|
|
1017
|
-
}, "required", "
|
|
1018
|
-
accountId?: string | undefined;
|
|
1008
|
+
userId: convex_values82.VString<string | undefined, "optional">;
|
|
1009
|
+
reason: convex_values82.VString<string | undefined, "optional">;
|
|
1010
|
+
sessionId: convex_values82.VString<string | undefined, "optional">;
|
|
1011
|
+
refreshTokenId: convex_values82.VString<string | undefined, "optional">;
|
|
1012
|
+
flow: convex_values82.VUnion<"reset" | "change" | undefined, [convex_values82.VLiteral<"reset", "required">, convex_values82.VLiteral<"change", "required">], "optional", never>;
|
|
1013
|
+
}, "required", "flow" | "userId" | "reason" | "sessionId" | "refreshTokenId">, convex_values82.VObject<{
|
|
1019
1014
|
provider?: string | undefined;
|
|
1020
1015
|
providerAccountId?: string | undefined;
|
|
1016
|
+
accountId?: string | undefined;
|
|
1021
1017
|
}, {
|
|
1022
|
-
provider:
|
|
1023
|
-
providerAccountId:
|
|
1024
|
-
accountId:
|
|
1025
|
-
}, "required", "
|
|
1026
|
-
name?: string | undefined;
|
|
1027
|
-
credentialId?: string | undefined;
|
|
1018
|
+
provider: convex_values82.VString<string | undefined, "optional">;
|
|
1019
|
+
providerAccountId: convex_values82.VString<string | undefined, "optional">;
|
|
1020
|
+
accountId: convex_values82.VString<string | undefined, "optional">;
|
|
1021
|
+
}, "required", "provider" | "providerAccountId" | "accountId">, convex_values82.VObject<{
|
|
1028
1022
|
reason?: string | undefined;
|
|
1029
1023
|
passkeyId?: string | undefined;
|
|
1024
|
+
credentialId?: string | undefined;
|
|
1030
1025
|
totpId?: string | undefined;
|
|
1031
1026
|
keyId?: string | undefined;
|
|
1027
|
+
name?: string | undefined;
|
|
1032
1028
|
prefix?: string | undefined;
|
|
1033
1029
|
}, {
|
|
1034
|
-
passkeyId:
|
|
1035
|
-
credentialId:
|
|
1036
|
-
totpId:
|
|
1037
|
-
keyId:
|
|
1038
|
-
name:
|
|
1039
|
-
prefix:
|
|
1040
|
-
reason:
|
|
1041
|
-
}, "required", "
|
|
1030
|
+
passkeyId: convex_values82.VString<string | undefined, "optional">;
|
|
1031
|
+
credentialId: convex_values82.VString<string | undefined, "optional">;
|
|
1032
|
+
totpId: convex_values82.VString<string | undefined, "optional">;
|
|
1033
|
+
keyId: convex_values82.VString<string | undefined, "optional">;
|
|
1034
|
+
name: convex_values82.VString<string | undefined, "optional">;
|
|
1035
|
+
prefix: convex_values82.VString<string | undefined, "optional">;
|
|
1036
|
+
reason: convex_values82.VString<string | undefined, "optional">;
|
|
1037
|
+
}, "required", "reason" | "passkeyId" | "credentialId" | "totpId" | "keyId" | "name" | "prefix">, convex_values82.VObject<{
|
|
1042
1038
|
email?: string | undefined;
|
|
1043
1039
|
phone?: string | undefined;
|
|
1044
1040
|
userId?: string | undefined;
|
|
1045
1041
|
}, {
|
|
1046
|
-
email:
|
|
1047
|
-
phone:
|
|
1048
|
-
userId:
|
|
1049
|
-
}, "required", "email" | "phone" | "userId">,
|
|
1050
|
-
name?: string | undefined;
|
|
1042
|
+
email: convex_values82.VString<string | undefined, "optional">;
|
|
1043
|
+
phone: convex_values82.VString<string | undefined, "optional">;
|
|
1044
|
+
userId: convex_values82.VString<string | undefined, "optional">;
|
|
1045
|
+
}, "required", "email" | "phone" | "userId">, convex_values82.VObject<{
|
|
1051
1046
|
userId?: string | undefined;
|
|
1047
|
+
name?: string | undefined;
|
|
1052
1048
|
clientId?: string | undefined;
|
|
1053
1049
|
codeId?: string | undefined;
|
|
1054
1050
|
scopes?: string[] | undefined;
|
|
@@ -1056,25 +1052,24 @@ declare const testHelpers: {
|
|
|
1056
1052
|
grantType?: string | undefined;
|
|
1057
1053
|
resource?: string | undefined;
|
|
1058
1054
|
}, {
|
|
1059
|
-
clientId:
|
|
1060
|
-
codeId:
|
|
1061
|
-
name:
|
|
1062
|
-
scopes:
|
|
1063
|
-
redirectUri:
|
|
1064
|
-
grantType:
|
|
1065
|
-
resource:
|
|
1066
|
-
userId:
|
|
1067
|
-
}, "required", "
|
|
1055
|
+
clientId: convex_values82.VString<string | undefined, "optional">;
|
|
1056
|
+
codeId: convex_values82.VString<string | undefined, "optional">;
|
|
1057
|
+
name: convex_values82.VString<string | undefined, "optional">;
|
|
1058
|
+
scopes: convex_values82.VArray<string[] | undefined, convex_values82.VString<string, "required">, "optional">;
|
|
1059
|
+
redirectUri: convex_values82.VString<string | undefined, "optional">;
|
|
1060
|
+
grantType: convex_values82.VString<string | undefined, "optional">;
|
|
1061
|
+
resource: convex_values82.VString<string | undefined, "optional">;
|
|
1062
|
+
userId: convex_values82.VString<string | undefined, "optional">;
|
|
1063
|
+
}, "required", "userId" | "name" | "clientId" | "codeId" | "scopes" | "redirectUri" | "grantType" | "resource">, convex_values82.VObject<{
|
|
1064
|
+
errorCode?: string | undefined;
|
|
1068
1065
|
userId?: string | undefined;
|
|
1069
1066
|
connectionId?: string | undefined;
|
|
1070
|
-
|
|
1071
|
-
expiresAt?: number | undefined;
|
|
1072
|
-
version?: number | undefined;
|
|
1067
|
+
changed?: string[] | undefined;
|
|
1073
1068
|
protocol?: "oidc" | "saml" | undefined;
|
|
1074
1069
|
domain?: string | undefined;
|
|
1075
1070
|
recordName?: string | undefined;
|
|
1076
|
-
|
|
1077
|
-
|
|
1071
|
+
expiresAt?: number | undefined;
|
|
1072
|
+
verifiedAt?: number | undefined;
|
|
1078
1073
|
metadataUrl?: string | undefined;
|
|
1079
1074
|
domains?: string[] | undefined;
|
|
1080
1075
|
issuer?: string | undefined;
|
|
@@ -1082,60 +1077,61 @@ declare const testHelpers: {
|
|
|
1082
1077
|
jwksUri?: string | undefined;
|
|
1083
1078
|
audience?: string | string[] | undefined;
|
|
1084
1079
|
tokenEndpointAuthMethod?: string | undefined;
|
|
1080
|
+
version?: number | undefined;
|
|
1085
1081
|
}, {
|
|
1086
|
-
connectionId:
|
|
1087
|
-
changed:
|
|
1088
|
-
userId:
|
|
1089
|
-
protocol:
|
|
1090
|
-
domain:
|
|
1091
|
-
recordName:
|
|
1092
|
-
expiresAt:
|
|
1093
|
-
verifiedAt:
|
|
1094
|
-
metadataUrl:
|
|
1095
|
-
domains:
|
|
1096
|
-
issuer:
|
|
1097
|
-
discoveryUrl:
|
|
1098
|
-
jwksUri:
|
|
1099
|
-
audience:
|
|
1100
|
-
tokenEndpointAuthMethod:
|
|
1101
|
-
version:
|
|
1102
|
-
errorCode:
|
|
1103
|
-
}, "required", "
|
|
1082
|
+
connectionId: convex_values82.VString<string | undefined, "optional">;
|
|
1083
|
+
changed: convex_values82.VArray<string[] | undefined, convex_values82.VString<string, "required">, "optional">;
|
|
1084
|
+
userId: convex_values82.VString<string | undefined, "optional">;
|
|
1085
|
+
protocol: convex_values82.VUnion<"oidc" | "saml" | undefined, [convex_values82.VLiteral<"oidc", "required">, convex_values82.VLiteral<"saml", "required">], "optional", never>;
|
|
1086
|
+
domain: convex_values82.VString<string | undefined, "optional">;
|
|
1087
|
+
recordName: convex_values82.VString<string | undefined, "optional">;
|
|
1088
|
+
expiresAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1089
|
+
verifiedAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1090
|
+
metadataUrl: convex_values82.VString<string | undefined, "optional">;
|
|
1091
|
+
domains: convex_values82.VArray<string[] | undefined, convex_values82.VString<string, "required">, "optional">;
|
|
1092
|
+
issuer: convex_values82.VString<string | undefined, "optional">;
|
|
1093
|
+
discoveryUrl: convex_values82.VString<string | undefined, "optional">;
|
|
1094
|
+
jwksUri: convex_values82.VString<string | undefined, "optional">;
|
|
1095
|
+
audience: convex_values82.VUnion<string | string[] | undefined, [convex_values82.VString<string, "required">, convex_values82.VArray<string[], convex_values82.VString<string, "required">, "required">], "optional", never>;
|
|
1096
|
+
tokenEndpointAuthMethod: convex_values82.VString<string | undefined, "optional">;
|
|
1097
|
+
version: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1098
|
+
errorCode: convex_values82.VString<string | undefined, "optional">;
|
|
1099
|
+
}, "required", "errorCode" | "userId" | "connectionId" | "changed" | "protocol" | "domain" | "recordName" | "expiresAt" | "verifiedAt" | "metadataUrl" | "domains" | "issuer" | "discoveryUrl" | "jwksUri" | "audience" | "tokenEndpointAuthMethod" | "version">, convex_values82.VObject<{
|
|
1104
1100
|
userId?: string | undefined;
|
|
1101
|
+
scimConfigId?: string | undefined;
|
|
1102
|
+
resourceType?: "user" | "group" | undefined;
|
|
1103
|
+
resourceId?: string | undefined;
|
|
1105
1104
|
operation?: string | undefined;
|
|
1106
1105
|
externalId?: string | undefined;
|
|
1107
|
-
groupId?: string | undefined;
|
|
1108
1106
|
active?: boolean | undefined;
|
|
1109
|
-
|
|
1110
|
-
scimConfigId?: string | undefined;
|
|
1111
|
-
resourceId?: string | undefined;
|
|
1107
|
+
groupId?: string | undefined;
|
|
1112
1108
|
}, {
|
|
1113
|
-
scimConfigId:
|
|
1114
|
-
resourceType:
|
|
1115
|
-
resourceId:
|
|
1116
|
-
operation:
|
|
1117
|
-
externalId:
|
|
1118
|
-
active:
|
|
1119
|
-
groupId:
|
|
1120
|
-
userId:
|
|
1121
|
-
}, "required", "userId" | "
|
|
1122
|
-
status?: number | undefined;
|
|
1109
|
+
scimConfigId: convex_values82.VString<string | undefined, "optional">;
|
|
1110
|
+
resourceType: convex_values82.VUnion<"user" | "group" | undefined, [convex_values82.VLiteral<"user", "required">, convex_values82.VLiteral<"group", "required">], "optional", never>;
|
|
1111
|
+
resourceId: convex_values82.VString<string | undefined, "optional">;
|
|
1112
|
+
operation: convex_values82.VString<string | undefined, "optional">;
|
|
1113
|
+
externalId: convex_values82.VString<string | undefined, "optional">;
|
|
1114
|
+
active: convex_values82.VBoolean<boolean | undefined, "optional">;
|
|
1115
|
+
groupId: convex_values82.VString<string | undefined, "optional">;
|
|
1116
|
+
userId: convex_values82.VString<string | undefined, "optional">;
|
|
1117
|
+
}, "required", "userId" | "scimConfigId" | "resourceType" | "resourceId" | "operation" | "externalId" | "active" | "groupId">, convex_values82.VObject<{
|
|
1123
1118
|
endpointId?: string | undefined;
|
|
1124
1119
|
deliveryId?: string | undefined;
|
|
1125
1120
|
sourceEventId?: string | undefined;
|
|
1126
1121
|
sourceEventType?: "user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed" | undefined;
|
|
1127
1122
|
attemptCount?: number | undefined;
|
|
1123
|
+
status?: number | undefined;
|
|
1128
1124
|
error?: string | undefined;
|
|
1129
1125
|
}, {
|
|
1130
|
-
endpointId:
|
|
1131
|
-
deliveryId:
|
|
1132
|
-
sourceEventId:
|
|
1133
|
-
sourceEventType:
|
|
1134
|
-
attemptCount:
|
|
1135
|
-
status:
|
|
1136
|
-
error:
|
|
1137
|
-
}, "required", "
|
|
1138
|
-
}, "required", "
|
|
1126
|
+
endpointId: convex_values82.VString<string | undefined, "optional">;
|
|
1127
|
+
deliveryId: convex_values82.VString<string | undefined, "optional">;
|
|
1128
|
+
sourceEventId: convex_values82.VString<string | undefined, "optional">;
|
|
1129
|
+
sourceEventType: convex_values82.VUnion<"user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed" | undefined, convex_values82.VLiteral<"user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed", "required">[], "optional", never>;
|
|
1130
|
+
attemptCount: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1131
|
+
status: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1132
|
+
error: convex_values82.VString<string | undefined, "optional">;
|
|
1133
|
+
}, "required", "endpointId" | "deliveryId" | "sourceEventId" | "sourceEventType" | "attemptCount" | "status" | "error">], "optional", "profile" | "email" | "type" | "flow" | "phone" | "errorCode" | "provider" | "existingUserId" | `profile.${string}` | "method" | "userId" | "reason" | "sessionId" | "refreshTokenId" | "providerAccountId" | "accountId" | "passkeyId" | "credentialId" | "totpId" | "keyId" | "name" | "prefix" | "clientId" | "codeId" | "scopes" | "redirectUri" | "grantType" | "resource" | "connectionId" | "changed" | "protocol" | "domain" | "recordName" | "expiresAt" | "verifiedAt" | "metadataUrl" | "domains" | "issuer" | "discoveryUrl" | "jwksUri" | "audience" | "tokenEndpointAuthMethod" | "version" | "scimConfigId" | "resourceType" | "resourceId" | "operation" | "externalId" | "active" | "groupId" | "endpointId" | "deliveryId" | "sourceEventId" | "sourceEventType" | "attemptCount" | "status" | "error">;
|
|
1134
|
+
}, "required", "eventId" | "kind" | "category" | "occurredAt" | "requestId" | "ip" | "userAgent" | "outcome" | "errorCode" | "data" | "data.profile" | "data.email" | "data.type" | "data.flow" | "data.phone" | "data.errorCode" | "data.provider" | "data.existingUserId" | `data.profile.${string}` | "data.method" | "data.userId" | "data.reason" | "data.sessionId" | "data.refreshTokenId" | "data.providerAccountId" | "data.accountId" | "data.passkeyId" | "data.credentialId" | "data.totpId" | "data.keyId" | "data.name" | "data.prefix" | "data.clientId" | "data.codeId" | "data.scopes" | "data.redirectUri" | "data.grantType" | "data.resource" | "data.connectionId" | "data.changed" | "data.protocol" | "data.domain" | "data.recordName" | "data.expiresAt" | "data.verifiedAt" | "data.metadataUrl" | "data.domains" | "data.issuer" | "data.discoveryUrl" | "data.jwksUri" | "data.audience" | "data.tokenEndpointAuthMethod" | "data.version" | "data.scimConfigId" | "data.resourceType" | "data.resourceId" | "data.operation" | "data.externalId" | "data.active" | "data.groupId" | "data.endpointId" | "data.deliveryId" | "data.sourceEventId" | "data.sourceEventType" | "data.attemptCount" | "data.status" | "data.error" | "targetKind" | "actorType" | "subjectType" | "targetId" | "actorId" | "subjectId">, {
|
|
1139
1135
|
target_time: ["targetKind", "targetId", "occurredAt", "_creationTime"];
|
|
1140
1136
|
target_kind_time: ["targetKind", "targetId", "kind", "occurredAt", "_creationTime"];
|
|
1141
1137
|
target_outcome_time: ["targetKind", "targetId", "outcome", "occurredAt", "_creationTime"];
|
|
@@ -1149,64 +1145,64 @@ declare const testHelpers: {
|
|
|
1149
1145
|
request_id_time: ["requestId", "occurredAt", "_creationTime"];
|
|
1150
1146
|
occurred_at: ["occurredAt", "_creationTime"];
|
|
1151
1147
|
}, {}, {}>;
|
|
1152
|
-
GroupWebhookEndpoint: convex_server24.TableDefinition<
|
|
1148
|
+
GroupWebhookEndpoint: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
1153
1149
|
extend?: any;
|
|
1154
|
-
createdByUserId?:
|
|
1150
|
+
createdByUserId?: convex_values82.GenericId<"User"> | undefined;
|
|
1155
1151
|
lastSuccessAt?: number | undefined;
|
|
1156
1152
|
lastFailureAt?: number | undefined;
|
|
1157
|
-
connectionId:
|
|
1153
|
+
connectionId: convex_values82.GenericId<"GroupConnection">;
|
|
1154
|
+
groupId: convex_values82.GenericId<"Group">;
|
|
1158
1155
|
status: "active" | "disabled";
|
|
1159
|
-
groupId: convex_values6.GenericId<"Group">;
|
|
1160
1156
|
url: string;
|
|
1161
1157
|
secretCiphertext: string;
|
|
1162
1158
|
subscriptions: ("user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed")[];
|
|
1163
1159
|
failureCount: number;
|
|
1164
1160
|
}, {
|
|
1165
|
-
connectionId:
|
|
1166
|
-
groupId:
|
|
1167
|
-
url:
|
|
1168
|
-
status:
|
|
1169
|
-
secretCiphertext:
|
|
1170
|
-
subscriptions:
|
|
1171
|
-
createdByUserId:
|
|
1172
|
-
lastSuccessAt:
|
|
1173
|
-
lastFailureAt:
|
|
1174
|
-
failureCount:
|
|
1175
|
-
extend:
|
|
1176
|
-
}, "required", "extend" |
|
|
1161
|
+
connectionId: convex_values82.VId<convex_values82.GenericId<"GroupConnection">, "required">;
|
|
1162
|
+
groupId: convex_values82.VId<convex_values82.GenericId<"Group">, "required">;
|
|
1163
|
+
url: convex_values82.VString<string, "required">;
|
|
1164
|
+
status: convex_values82.VUnion<"active" | "disabled", [convex_values82.VLiteral<"active", "required">, convex_values82.VLiteral<"disabled", "required">], "required", never>;
|
|
1165
|
+
secretCiphertext: convex_values82.VString<string, "required">;
|
|
1166
|
+
subscriptions: convex_values82.VArray<("user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed")[], convex_values82.VUnion<"user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed", convex_values82.VLiteral<"user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed", "required">[], "required", never>, "required">;
|
|
1167
|
+
createdByUserId: convex_values82.VId<convex_values82.GenericId<"User"> | undefined, "optional">;
|
|
1168
|
+
lastSuccessAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1169
|
+
lastFailureAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1170
|
+
failureCount: convex_values82.VFloat64<number, "required">;
|
|
1171
|
+
extend: convex_values82.VAny<any, "optional", string>;
|
|
1172
|
+
}, "required", "extend" | "connectionId" | "groupId" | "status" | `extend.${string}` | "url" | "secretCiphertext" | "subscriptions" | "createdByUserId" | "lastSuccessAt" | "lastFailureAt" | "failureCount">, {
|
|
1177
1173
|
group_connection_id: ["connectionId", "_creationTime"];
|
|
1178
1174
|
group_id: ["groupId", "_creationTime"];
|
|
1179
1175
|
status: ["status", "_creationTime"];
|
|
1180
1176
|
}, {}, {}>;
|
|
1181
|
-
GroupWebhookDelivery: convex_server24.TableDefinition<
|
|
1177
|
+
GroupWebhookDelivery: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
1182
1178
|
lastAttemptAt?: number | undefined;
|
|
1183
1179
|
lastResponseStatus?: number | undefined;
|
|
1184
1180
|
lastError?: string | undefined;
|
|
1185
|
-
connectionId: convex_values6.GenericId<"GroupConnection">;
|
|
1186
|
-
signature: string;
|
|
1187
|
-
status: "pending" | "processing" | "delivered" | "failed";
|
|
1188
|
-
kind: "user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed";
|
|
1189
1181
|
eventId: string;
|
|
1190
|
-
|
|
1182
|
+
kind: "user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed";
|
|
1183
|
+
connectionId: convex_values82.GenericId<"GroupConnection">;
|
|
1184
|
+
endpointId: convex_values82.GenericId<"GroupWebhookEndpoint">;
|
|
1191
1185
|
attemptCount: number;
|
|
1186
|
+
status: "pending" | "failed" | "processing" | "delivered";
|
|
1187
|
+
signature: string;
|
|
1192
1188
|
nextAttemptAt: number;
|
|
1193
1189
|
payload: any;
|
|
1194
1190
|
signedAt: number;
|
|
1195
1191
|
}, {
|
|
1196
|
-
connectionId:
|
|
1197
|
-
endpointId:
|
|
1198
|
-
eventId:
|
|
1199
|
-
kind:
|
|
1200
|
-
status:
|
|
1201
|
-
attemptCount:
|
|
1202
|
-
nextAttemptAt:
|
|
1203
|
-
lastAttemptAt:
|
|
1204
|
-
lastResponseStatus:
|
|
1205
|
-
lastError:
|
|
1206
|
-
payload:
|
|
1207
|
-
signature:
|
|
1208
|
-
signedAt:
|
|
1209
|
-
}, "required", "
|
|
1192
|
+
connectionId: convex_values82.VId<convex_values82.GenericId<"GroupConnection">, "required">;
|
|
1193
|
+
endpointId: convex_values82.VId<convex_values82.GenericId<"GroupWebhookEndpoint">, "required">;
|
|
1194
|
+
eventId: convex_values82.VString<string, "required">;
|
|
1195
|
+
kind: convex_values82.VUnion<"user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed", convex_values82.VLiteral<"user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed", "required">[], "required", never>;
|
|
1196
|
+
status: convex_values82.VUnion<"pending" | "failed" | "processing" | "delivered", [convex_values82.VLiteral<"pending", "required">, convex_values82.VLiteral<"processing", "required">, convex_values82.VLiteral<"delivered", "required">, convex_values82.VLiteral<"failed", "required">], "required", never>;
|
|
1197
|
+
attemptCount: convex_values82.VFloat64<number, "required">;
|
|
1198
|
+
nextAttemptAt: convex_values82.VFloat64<number, "required">;
|
|
1199
|
+
lastAttemptAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1200
|
+
lastResponseStatus: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1201
|
+
lastError: convex_values82.VString<string | undefined, "optional">;
|
|
1202
|
+
payload: convex_values82.VAny<any, "required", string>;
|
|
1203
|
+
signature: convex_values82.VString<string, "required">;
|
|
1204
|
+
signedAt: convex_values82.VFloat64<number, "required">;
|
|
1205
|
+
}, "required", "eventId" | "kind" | "connectionId" | "endpointId" | "attemptCount" | "status" | "signature" | "nextAttemptAt" | "lastAttemptAt" | "lastResponseStatus" | "lastError" | "payload" | "signedAt" | `payload.${string}`>, {
|
|
1210
1206
|
group_connection_id: ["connectionId", "_creationTime"];
|
|
1211
1207
|
status_next_attempt_at: ["status", "nextAttemptAt", "_creationTime"];
|
|
1212
1208
|
status_signed_at: ["status", "signedAt", "_creationTime"];
|
|
@@ -1214,10 +1210,10 @@ declare const testHelpers: {
|
|
|
1214
1210
|
event_id: ["eventId", "_creationTime"];
|
|
1215
1211
|
event_id_endpoint_id: ["eventId", "endpointId", "_creationTime"];
|
|
1216
1212
|
}, {}, {}>;
|
|
1217
|
-
ApiKey: convex_server24.TableDefinition<
|
|
1213
|
+
ApiKey: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
1218
1214
|
extend?: any;
|
|
1219
|
-
lastUsedAt?: number | undefined;
|
|
1220
1215
|
expiresAt?: number | undefined;
|
|
1216
|
+
lastUsedAt?: number | undefined;
|
|
1221
1217
|
rateLimit?: {
|
|
1222
1218
|
maxRequests: number;
|
|
1223
1219
|
windowMs: number;
|
|
@@ -1226,149 +1222,644 @@ declare const testHelpers: {
|
|
|
1226
1222
|
attemptsLeft: number;
|
|
1227
1223
|
lastAttemptTime: number;
|
|
1228
1224
|
} | undefined;
|
|
1225
|
+
userId: convex_values82.GenericId<"User">;
|
|
1229
1226
|
name: string;
|
|
1230
|
-
userId: convex_values6.GenericId<"User">;
|
|
1231
|
-
createdAt: number;
|
|
1232
|
-
revoked: boolean;
|
|
1233
1227
|
prefix: string;
|
|
1234
1228
|
scopes: {
|
|
1235
1229
|
resource: string;
|
|
1236
1230
|
actions: string[];
|
|
1237
1231
|
}[];
|
|
1232
|
+
createdAt: number;
|
|
1233
|
+
revoked: boolean;
|
|
1238
1234
|
hashedKey: string;
|
|
1239
1235
|
}, {
|
|
1240
|
-
userId:
|
|
1241
|
-
prefix:
|
|
1242
|
-
hashedKey:
|
|
1243
|
-
name:
|
|
1244
|
-
scopes:
|
|
1236
|
+
userId: convex_values82.VId<convex_values82.GenericId<"User">, "required">;
|
|
1237
|
+
prefix: convex_values82.VString<string, "required">;
|
|
1238
|
+
hashedKey: convex_values82.VString<string, "required">;
|
|
1239
|
+
name: convex_values82.VString<string, "required">;
|
|
1240
|
+
scopes: convex_values82.VArray<{
|
|
1245
1241
|
resource: string;
|
|
1246
1242
|
actions: string[];
|
|
1247
|
-
}[],
|
|
1243
|
+
}[], convex_values82.VObject<{
|
|
1248
1244
|
resource: string;
|
|
1249
1245
|
actions: string[];
|
|
1250
1246
|
}, {
|
|
1251
|
-
resource:
|
|
1252
|
-
actions:
|
|
1247
|
+
resource: convex_values82.VString<string, "required">;
|
|
1248
|
+
actions: convex_values82.VArray<string[], convex_values82.VString<string, "required">, "required">;
|
|
1253
1249
|
}, "required", "resource" | "actions">, "required">;
|
|
1254
|
-
rateLimit:
|
|
1250
|
+
rateLimit: convex_values82.VObject<{
|
|
1255
1251
|
maxRequests: number;
|
|
1256
1252
|
windowMs: number;
|
|
1257
1253
|
} | undefined, {
|
|
1258
|
-
maxRequests:
|
|
1259
|
-
windowMs:
|
|
1254
|
+
maxRequests: convex_values82.VFloat64<number, "required">;
|
|
1255
|
+
windowMs: convex_values82.VFloat64<number, "required">;
|
|
1260
1256
|
}, "optional", "maxRequests" | "windowMs">;
|
|
1261
|
-
rateLimitState:
|
|
1257
|
+
rateLimitState: convex_values82.VObject<{
|
|
1262
1258
|
attemptsLeft: number;
|
|
1263
1259
|
lastAttemptTime: number;
|
|
1264
1260
|
} | undefined, {
|
|
1265
|
-
attemptsLeft:
|
|
1266
|
-
lastAttemptTime:
|
|
1261
|
+
attemptsLeft: convex_values82.VFloat64<number, "required">;
|
|
1262
|
+
lastAttemptTime: convex_values82.VFloat64<number, "required">;
|
|
1267
1263
|
}, "optional", "attemptsLeft" | "lastAttemptTime">;
|
|
1268
|
-
expiresAt:
|
|
1269
|
-
lastUsedAt:
|
|
1270
|
-
createdAt:
|
|
1271
|
-
revoked:
|
|
1272
|
-
extend:
|
|
1273
|
-
}, "required", "
|
|
1264
|
+
expiresAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1265
|
+
lastUsedAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1266
|
+
createdAt: convex_values82.VFloat64<number, "required">;
|
|
1267
|
+
revoked: convex_values82.VBoolean<boolean, "required">;
|
|
1268
|
+
extend: convex_values82.VAny<any, "optional", string>;
|
|
1269
|
+
}, "required", "extend" | "userId" | "name" | "prefix" | "scopes" | "expiresAt" | `extend.${string}` | "createdAt" | "lastUsedAt" | "revoked" | "hashedKey" | "rateLimit" | "rateLimitState" | "rateLimit.maxRequests" | "rateLimit.windowMs" | "rateLimitState.attemptsLeft" | "rateLimitState.lastAttemptTime">, {
|
|
1274
1270
|
user_id: ["userId", "_creationTime"];
|
|
1275
1271
|
hashed_key: ["hashedKey", "_creationTime"];
|
|
1276
1272
|
}, {}, {}>;
|
|
1277
|
-
OAuthClient: convex_server24.TableDefinition<
|
|
1273
|
+
OAuthClient: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
1278
1274
|
extend?: any;
|
|
1279
1275
|
clientSecretHash?: string | undefined;
|
|
1280
1276
|
registrationAccessTokenHash?: string | undefined;
|
|
1281
|
-
createdBy?:
|
|
1277
|
+
createdBy?: convex_values82.GenericId<"User"> | undefined;
|
|
1282
1278
|
revokedAt?: number | undefined;
|
|
1283
1279
|
name: string;
|
|
1284
|
-
revoked: boolean;
|
|
1285
1280
|
clientId: string;
|
|
1286
1281
|
scopes: string[];
|
|
1287
1282
|
tokenEndpointAuthMethod: "none" | "client_secret_basic" | "client_secret_post";
|
|
1283
|
+
revoked: boolean;
|
|
1288
1284
|
redirectUris: string[];
|
|
1289
1285
|
grantTypes: string[];
|
|
1290
1286
|
}, {
|
|
1291
|
-
clientId:
|
|
1292
|
-
clientSecretHash:
|
|
1293
|
-
name:
|
|
1294
|
-
redirectUris:
|
|
1295
|
-
scopes:
|
|
1296
|
-
grantTypes:
|
|
1297
|
-
tokenEndpointAuthMethod:
|
|
1298
|
-
registrationAccessTokenHash:
|
|
1299
|
-
createdBy:
|
|
1300
|
-
revoked:
|
|
1301
|
-
revokedAt:
|
|
1302
|
-
extend:
|
|
1303
|
-
}, "required", "
|
|
1287
|
+
clientId: convex_values82.VString<string, "required">;
|
|
1288
|
+
clientSecretHash: convex_values82.VString<string | undefined, "optional">;
|
|
1289
|
+
name: convex_values82.VString<string, "required">;
|
|
1290
|
+
redirectUris: convex_values82.VArray<string[], convex_values82.VString<string, "required">, "required">;
|
|
1291
|
+
scopes: convex_values82.VArray<string[], convex_values82.VString<string, "required">, "required">;
|
|
1292
|
+
grantTypes: convex_values82.VArray<string[], convex_values82.VString<string, "required">, "required">;
|
|
1293
|
+
tokenEndpointAuthMethod: convex_values82.VUnion<"none" | "client_secret_basic" | "client_secret_post", [convex_values82.VLiteral<"client_secret_basic", "required">, convex_values82.VLiteral<"client_secret_post", "required">, convex_values82.VLiteral<"none", "required">], "required", never>;
|
|
1294
|
+
registrationAccessTokenHash: convex_values82.VString<string | undefined, "optional">;
|
|
1295
|
+
createdBy: convex_values82.VId<convex_values82.GenericId<"User"> | undefined, "optional">;
|
|
1296
|
+
revoked: convex_values82.VBoolean<boolean, "required">;
|
|
1297
|
+
revokedAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1298
|
+
extend: convex_values82.VAny<any, "optional", string>;
|
|
1299
|
+
}, "required", "extend" | "name" | "clientId" | "scopes" | "tokenEndpointAuthMethod" | `extend.${string}` | "revoked" | "clientSecretHash" | "redirectUris" | "grantTypes" | "registrationAccessTokenHash" | "createdBy" | "revokedAt">, {
|
|
1304
1300
|
client_id: ["clientId", "_creationTime"];
|
|
1305
1301
|
created_by: ["createdBy", "_creationTime"];
|
|
1306
1302
|
created_by_revoked: ["createdBy", "revoked", "_creationTime"];
|
|
1307
1303
|
revoked: ["revoked", "_creationTime"];
|
|
1308
1304
|
revoked_at: ["revoked", "revokedAt", "_creationTime"];
|
|
1309
1305
|
}, {}, {}>;
|
|
1310
|
-
OAuthCode: convex_server24.TableDefinition<
|
|
1306
|
+
OAuthCode: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
1311
1307
|
resource?: string | undefined;
|
|
1312
1308
|
usedAt?: number | undefined;
|
|
1313
|
-
userId:
|
|
1314
|
-
expiresAt: number;
|
|
1309
|
+
userId: convex_values82.GenericId<"User">;
|
|
1315
1310
|
clientId: string;
|
|
1316
1311
|
scopes: string[];
|
|
1317
1312
|
redirectUri: string;
|
|
1313
|
+
expiresAt: number;
|
|
1318
1314
|
codeHash: string;
|
|
1319
1315
|
codeChallenge: string;
|
|
1320
1316
|
}, {
|
|
1321
|
-
codeHash:
|
|
1322
|
-
userId:
|
|
1323
|
-
clientId:
|
|
1324
|
-
redirectUri:
|
|
1325
|
-
scopes:
|
|
1326
|
-
codeChallenge:
|
|
1327
|
-
resource:
|
|
1328
|
-
expiresAt:
|
|
1329
|
-
usedAt:
|
|
1330
|
-
}, "required", "userId" | "
|
|
1317
|
+
codeHash: convex_values82.VString<string, "required">;
|
|
1318
|
+
userId: convex_values82.VId<convex_values82.GenericId<"User">, "required">;
|
|
1319
|
+
clientId: convex_values82.VString<string, "required">;
|
|
1320
|
+
redirectUri: convex_values82.VString<string, "required">;
|
|
1321
|
+
scopes: convex_values82.VArray<string[], convex_values82.VString<string, "required">, "required">;
|
|
1322
|
+
codeChallenge: convex_values82.VString<string, "required">;
|
|
1323
|
+
resource: convex_values82.VString<string | undefined, "optional">;
|
|
1324
|
+
expiresAt: convex_values82.VFloat64<number, "required">;
|
|
1325
|
+
usedAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1326
|
+
}, "required", "userId" | "clientId" | "scopes" | "redirectUri" | "resource" | "expiresAt" | "codeHash" | "codeChallenge" | "usedAt">, {
|
|
1331
1327
|
code_hash: ["codeHash", "_creationTime"];
|
|
1332
1328
|
user_id: ["userId", "_creationTime"];
|
|
1333
1329
|
expires_at: ["expiresAt", "_creationTime"];
|
|
1334
1330
|
}, {}, {}>;
|
|
1335
|
-
OAuthRefreshGrant: convex_server24.TableDefinition<
|
|
1331
|
+
OAuthRefreshGrant: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
1336
1332
|
resource?: string | undefined;
|
|
1337
1333
|
revokedAt?: number | undefined;
|
|
1338
|
-
userId:
|
|
1339
|
-
expiresAt: number;
|
|
1334
|
+
userId: convex_values82.GenericId<"User">;
|
|
1340
1335
|
clientId: string;
|
|
1341
1336
|
scopes: string[];
|
|
1337
|
+
expiresAt: number;
|
|
1342
1338
|
}, {
|
|
1343
|
-
clientId:
|
|
1344
|
-
userId:
|
|
1345
|
-
scopes:
|
|
1346
|
-
resource:
|
|
1347
|
-
expiresAt:
|
|
1348
|
-
revokedAt:
|
|
1349
|
-
}, "required", "userId" | "
|
|
1339
|
+
clientId: convex_values82.VString<string, "required">;
|
|
1340
|
+
userId: convex_values82.VId<convex_values82.GenericId<"User">, "required">;
|
|
1341
|
+
scopes: convex_values82.VArray<string[], convex_values82.VString<string, "required">, "required">;
|
|
1342
|
+
resource: convex_values82.VString<string | undefined, "optional">;
|
|
1343
|
+
expiresAt: convex_values82.VFloat64<number, "required">;
|
|
1344
|
+
revokedAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1345
|
+
}, "required", "userId" | "clientId" | "scopes" | "resource" | "expiresAt" | "revokedAt">, {
|
|
1350
1346
|
expires_at: ["expiresAt", "_creationTime"];
|
|
1351
1347
|
revoked_at: ["revokedAt", "_creationTime"];
|
|
1352
1348
|
}, {}, {}>;
|
|
1353
|
-
OAuthRefreshToken: convex_server24.TableDefinition<
|
|
1349
|
+
OAuthRefreshToken: convex_server24.TableDefinition<convex_values82.VObject<{
|
|
1354
1350
|
firstUsedTime?: number | undefined;
|
|
1355
|
-
parentTokenId?:
|
|
1351
|
+
parentTokenId?: convex_values82.GenericId<"OAuthRefreshToken"> | undefined;
|
|
1356
1352
|
expiresAt: number;
|
|
1357
1353
|
tokenHash: string;
|
|
1358
|
-
grantId:
|
|
1354
|
+
grantId: convex_values82.GenericId<"OAuthRefreshGrant">;
|
|
1359
1355
|
}, {
|
|
1360
|
-
tokenHash:
|
|
1361
|
-
grantId:
|
|
1362
|
-
expiresAt:
|
|
1363
|
-
firstUsedTime:
|
|
1364
|
-
parentTokenId:
|
|
1365
|
-
}, "required", "
|
|
1356
|
+
tokenHash: convex_values82.VString<string, "required">;
|
|
1357
|
+
grantId: convex_values82.VId<convex_values82.GenericId<"OAuthRefreshGrant">, "required">;
|
|
1358
|
+
expiresAt: convex_values82.VFloat64<number, "required">;
|
|
1359
|
+
firstUsedTime: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1360
|
+
parentTokenId: convex_values82.VId<convex_values82.GenericId<"OAuthRefreshToken"> | undefined, "optional">;
|
|
1361
|
+
}, "required", "expiresAt" | "firstUsedTime" | "tokenHash" | "grantId" | "parentTokenId">, {
|
|
1366
1362
|
token_hash: ["tokenHash", "_creationTime"];
|
|
1367
1363
|
grant_id: ["grantId", "_creationTime"];
|
|
1368
1364
|
grant_id_first_used: ["grantId", "firstUsedTime", "_creationTime"];
|
|
1369
1365
|
grant_id_parent_token_id_first_used: ["grantId", "parentTokenId", "firstUsedTime", "_creationTime"];
|
|
1370
1366
|
expires_at: ["expiresAt", "_creationTime"];
|
|
1371
1367
|
}, {}, {}>;
|
|
1368
|
+
AuthEventStream: convex_server24.TableDefinition<convex_values82.VUnion<{
|
|
1369
|
+
key?: string | undefined;
|
|
1370
|
+
expiresAt?: number | undefined;
|
|
1371
|
+
attempt: number;
|
|
1372
|
+
status: "pending";
|
|
1373
|
+
restarts: number;
|
|
1374
|
+
} | {
|
|
1375
|
+
key?: string | undefined;
|
|
1376
|
+
expiresAt?: number | undefined;
|
|
1377
|
+
attempt: number;
|
|
1378
|
+
status: "streaming";
|
|
1379
|
+
restarts: number;
|
|
1380
|
+
} | {
|
|
1381
|
+
key?: string | undefined;
|
|
1382
|
+
expiresAt?: number | undefined;
|
|
1383
|
+
attempt: number;
|
|
1384
|
+
status: "done";
|
|
1385
|
+
restarts: number;
|
|
1386
|
+
} | {
|
|
1387
|
+
key?: string | undefined;
|
|
1388
|
+
expiresAt?: number | undefined;
|
|
1389
|
+
attempt: number;
|
|
1390
|
+
status: "canceled";
|
|
1391
|
+
restarts: number;
|
|
1392
|
+
} | {
|
|
1393
|
+
key?: string | undefined;
|
|
1394
|
+
expiresAt?: number | undefined;
|
|
1395
|
+
attempt: number;
|
|
1396
|
+
status: "failed";
|
|
1397
|
+
restarts: number;
|
|
1398
|
+
error: {
|
|
1399
|
+
code: string;
|
|
1400
|
+
message: string;
|
|
1401
|
+
};
|
|
1402
|
+
} | {
|
|
1403
|
+
key?: string | undefined;
|
|
1404
|
+
expiresAt?: number | undefined;
|
|
1405
|
+
attempt: number;
|
|
1406
|
+
status: "deleting";
|
|
1407
|
+
restarts: number;
|
|
1408
|
+
deletingAt: number;
|
|
1409
|
+
}, [convex_values82.VObject<{
|
|
1410
|
+
key?: string | undefined;
|
|
1411
|
+
expiresAt?: number | undefined;
|
|
1412
|
+
attempt: number;
|
|
1413
|
+
status: "pending";
|
|
1414
|
+
restarts: number;
|
|
1415
|
+
}, {
|
|
1416
|
+
status: convex_values82.VLiteral<"pending", "required">;
|
|
1417
|
+
key: convex_values82.VString<string | undefined, "optional">;
|
|
1418
|
+
attempt: convex_values82.VFloat64<number, "required">;
|
|
1419
|
+
expiresAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1420
|
+
restarts: convex_values82.VFloat64<number, "required">;
|
|
1421
|
+
}, "required", "expiresAt" | "status" | "attempt" | "key" | "restarts">, convex_values82.VObject<{
|
|
1422
|
+
key?: string | undefined;
|
|
1423
|
+
expiresAt?: number | undefined;
|
|
1424
|
+
attempt: number;
|
|
1425
|
+
status: "streaming";
|
|
1426
|
+
restarts: number;
|
|
1427
|
+
}, {
|
|
1428
|
+
status: convex_values82.VLiteral<"streaming", "required">;
|
|
1429
|
+
key: convex_values82.VString<string | undefined, "optional">;
|
|
1430
|
+
attempt: convex_values82.VFloat64<number, "required">;
|
|
1431
|
+
expiresAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1432
|
+
restarts: convex_values82.VFloat64<number, "required">;
|
|
1433
|
+
}, "required", "expiresAt" | "status" | "attempt" | "key" | "restarts">, convex_values82.VObject<{
|
|
1434
|
+
key?: string | undefined;
|
|
1435
|
+
expiresAt?: number | undefined;
|
|
1436
|
+
attempt: number;
|
|
1437
|
+
status: "done";
|
|
1438
|
+
restarts: number;
|
|
1439
|
+
}, {
|
|
1440
|
+
status: convex_values82.VLiteral<"done", "required">;
|
|
1441
|
+
key: convex_values82.VString<string | undefined, "optional">;
|
|
1442
|
+
attempt: convex_values82.VFloat64<number, "required">;
|
|
1443
|
+
expiresAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1444
|
+
restarts: convex_values82.VFloat64<number, "required">;
|
|
1445
|
+
}, "required", "expiresAt" | "status" | "attempt" | "key" | "restarts">, convex_values82.VObject<{
|
|
1446
|
+
key?: string | undefined;
|
|
1447
|
+
expiresAt?: number | undefined;
|
|
1448
|
+
attempt: number;
|
|
1449
|
+
status: "canceled";
|
|
1450
|
+
restarts: number;
|
|
1451
|
+
}, {
|
|
1452
|
+
status: convex_values82.VLiteral<"canceled", "required">;
|
|
1453
|
+
key: convex_values82.VString<string | undefined, "optional">;
|
|
1454
|
+
attempt: convex_values82.VFloat64<number, "required">;
|
|
1455
|
+
expiresAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1456
|
+
restarts: convex_values82.VFloat64<number, "required">;
|
|
1457
|
+
}, "required", "expiresAt" | "status" | "attempt" | "key" | "restarts">, convex_values82.VObject<{
|
|
1458
|
+
key?: string | undefined;
|
|
1459
|
+
expiresAt?: number | undefined;
|
|
1460
|
+
attempt: number;
|
|
1461
|
+
status: "failed";
|
|
1462
|
+
restarts: number;
|
|
1463
|
+
error: {
|
|
1464
|
+
code: string;
|
|
1465
|
+
message: string;
|
|
1466
|
+
};
|
|
1467
|
+
}, {
|
|
1468
|
+
status: convex_values82.VLiteral<"failed", "required">;
|
|
1469
|
+
error: convex_values82.VObject<{
|
|
1470
|
+
code: string;
|
|
1471
|
+
message: string;
|
|
1472
|
+
}, {
|
|
1473
|
+
code: convex_values82.VString<string, "required">;
|
|
1474
|
+
message: convex_values82.VString<string, "required">;
|
|
1475
|
+
}, "required", "code" | "message">;
|
|
1476
|
+
key: convex_values82.VString<string | undefined, "optional">;
|
|
1477
|
+
attempt: convex_values82.VFloat64<number, "required">;
|
|
1478
|
+
expiresAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1479
|
+
restarts: convex_values82.VFloat64<number, "required">;
|
|
1480
|
+
}, "required", "expiresAt" | "status" | "error" | "attempt" | "key" | "restarts" | "error.code" | "error.message">, convex_values82.VObject<{
|
|
1481
|
+
key?: string | undefined;
|
|
1482
|
+
expiresAt?: number | undefined;
|
|
1483
|
+
attempt: number;
|
|
1484
|
+
status: "deleting";
|
|
1485
|
+
restarts: number;
|
|
1486
|
+
deletingAt: number;
|
|
1487
|
+
}, {
|
|
1488
|
+
status: convex_values82.VLiteral<"deleting", "required">;
|
|
1489
|
+
deletingAt: convex_values82.VFloat64<number, "required">;
|
|
1490
|
+
key: convex_values82.VString<string | undefined, "optional">;
|
|
1491
|
+
attempt: convex_values82.VFloat64<number, "required">;
|
|
1492
|
+
expiresAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1493
|
+
restarts: convex_values82.VFloat64<number, "required">;
|
|
1494
|
+
}, "required", "expiresAt" | "status" | "attempt" | "key" | "restarts" | "deletingAt">], "required", "expiresAt" | "status" | "error" | "attempt" | "key" | "restarts" | "error.code" | "error.message" | "deletingAt">, Record<"by_key", ["key", "_creationTime"]> & Record<"by_expiresAt", ["expiresAt", "_creationTime"]>, {}, {}>;
|
|
1495
|
+
AuthEventStreamEvents: convex_server24.TableDefinition<convex_values82.Validator<Omit<_convex_dev_stream_server0.StreamEventDoc<"AuthEventStream", convex_values82.VObject<{
|
|
1496
|
+
request?: {
|
|
1497
|
+
requestId?: string | undefined;
|
|
1498
|
+
ip?: string | undefined;
|
|
1499
|
+
userAgent?: string | undefined;
|
|
1500
|
+
} | undefined;
|
|
1501
|
+
errorCode?: string | undefined;
|
|
1502
|
+
data?: {
|
|
1503
|
+
profile?: Record<string, any> | undefined;
|
|
1504
|
+
type?: string | undefined;
|
|
1505
|
+
provider?: string | undefined;
|
|
1506
|
+
existingUserId?: string | undefined;
|
|
1507
|
+
} | {
|
|
1508
|
+
method?: string | undefined;
|
|
1509
|
+
provider: string;
|
|
1510
|
+
} | {
|
|
1511
|
+
flow?: "reset" | "change" | undefined;
|
|
1512
|
+
userId?: string | undefined;
|
|
1513
|
+
reason?: string | undefined;
|
|
1514
|
+
sessionId?: string | undefined;
|
|
1515
|
+
refreshTokenId?: string | undefined;
|
|
1516
|
+
} | {
|
|
1517
|
+
provider?: string | undefined;
|
|
1518
|
+
providerAccountId?: string | undefined;
|
|
1519
|
+
accountId?: string | undefined;
|
|
1520
|
+
} | {
|
|
1521
|
+
reason?: string | undefined;
|
|
1522
|
+
passkeyId?: string | undefined;
|
|
1523
|
+
credentialId?: string | undefined;
|
|
1524
|
+
totpId?: string | undefined;
|
|
1525
|
+
keyId?: string | undefined;
|
|
1526
|
+
name?: string | undefined;
|
|
1527
|
+
prefix?: string | undefined;
|
|
1528
|
+
} | {
|
|
1529
|
+
email?: string | undefined;
|
|
1530
|
+
phone?: string | undefined;
|
|
1531
|
+
userId?: string | undefined;
|
|
1532
|
+
} | {
|
|
1533
|
+
userId?: string | undefined;
|
|
1534
|
+
name?: string | undefined;
|
|
1535
|
+
clientId?: string | undefined;
|
|
1536
|
+
codeId?: string | undefined;
|
|
1537
|
+
scopes?: string[] | undefined;
|
|
1538
|
+
redirectUri?: string | undefined;
|
|
1539
|
+
grantType?: string | undefined;
|
|
1540
|
+
resource?: string | undefined;
|
|
1541
|
+
} | {
|
|
1542
|
+
errorCode?: string | undefined;
|
|
1543
|
+
userId?: string | undefined;
|
|
1544
|
+
connectionId?: string | undefined;
|
|
1545
|
+
changed?: string[] | undefined;
|
|
1546
|
+
protocol?: "oidc" | "saml" | undefined;
|
|
1547
|
+
domain?: string | undefined;
|
|
1548
|
+
recordName?: string | undefined;
|
|
1549
|
+
expiresAt?: number | undefined;
|
|
1550
|
+
verifiedAt?: number | undefined;
|
|
1551
|
+
metadataUrl?: string | undefined;
|
|
1552
|
+
domains?: string[] | undefined;
|
|
1553
|
+
issuer?: string | undefined;
|
|
1554
|
+
discoveryUrl?: string | undefined;
|
|
1555
|
+
jwksUri?: string | undefined;
|
|
1556
|
+
audience?: string | string[] | undefined;
|
|
1557
|
+
tokenEndpointAuthMethod?: string | undefined;
|
|
1558
|
+
version?: number | undefined;
|
|
1559
|
+
} | {
|
|
1560
|
+
userId?: string | undefined;
|
|
1561
|
+
scimConfigId?: string | undefined;
|
|
1562
|
+
resourceType?: "user" | "group" | undefined;
|
|
1563
|
+
resourceId?: string | undefined;
|
|
1564
|
+
operation?: string | undefined;
|
|
1565
|
+
externalId?: string | undefined;
|
|
1566
|
+
active?: boolean | undefined;
|
|
1567
|
+
groupId?: string | undefined;
|
|
1568
|
+
} | {
|
|
1569
|
+
endpointId?: string | undefined;
|
|
1570
|
+
deliveryId?: string | undefined;
|
|
1571
|
+
sourceEventId?: string | undefined;
|
|
1572
|
+
sourceEventType?: "user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed" | undefined;
|
|
1573
|
+
attemptCount?: number | undefined;
|
|
1574
|
+
status?: number | undefined;
|
|
1575
|
+
error?: string | undefined;
|
|
1576
|
+
} | undefined;
|
|
1577
|
+
eventId: string;
|
|
1578
|
+
kind: "user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed";
|
|
1579
|
+
category: "email" | "password" | "phone" | "user" | "session" | "account" | "passkey" | "totp" | "api_key" | "oauth" | "connection" | "scim" | "webhook" | "security";
|
|
1580
|
+
occurredAt: number;
|
|
1581
|
+
actor: {
|
|
1582
|
+
id?: string | undefined;
|
|
1583
|
+
type: "user" | "api_key" | "scim" | "webhook" | "system" | "oauth_client" | "anonymous";
|
|
1584
|
+
};
|
|
1585
|
+
subject: {
|
|
1586
|
+
id?: string | undefined;
|
|
1587
|
+
type: "email" | "phone" | "user" | "session" | "account" | "passkey" | "totp" | "api_key" | "connection" | "system" | "oauth_client" | "oauth_code" | "group" | "scim_identity" | "webhook_endpoint" | "webhook_delivery";
|
|
1588
|
+
};
|
|
1589
|
+
targets: {
|
|
1590
|
+
id: string;
|
|
1591
|
+
kind: "user" | "session" | "api_key" | "connection" | "oauth_client" | "group" | "global";
|
|
1592
|
+
}[];
|
|
1593
|
+
outcome: "success" | "failure";
|
|
1594
|
+
}, {
|
|
1595
|
+
eventId: convex_values82.VString<string, "required">;
|
|
1596
|
+
kind: convex_values82.VUnion<"user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed", convex_values82.VLiteral<"user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed", "required">[], "required", never>;
|
|
1597
|
+
category: convex_values82.VUnion<"email" | "password" | "phone" | "user" | "session" | "account" | "passkey" | "totp" | "api_key" | "oauth" | "connection" | "scim" | "webhook" | "security", convex_values82.VLiteral<"email" | "password" | "phone" | "user" | "session" | "account" | "passkey" | "totp" | "api_key" | "oauth" | "connection" | "scim" | "webhook" | "security", "required">[], "required", never>;
|
|
1598
|
+
occurredAt: convex_values82.VFloat64<number, "required">;
|
|
1599
|
+
actor: convex_values82.VObject<{
|
|
1600
|
+
id?: string | undefined;
|
|
1601
|
+
type: "user" | "api_key" | "scim" | "webhook" | "system" | "oauth_client" | "anonymous";
|
|
1602
|
+
}, {
|
|
1603
|
+
type: convex_values82.VUnion<"user" | "api_key" | "scim" | "webhook" | "system" | "oauth_client" | "anonymous", [convex_values82.VLiteral<"user", "required">, convex_values82.VLiteral<"system", "required">, convex_values82.VLiteral<"scim", "required">, convex_values82.VLiteral<"api_key", "required">, convex_values82.VLiteral<"oauth_client", "required">, convex_values82.VLiteral<"webhook", "required">, convex_values82.VLiteral<"anonymous", "required">], "required", never>;
|
|
1604
|
+
id: convex_values82.VString<string | undefined, "optional">;
|
|
1605
|
+
}, "required", "type" | "id">;
|
|
1606
|
+
subject: convex_values82.VObject<{
|
|
1607
|
+
id?: string | undefined;
|
|
1608
|
+
type: "email" | "phone" | "user" | "session" | "account" | "passkey" | "totp" | "api_key" | "connection" | "system" | "oauth_client" | "oauth_code" | "group" | "scim_identity" | "webhook_endpoint" | "webhook_delivery";
|
|
1609
|
+
}, {
|
|
1610
|
+
type: convex_values82.VUnion<"email" | "phone" | "user" | "session" | "account" | "passkey" | "totp" | "api_key" | "connection" | "system" | "oauth_client" | "oauth_code" | "group" | "scim_identity" | "webhook_endpoint" | "webhook_delivery", [convex_values82.VLiteral<"user", "required">, convex_values82.VLiteral<"session", "required">, convex_values82.VLiteral<"account", "required">, convex_values82.VLiteral<"passkey", "required">, convex_values82.VLiteral<"totp", "required">, convex_values82.VLiteral<"email", "required">, convex_values82.VLiteral<"phone", "required">, convex_values82.VLiteral<"api_key", "required">, convex_values82.VLiteral<"oauth_client", "required">, convex_values82.VLiteral<"oauth_code", "required">, convex_values82.VLiteral<"group", "required">, convex_values82.VLiteral<"connection", "required">, convex_values82.VLiteral<"scim_identity", "required">, convex_values82.VLiteral<"webhook_endpoint", "required">, convex_values82.VLiteral<"webhook_delivery", "required">, convex_values82.VLiteral<"system", "required">], "required", never>;
|
|
1611
|
+
id: convex_values82.VString<string | undefined, "optional">;
|
|
1612
|
+
}, "required", "type" | "id">;
|
|
1613
|
+
targets: convex_values82.VArray<{
|
|
1614
|
+
id: string;
|
|
1615
|
+
kind: "user" | "session" | "api_key" | "connection" | "oauth_client" | "group" | "global";
|
|
1616
|
+
}[], convex_values82.VObject<{
|
|
1617
|
+
id: string;
|
|
1618
|
+
kind: "user" | "session" | "api_key" | "connection" | "oauth_client" | "group" | "global";
|
|
1619
|
+
}, {
|
|
1620
|
+
kind: convex_values82.VUnion<"user" | "session" | "api_key" | "connection" | "oauth_client" | "group" | "global", [convex_values82.VLiteral<"user", "required">, convex_values82.VLiteral<"session", "required">, convex_values82.VLiteral<"group", "required">, convex_values82.VLiteral<"connection", "required">, convex_values82.VLiteral<"oauth_client", "required">, convex_values82.VLiteral<"api_key", "required">, convex_values82.VLiteral<"global", "required">], "required", never>;
|
|
1621
|
+
id: convex_values82.VString<string, "required">;
|
|
1622
|
+
}, "required", "id" | "kind">, "required">;
|
|
1623
|
+
request: convex_values82.VObject<{
|
|
1624
|
+
requestId?: string | undefined;
|
|
1625
|
+
ip?: string | undefined;
|
|
1626
|
+
userAgent?: string | undefined;
|
|
1627
|
+
} | undefined, {
|
|
1628
|
+
requestId: convex_values82.VString<string | undefined, "optional">;
|
|
1629
|
+
ip: convex_values82.VString<string | undefined, "optional">;
|
|
1630
|
+
userAgent: convex_values82.VString<string | undefined, "optional">;
|
|
1631
|
+
}, "optional", "requestId" | "ip" | "userAgent">;
|
|
1632
|
+
outcome: convex_values82.VUnion<"success" | "failure", [convex_values82.VLiteral<"success", "required">, convex_values82.VLiteral<"failure", "required">], "required", never>;
|
|
1633
|
+
errorCode: convex_values82.VString<string | undefined, "optional">;
|
|
1634
|
+
data: convex_values82.VUnion<{
|
|
1635
|
+
profile?: Record<string, any> | undefined;
|
|
1636
|
+
type?: string | undefined;
|
|
1637
|
+
provider?: string | undefined;
|
|
1638
|
+
existingUserId?: string | undefined;
|
|
1639
|
+
} | {
|
|
1640
|
+
method?: string | undefined;
|
|
1641
|
+
provider: string;
|
|
1642
|
+
} | {
|
|
1643
|
+
flow?: "reset" | "change" | undefined;
|
|
1644
|
+
userId?: string | undefined;
|
|
1645
|
+
reason?: string | undefined;
|
|
1646
|
+
sessionId?: string | undefined;
|
|
1647
|
+
refreshTokenId?: string | undefined;
|
|
1648
|
+
} | {
|
|
1649
|
+
provider?: string | undefined;
|
|
1650
|
+
providerAccountId?: string | undefined;
|
|
1651
|
+
accountId?: string | undefined;
|
|
1652
|
+
} | {
|
|
1653
|
+
reason?: string | undefined;
|
|
1654
|
+
passkeyId?: string | undefined;
|
|
1655
|
+
credentialId?: string | undefined;
|
|
1656
|
+
totpId?: string | undefined;
|
|
1657
|
+
keyId?: string | undefined;
|
|
1658
|
+
name?: string | undefined;
|
|
1659
|
+
prefix?: string | undefined;
|
|
1660
|
+
} | {
|
|
1661
|
+
email?: string | undefined;
|
|
1662
|
+
phone?: string | undefined;
|
|
1663
|
+
userId?: string | undefined;
|
|
1664
|
+
} | {
|
|
1665
|
+
userId?: string | undefined;
|
|
1666
|
+
name?: string | undefined;
|
|
1667
|
+
clientId?: string | undefined;
|
|
1668
|
+
codeId?: string | undefined;
|
|
1669
|
+
scopes?: string[] | undefined;
|
|
1670
|
+
redirectUri?: string | undefined;
|
|
1671
|
+
grantType?: string | undefined;
|
|
1672
|
+
resource?: string | undefined;
|
|
1673
|
+
} | {
|
|
1674
|
+
errorCode?: string | undefined;
|
|
1675
|
+
userId?: string | undefined;
|
|
1676
|
+
connectionId?: string | undefined;
|
|
1677
|
+
changed?: string[] | undefined;
|
|
1678
|
+
protocol?: "oidc" | "saml" | undefined;
|
|
1679
|
+
domain?: string | undefined;
|
|
1680
|
+
recordName?: string | undefined;
|
|
1681
|
+
expiresAt?: number | undefined;
|
|
1682
|
+
verifiedAt?: number | undefined;
|
|
1683
|
+
metadataUrl?: string | undefined;
|
|
1684
|
+
domains?: string[] | undefined;
|
|
1685
|
+
issuer?: string | undefined;
|
|
1686
|
+
discoveryUrl?: string | undefined;
|
|
1687
|
+
jwksUri?: string | undefined;
|
|
1688
|
+
audience?: string | string[] | undefined;
|
|
1689
|
+
tokenEndpointAuthMethod?: string | undefined;
|
|
1690
|
+
version?: number | undefined;
|
|
1691
|
+
} | {
|
|
1692
|
+
userId?: string | undefined;
|
|
1693
|
+
scimConfigId?: string | undefined;
|
|
1694
|
+
resourceType?: "user" | "group" | undefined;
|
|
1695
|
+
resourceId?: string | undefined;
|
|
1696
|
+
operation?: string | undefined;
|
|
1697
|
+
externalId?: string | undefined;
|
|
1698
|
+
active?: boolean | undefined;
|
|
1699
|
+
groupId?: string | undefined;
|
|
1700
|
+
} | {
|
|
1701
|
+
endpointId?: string | undefined;
|
|
1702
|
+
deliveryId?: string | undefined;
|
|
1703
|
+
sourceEventId?: string | undefined;
|
|
1704
|
+
sourceEventType?: "user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed" | undefined;
|
|
1705
|
+
attemptCount?: number | undefined;
|
|
1706
|
+
status?: number | undefined;
|
|
1707
|
+
error?: string | undefined;
|
|
1708
|
+
} | undefined, [convex_values82.VObject<{
|
|
1709
|
+
profile?: Record<string, any> | undefined;
|
|
1710
|
+
type?: string | undefined;
|
|
1711
|
+
provider?: string | undefined;
|
|
1712
|
+
existingUserId?: string | undefined;
|
|
1713
|
+
}, {
|
|
1714
|
+
type: convex_values82.VString<string | undefined, "optional">;
|
|
1715
|
+
provider: convex_values82.VString<string | undefined, "optional">;
|
|
1716
|
+
profile: convex_values82.VRecord<Record<string, any> | undefined, convex_values82.VString<string, "required">, convex_values82.VAny<any, "required", string>, "optional", string>;
|
|
1717
|
+
existingUserId: convex_values82.VString<string | undefined, "optional">;
|
|
1718
|
+
}, "required", "profile" | "type" | "provider" | "existingUserId" | `profile.${string}`>, convex_values82.VObject<{
|
|
1719
|
+
method?: string | undefined;
|
|
1720
|
+
provider: string;
|
|
1721
|
+
}, {
|
|
1722
|
+
provider: convex_values82.VString<string, "required">;
|
|
1723
|
+
method: convex_values82.VString<string | undefined, "optional">;
|
|
1724
|
+
}, "required", "provider" | "method">, convex_values82.VObject<{
|
|
1725
|
+
flow?: "reset" | "change" | undefined;
|
|
1726
|
+
userId?: string | undefined;
|
|
1727
|
+
reason?: string | undefined;
|
|
1728
|
+
sessionId?: string | undefined;
|
|
1729
|
+
refreshTokenId?: string | undefined;
|
|
1730
|
+
}, {
|
|
1731
|
+
userId: convex_values82.VString<string | undefined, "optional">;
|
|
1732
|
+
reason: convex_values82.VString<string | undefined, "optional">;
|
|
1733
|
+
sessionId: convex_values82.VString<string | undefined, "optional">;
|
|
1734
|
+
refreshTokenId: convex_values82.VString<string | undefined, "optional">;
|
|
1735
|
+
flow: convex_values82.VUnion<"reset" | "change" | undefined, [convex_values82.VLiteral<"reset", "required">, convex_values82.VLiteral<"change", "required">], "optional", never>;
|
|
1736
|
+
}, "required", "flow" | "userId" | "reason" | "sessionId" | "refreshTokenId">, convex_values82.VObject<{
|
|
1737
|
+
provider?: string | undefined;
|
|
1738
|
+
providerAccountId?: string | undefined;
|
|
1739
|
+
accountId?: string | undefined;
|
|
1740
|
+
}, {
|
|
1741
|
+
provider: convex_values82.VString<string | undefined, "optional">;
|
|
1742
|
+
providerAccountId: convex_values82.VString<string | undefined, "optional">;
|
|
1743
|
+
accountId: convex_values82.VString<string | undefined, "optional">;
|
|
1744
|
+
}, "required", "provider" | "providerAccountId" | "accountId">, convex_values82.VObject<{
|
|
1745
|
+
reason?: string | undefined;
|
|
1746
|
+
passkeyId?: string | undefined;
|
|
1747
|
+
credentialId?: string | undefined;
|
|
1748
|
+
totpId?: string | undefined;
|
|
1749
|
+
keyId?: string | undefined;
|
|
1750
|
+
name?: string | undefined;
|
|
1751
|
+
prefix?: string | undefined;
|
|
1752
|
+
}, {
|
|
1753
|
+
passkeyId: convex_values82.VString<string | undefined, "optional">;
|
|
1754
|
+
credentialId: convex_values82.VString<string | undefined, "optional">;
|
|
1755
|
+
totpId: convex_values82.VString<string | undefined, "optional">;
|
|
1756
|
+
keyId: convex_values82.VString<string | undefined, "optional">;
|
|
1757
|
+
name: convex_values82.VString<string | undefined, "optional">;
|
|
1758
|
+
prefix: convex_values82.VString<string | undefined, "optional">;
|
|
1759
|
+
reason: convex_values82.VString<string | undefined, "optional">;
|
|
1760
|
+
}, "required", "reason" | "passkeyId" | "credentialId" | "totpId" | "keyId" | "name" | "prefix">, convex_values82.VObject<{
|
|
1761
|
+
email?: string | undefined;
|
|
1762
|
+
phone?: string | undefined;
|
|
1763
|
+
userId?: string | undefined;
|
|
1764
|
+
}, {
|
|
1765
|
+
email: convex_values82.VString<string | undefined, "optional">;
|
|
1766
|
+
phone: convex_values82.VString<string | undefined, "optional">;
|
|
1767
|
+
userId: convex_values82.VString<string | undefined, "optional">;
|
|
1768
|
+
}, "required", "email" | "phone" | "userId">, convex_values82.VObject<{
|
|
1769
|
+
userId?: string | undefined;
|
|
1770
|
+
name?: string | undefined;
|
|
1771
|
+
clientId?: string | undefined;
|
|
1772
|
+
codeId?: string | undefined;
|
|
1773
|
+
scopes?: string[] | undefined;
|
|
1774
|
+
redirectUri?: string | undefined;
|
|
1775
|
+
grantType?: string | undefined;
|
|
1776
|
+
resource?: string | undefined;
|
|
1777
|
+
}, {
|
|
1778
|
+
clientId: convex_values82.VString<string | undefined, "optional">;
|
|
1779
|
+
codeId: convex_values82.VString<string | undefined, "optional">;
|
|
1780
|
+
name: convex_values82.VString<string | undefined, "optional">;
|
|
1781
|
+
scopes: convex_values82.VArray<string[] | undefined, convex_values82.VString<string, "required">, "optional">;
|
|
1782
|
+
redirectUri: convex_values82.VString<string | undefined, "optional">;
|
|
1783
|
+
grantType: convex_values82.VString<string | undefined, "optional">;
|
|
1784
|
+
resource: convex_values82.VString<string | undefined, "optional">;
|
|
1785
|
+
userId: convex_values82.VString<string | undefined, "optional">;
|
|
1786
|
+
}, "required", "userId" | "name" | "clientId" | "codeId" | "scopes" | "redirectUri" | "grantType" | "resource">, convex_values82.VObject<{
|
|
1787
|
+
errorCode?: string | undefined;
|
|
1788
|
+
userId?: string | undefined;
|
|
1789
|
+
connectionId?: string | undefined;
|
|
1790
|
+
changed?: string[] | undefined;
|
|
1791
|
+
protocol?: "oidc" | "saml" | undefined;
|
|
1792
|
+
domain?: string | undefined;
|
|
1793
|
+
recordName?: string | undefined;
|
|
1794
|
+
expiresAt?: number | undefined;
|
|
1795
|
+
verifiedAt?: number | undefined;
|
|
1796
|
+
metadataUrl?: string | undefined;
|
|
1797
|
+
domains?: string[] | undefined;
|
|
1798
|
+
issuer?: string | undefined;
|
|
1799
|
+
discoveryUrl?: string | undefined;
|
|
1800
|
+
jwksUri?: string | undefined;
|
|
1801
|
+
audience?: string | string[] | undefined;
|
|
1802
|
+
tokenEndpointAuthMethod?: string | undefined;
|
|
1803
|
+
version?: number | undefined;
|
|
1804
|
+
}, {
|
|
1805
|
+
connectionId: convex_values82.VString<string | undefined, "optional">;
|
|
1806
|
+
changed: convex_values82.VArray<string[] | undefined, convex_values82.VString<string, "required">, "optional">;
|
|
1807
|
+
userId: convex_values82.VString<string | undefined, "optional">;
|
|
1808
|
+
protocol: convex_values82.VUnion<"oidc" | "saml" | undefined, [convex_values82.VLiteral<"oidc", "required">, convex_values82.VLiteral<"saml", "required">], "optional", never>;
|
|
1809
|
+
domain: convex_values82.VString<string | undefined, "optional">;
|
|
1810
|
+
recordName: convex_values82.VString<string | undefined, "optional">;
|
|
1811
|
+
expiresAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1812
|
+
verifiedAt: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1813
|
+
metadataUrl: convex_values82.VString<string | undefined, "optional">;
|
|
1814
|
+
domains: convex_values82.VArray<string[] | undefined, convex_values82.VString<string, "required">, "optional">;
|
|
1815
|
+
issuer: convex_values82.VString<string | undefined, "optional">;
|
|
1816
|
+
discoveryUrl: convex_values82.VString<string | undefined, "optional">;
|
|
1817
|
+
jwksUri: convex_values82.VString<string | undefined, "optional">;
|
|
1818
|
+
audience: convex_values82.VUnion<string | string[] | undefined, [convex_values82.VString<string, "required">, convex_values82.VArray<string[], convex_values82.VString<string, "required">, "required">], "optional", never>;
|
|
1819
|
+
tokenEndpointAuthMethod: convex_values82.VString<string | undefined, "optional">;
|
|
1820
|
+
version: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1821
|
+
errorCode: convex_values82.VString<string | undefined, "optional">;
|
|
1822
|
+
}, "required", "errorCode" | "userId" | "connectionId" | "changed" | "protocol" | "domain" | "recordName" | "expiresAt" | "verifiedAt" | "metadataUrl" | "domains" | "issuer" | "discoveryUrl" | "jwksUri" | "audience" | "tokenEndpointAuthMethod" | "version">, convex_values82.VObject<{
|
|
1823
|
+
userId?: string | undefined;
|
|
1824
|
+
scimConfigId?: string | undefined;
|
|
1825
|
+
resourceType?: "user" | "group" | undefined;
|
|
1826
|
+
resourceId?: string | undefined;
|
|
1827
|
+
operation?: string | undefined;
|
|
1828
|
+
externalId?: string | undefined;
|
|
1829
|
+
active?: boolean | undefined;
|
|
1830
|
+
groupId?: string | undefined;
|
|
1831
|
+
}, {
|
|
1832
|
+
scimConfigId: convex_values82.VString<string | undefined, "optional">;
|
|
1833
|
+
resourceType: convex_values82.VUnion<"user" | "group" | undefined, [convex_values82.VLiteral<"user", "required">, convex_values82.VLiteral<"group", "required">], "optional", never>;
|
|
1834
|
+
resourceId: convex_values82.VString<string | undefined, "optional">;
|
|
1835
|
+
operation: convex_values82.VString<string | undefined, "optional">;
|
|
1836
|
+
externalId: convex_values82.VString<string | undefined, "optional">;
|
|
1837
|
+
active: convex_values82.VBoolean<boolean | undefined, "optional">;
|
|
1838
|
+
groupId: convex_values82.VString<string | undefined, "optional">;
|
|
1839
|
+
userId: convex_values82.VString<string | undefined, "optional">;
|
|
1840
|
+
}, "required", "userId" | "scimConfigId" | "resourceType" | "resourceId" | "operation" | "externalId" | "active" | "groupId">, convex_values82.VObject<{
|
|
1841
|
+
endpointId?: string | undefined;
|
|
1842
|
+
deliveryId?: string | undefined;
|
|
1843
|
+
sourceEventId?: string | undefined;
|
|
1844
|
+
sourceEventType?: "user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed" | undefined;
|
|
1845
|
+
attemptCount?: number | undefined;
|
|
1846
|
+
status?: number | undefined;
|
|
1847
|
+
error?: string | undefined;
|
|
1848
|
+
}, {
|
|
1849
|
+
endpointId: convex_values82.VString<string | undefined, "optional">;
|
|
1850
|
+
deliveryId: convex_values82.VString<string | undefined, "optional">;
|
|
1851
|
+
sourceEventId: convex_values82.VString<string | undefined, "optional">;
|
|
1852
|
+
sourceEventType: convex_values82.VUnion<"user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed" | undefined, convex_values82.VLiteral<"user.created" | "user.updated" | "session.signed_in" | "session.signed_out" | "session.invalidated" | "session.refresh_exchanged" | "session.refresh_reuse_detected" | "account.linked" | "account.unlinked" | "password.changed" | "passkey.added" | "passkey.removed" | "totp.enrolled" | "totp.removed" | "email.verified" | "phone.verified" | "api_key.created" | "api_key.revoked" | "oauth.client.created" | "oauth.client.revoked" | "oauth.code.created" | "oauth.token.created" | "oauth.token.exchanged" | "oauth.refresh.reuse_detected" | "oauth.refresh.revoked" | "connection.created" | "connection.updated" | "connection.removed" | "connection.login.succeeded" | "connection.login.failed" | "connection.domain.verification_requested" | "connection.domain.verified" | "connection.policy.updated" | "connection.saml.set" | "connection.saml.refreshed" | "connection.oidc.set" | "connection.scim.set" | "connection.scim.read" | "connection.scim.user.provisioned" | "connection.scim.user.updated" | "connection.scim.user.deactivated" | "connection.scim.user.reactivated" | "connection.scim.group.provisioned" | "connection.scim.group.updated" | "connection.scim.group.deactivated" | "connection.scim.group.reactivated" | "webhook.endpoint.created" | "webhook.endpoint.disabled" | "webhook.delivery.created" | "webhook.delivery.attempted" | "webhook.delivery.succeeded" | "webhook.delivery.failed", "required">[], "optional", never>;
|
|
1853
|
+
attemptCount: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1854
|
+
status: convex_values82.VFloat64<number | undefined, "optional">;
|
|
1855
|
+
error: convex_values82.VString<string | undefined, "optional">;
|
|
1856
|
+
}, "required", "endpointId" | "deliveryId" | "sourceEventId" | "sourceEventType" | "attemptCount" | "status" | "error">], "optional", "profile" | "email" | "type" | "flow" | "phone" | "errorCode" | "provider" | "existingUserId" | `profile.${string}` | "method" | "userId" | "reason" | "sessionId" | "refreshTokenId" | "providerAccountId" | "accountId" | "passkeyId" | "credentialId" | "totpId" | "keyId" | "name" | "prefix" | "clientId" | "codeId" | "scopes" | "redirectUri" | "grantType" | "resource" | "connectionId" | "changed" | "protocol" | "domain" | "recordName" | "expiresAt" | "verifiedAt" | "metadataUrl" | "domains" | "issuer" | "discoveryUrl" | "jwksUri" | "audience" | "tokenEndpointAuthMethod" | "version" | "scimConfigId" | "resourceType" | "resourceId" | "operation" | "externalId" | "active" | "groupId" | "endpointId" | "deliveryId" | "sourceEventId" | "sourceEventType" | "attemptCount" | "status" | "error">;
|
|
1857
|
+
}, "required", "eventId" | "kind" | "category" | "occurredAt" | "actor" | "subject" | "targets" | "request" | "outcome" | "errorCode" | "data" | "actor.type" | "actor.id" | "subject.type" | "subject.id" | "request.requestId" | "request.ip" | "request.userAgent" | "data.profile" | "data.email" | "data.type" | "data.flow" | "data.phone" | "data.errorCode" | "data.provider" | "data.existingUserId" | `data.profile.${string}` | "data.method" | "data.userId" | "data.reason" | "data.sessionId" | "data.refreshTokenId" | "data.providerAccountId" | "data.accountId" | "data.passkeyId" | "data.credentialId" | "data.totpId" | "data.keyId" | "data.name" | "data.prefix" | "data.clientId" | "data.codeId" | "data.scopes" | "data.redirectUri" | "data.grantType" | "data.resource" | "data.connectionId" | "data.changed" | "data.protocol" | "data.domain" | "data.recordName" | "data.expiresAt" | "data.verifiedAt" | "data.metadataUrl" | "data.domains" | "data.issuer" | "data.discoveryUrl" | "data.jwksUri" | "data.audience" | "data.tokenEndpointAuthMethod" | "data.version" | "data.scimConfigId" | "data.resourceType" | "data.resourceId" | "data.operation" | "data.externalId" | "data.active" | "data.groupId" | "data.endpointId" | "data.deliveryId" | "data.sourceEventId" | "data.sourceEventType" | "data.attemptCount" | "data.status" | "data.error">, {
|
|
1858
|
+
eventId: ReturnType<() => convex_values82.VString<string, "required">>;
|
|
1859
|
+
}>, "_creationTime" | "_id">, "required", string>, {
|
|
1860
|
+
by_streamId_and_attempt_and_commitTs: ["streamId", "attempt", "commitTs", "_creationTime"];
|
|
1861
|
+
event_id: ["eventId", "_creationTime"];
|
|
1862
|
+
}, {}, {}>;
|
|
1372
1863
|
}, true>;
|
|
1373
1864
|
modules: {
|
|
1374
1865
|
"./component/_generated/api.ts": () => Promise<typeof api_d_exports>;
|
|
@@ -1381,6 +1872,7 @@ declare const testHelpers: {
|
|
|
1381
1872
|
"./component/http.ts": () => Promise<typeof http_d_exports>;
|
|
1382
1873
|
"./component/index.ts": () => Promise<typeof index_d_exports>;
|
|
1383
1874
|
"./component/event.ts": () => Promise<typeof event_d_exports>;
|
|
1875
|
+
"./component/eventstream.ts": () => Promise<typeof eventstream_d_exports>;
|
|
1384
1876
|
"./component/limits.ts": () => Promise<typeof limits_d_exports>;
|
|
1385
1877
|
"./component/maintenance.ts": () => Promise<typeof maintenance_d_exports>;
|
|
1386
1878
|
"./component/model.ts": () => Promise<typeof model_d_exports>;
|
|
@@ -1401,6 +1893,7 @@ declare const testHelpers: {
|
|
|
1401
1893
|
"./component/factor/totp.ts": () => Promise<typeof totp_d_exports>;
|
|
1402
1894
|
"./component/factor/device.ts": () => Promise<typeof device_d_exports>;
|
|
1403
1895
|
"./component/connection.ts": () => Promise<typeof connection_d_exports>;
|
|
1896
|
+
"./component/context.ts": () => Promise<typeof context_d_exports>;
|
|
1404
1897
|
"./component/connection/saml/request.ts": () => Promise<typeof request_d_exports>;
|
|
1405
1898
|
"./component/connection/saml/assertion.ts": () => Promise<typeof assertion_d_exports>;
|
|
1406
1899
|
"./component/connection/domain.ts": () => Promise<typeof domain_d_exports>;
|
|
@@ -1412,6 +1905,7 @@ declare const testHelpers: {
|
|
|
1412
1905
|
"./component/connection/cache.ts": () => Promise<typeof cache_d_exports>;
|
|
1413
1906
|
"./component/connection/webhook/endpoint.ts": () => Promise<typeof endpoint_d_exports>;
|
|
1414
1907
|
"./component/connection/webhook/delivery.ts": () => Promise<typeof delivery_d_exports>;
|
|
1908
|
+
"./component/connection/webhook/events.ts": () => Promise<typeof events_d_exports>;
|
|
1415
1909
|
"./component/oauth/client.ts": () => Promise<typeof client_d_exports>;
|
|
1416
1910
|
"./component/oauth/code.ts": () => Promise<typeof code_d_exports>;
|
|
1417
1911
|
"./component/oauth/refresh.ts": () => Promise<typeof refresh_d_exports$1>;
|