@robelest/convex-auth 0.0.4-preview.36 → 0.0.4-preview.37

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.
@@ -1,70 +1,70 @@
1
- import * as convex_values530 from "convex/values";
1
+ import * as convex_values438 from "convex/values";
2
2
  import { Validator } from "convex/values";
3
3
 
4
4
  //#region src/component/model.d.ts
5
- declare const vPaginated: <V extends Validator<any, any, any>>(item: V) => convex_values530.VObject<{
5
+ declare const vPaginated: <V extends Validator<any, any, any>>(item: V) => convex_values438.VObject<{
6
6
  items: V["type"][];
7
7
  nextCursor: string | null;
8
8
  }, {
9
- items: convex_values530.VArray<V["type"][], V, "required">;
10
- nextCursor: convex_values530.VUnion<string | null, [convex_values530.VString<string, "required">, convex_values530.VNull<null, "required">], "required", never>;
9
+ items: convex_values438.VArray<V["type"][], V, "required">;
10
+ nextCursor: convex_values438.VUnion<string | null, [convex_values438.VString<string, "required">, convex_values438.VNull<null, "required">], "required", never>;
11
11
  }, "required", "items" | "nextCursor">;
12
- declare const vUserDoc: convex_values530.VObject<{
12
+ declare const vUserDoc: convex_values438.VObject<{
13
13
  name?: string | undefined;
14
14
  email?: string | undefined;
15
- phone?: string | undefined;
16
15
  image?: string | undefined;
16
+ phone?: string | undefined;
17
17
  emailVerificationTime?: number | undefined;
18
18
  phoneVerificationTime?: number | undefined;
19
19
  isAnonymous?: boolean | undefined;
20
- lastActiveGroup?: convex_values530.GenericId<"Group"> | undefined;
20
+ lastActiveGroup?: convex_values438.GenericId<"Group"> | undefined;
21
21
  hasTotp?: boolean | undefined;
22
22
  extend?: any;
23
23
  _creationTime: number;
24
- _id: convex_values530.GenericId<"User">;
24
+ _id: convex_values438.GenericId<"User">;
25
25
  }, {
26
- name: convex_values530.VString<string | undefined, "optional">;
27
- image: convex_values530.VString<string | undefined, "optional">;
28
- email: convex_values530.VString<string | undefined, "optional">;
29
- emailVerificationTime: convex_values530.VFloat64<number | undefined, "optional">;
30
- phone: convex_values530.VString<string | undefined, "optional">;
31
- phoneVerificationTime: convex_values530.VFloat64<number | undefined, "optional">;
32
- isAnonymous: convex_values530.VBoolean<boolean | undefined, "optional">;
33
- lastActiveGroup: convex_values530.VId<convex_values530.GenericId<"Group"> | undefined, "optional">;
34
- hasTotp: convex_values530.VBoolean<boolean | undefined, "optional">;
35
- extend: convex_values530.VAny<any, "optional", string>;
36
- _id: convex_values530.VId<convex_values530.GenericId<"User">, "required">;
37
- _creationTime: convex_values530.VFloat64<number, "required">;
38
- }, "required", "_creationTime" | "name" | "email" | "phone" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | "extend" | `extend.${string}` | "_id">;
39
- declare const vUserEmailDoc: convex_values530.VObject<{
26
+ name: convex_values438.VString<string | undefined, "optional">;
27
+ image: convex_values438.VString<string | undefined, "optional">;
28
+ email: convex_values438.VString<string | undefined, "optional">;
29
+ emailVerificationTime: convex_values438.VFloat64<number | undefined, "optional">;
30
+ phone: convex_values438.VString<string | undefined, "optional">;
31
+ phoneVerificationTime: convex_values438.VFloat64<number | undefined, "optional">;
32
+ isAnonymous: convex_values438.VBoolean<boolean | undefined, "optional">;
33
+ lastActiveGroup: convex_values438.VId<convex_values438.GenericId<"Group"> | undefined, "optional">;
34
+ hasTotp: convex_values438.VBoolean<boolean | undefined, "optional">;
35
+ extend: convex_values438.VAny<any, "optional", string>;
36
+ _id: convex_values438.VId<convex_values438.GenericId<"User">, "required">;
37
+ _creationTime: convex_values438.VFloat64<number, "required">;
38
+ }, "required", "name" | "email" | "image" | "_creationTime" | "phone" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | "lastActiveGroup" | "hasTotp" | "extend" | `extend.${string}` | "_id">;
39
+ declare const vUserEmailDoc: convex_values438.VObject<{
40
40
  verificationTime?: number | undefined;
41
- accountId?: convex_values530.GenericId<"Account"> | undefined;
41
+ accountId?: convex_values438.GenericId<"Account"> | undefined;
42
42
  provider?: string | undefined;
43
- connectionId?: convex_values530.GenericId<"GroupConnection"> | undefined;
44
- _creationTime: number;
43
+ connectionId?: convex_values438.GenericId<"GroupConnection"> | undefined;
45
44
  email: string;
46
- userId: convex_values530.GenericId<"User">;
45
+ _creationTime: number;
46
+ userId: convex_values438.GenericId<"User">;
47
47
  isPrimary: boolean;
48
48
  source: "password" | "oauth" | "oidc" | "saml" | "scim";
49
- _id: convex_values530.GenericId<"UserEmail">;
49
+ _id: convex_values438.GenericId<"UserEmail">;
50
50
  }, {
51
- userId: convex_values530.VId<convex_values530.GenericId<"User">, "required">;
52
- email: convex_values530.VString<string, "required">;
53
- verificationTime: convex_values530.VFloat64<number | undefined, "optional">;
54
- isPrimary: convex_values530.VBoolean<boolean, "required">;
55
- source: convex_values530.VUnion<"password" | "oauth" | "oidc" | "saml" | "scim", [convex_values530.VLiteral<"password", "required">, convex_values530.VLiteral<"oauth", "required">, convex_values530.VLiteral<"oidc", "required">, convex_values530.VLiteral<"saml", "required">, convex_values530.VLiteral<"scim", "required">], "required", never>;
56
- accountId: convex_values530.VId<convex_values530.GenericId<"Account"> | undefined, "optional">;
57
- provider: convex_values530.VString<string | undefined, "optional">;
58
- connectionId: convex_values530.VId<convex_values530.GenericId<"GroupConnection"> | undefined, "optional">;
59
- _id: convex_values530.VId<convex_values530.GenericId<"UserEmail">, "required">;
60
- _creationTime: convex_values530.VFloat64<number, "required">;
61
- }, "required", "_creationTime" | "email" | "userId" | "verificationTime" | "isPrimary" | "source" | "accountId" | "provider" | "connectionId" | "_id">;
62
- declare const vGroupDoc: convex_values530.VObject<{
51
+ userId: convex_values438.VId<convex_values438.GenericId<"User">, "required">;
52
+ email: convex_values438.VString<string, "required">;
53
+ verificationTime: convex_values438.VFloat64<number | undefined, "optional">;
54
+ isPrimary: convex_values438.VBoolean<boolean, "required">;
55
+ source: convex_values438.VUnion<"password" | "oauth" | "oidc" | "saml" | "scim", [convex_values438.VLiteral<"password", "required">, convex_values438.VLiteral<"oauth", "required">, convex_values438.VLiteral<"oidc", "required">, convex_values438.VLiteral<"saml", "required">, convex_values438.VLiteral<"scim", "required">], "required", never>;
56
+ accountId: convex_values438.VId<convex_values438.GenericId<"Account"> | undefined, "optional">;
57
+ provider: convex_values438.VString<string | undefined, "optional">;
58
+ connectionId: convex_values438.VId<convex_values438.GenericId<"GroupConnection"> | undefined, "optional">;
59
+ _id: convex_values438.VId<convex_values438.GenericId<"UserEmail">, "required">;
60
+ _creationTime: convex_values438.VFloat64<number, "required">;
61
+ }, "required", "email" | "_creationTime" | "userId" | "verificationTime" | "isPrimary" | "source" | "accountId" | "provider" | "connectionId" | "_id">;
62
+ declare const vGroupDoc: convex_values438.VObject<{
63
63
  extend?: any;
64
64
  type?: string | undefined;
65
65
  slug?: string | undefined;
66
- parentGroupId?: convex_values530.GenericId<"Group"> | undefined;
67
- rootGroupId?: convex_values530.GenericId<"Group"> | undefined;
66
+ parentGroupId?: convex_values438.GenericId<"Group"> | undefined;
67
+ rootGroupId?: convex_values438.GenericId<"Group"> | undefined;
68
68
  isRoot?: boolean | undefined;
69
69
  tags?: {
70
70
  key: string;
@@ -109,27 +109,27 @@ declare const vGroupDoc: convex_values530.VObject<{
109
109
  };
110
110
  };
111
111
  } | undefined;
112
- _creationTime: number;
113
112
  name: string;
114
- _id: convex_values530.GenericId<"Group">;
113
+ _creationTime: number;
114
+ _id: convex_values438.GenericId<"Group">;
115
115
  }, {
116
- name: convex_values530.VString<string, "required">;
117
- slug: convex_values530.VString<string | undefined, "optional">;
118
- type: convex_values530.VString<string | undefined, "optional">;
119
- parentGroupId: convex_values530.VId<convex_values530.GenericId<"Group"> | undefined, "optional">;
120
- rootGroupId: convex_values530.VId<convex_values530.GenericId<"Group"> | undefined, "optional">;
121
- isRoot: convex_values530.VBoolean<boolean | undefined, "optional">;
122
- tags: convex_values530.VArray<{
116
+ name: convex_values438.VString<string, "required">;
117
+ slug: convex_values438.VString<string | undefined, "optional">;
118
+ type: convex_values438.VString<string | undefined, "optional">;
119
+ parentGroupId: convex_values438.VId<convex_values438.GenericId<"Group"> | undefined, "optional">;
120
+ rootGroupId: convex_values438.VId<convex_values438.GenericId<"Group"> | undefined, "optional">;
121
+ isRoot: convex_values438.VBoolean<boolean | undefined, "optional">;
122
+ tags: convex_values438.VArray<{
123
123
  key: string;
124
124
  value: string;
125
- }[] | undefined, convex_values530.VObject<{
125
+ }[] | undefined, convex_values438.VObject<{
126
126
  key: string;
127
127
  value: string;
128
128
  }, {
129
- key: convex_values530.VString<string, "required">;
130
- value: convex_values530.VString<string, "required">;
129
+ key: convex_values438.VString<string, "required">;
130
+ value: convex_values438.VString<string, "required">;
131
131
  }, "required", "key" | "value">, "optional">;
132
- policy: convex_values530.VObject<{
132
+ policy: convex_values438.VObject<{
133
133
  extend?: any;
134
134
  version: 1;
135
135
  identity: {
@@ -168,22 +168,22 @@ declare const vGroupDoc: convex_values530.VObject<{
168
168
  };
169
169
  };
170
170
  } | undefined, {
171
- version: convex_values530.VLiteral<1, "required">;
172
- identity: convex_values530.VObject<{
171
+ version: convex_values438.VLiteral<1, "required">;
172
+ identity: convex_values438.VObject<{
173
173
  accountLinking: {
174
174
  oidc: "verifiedEmail" | "none" | "sameConnection";
175
175
  saml: "verifiedEmail" | "none" | "sameConnection";
176
176
  };
177
177
  }, {
178
- accountLinking: convex_values530.VObject<{
178
+ accountLinking: convex_values438.VObject<{
179
179
  oidc: "verifiedEmail" | "none" | "sameConnection";
180
180
  saml: "verifiedEmail" | "none" | "sameConnection";
181
181
  }, {
182
- oidc: convex_values530.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values530.VLiteral<"verifiedEmail", "required">, convex_values530.VLiteral<"none", "required">, convex_values530.VLiteral<"sameConnection", "required">], "required", never>;
183
- saml: convex_values530.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values530.VLiteral<"verifiedEmail", "required">, convex_values530.VLiteral<"none", "required">, convex_values530.VLiteral<"sameConnection", "required">], "required", never>;
182
+ oidc: convex_values438.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values438.VLiteral<"verifiedEmail", "required">, convex_values438.VLiteral<"none", "required">, convex_values438.VLiteral<"sameConnection", "required">], "required", never>;
183
+ saml: convex_values438.VUnion<"verifiedEmail" | "none" | "sameConnection", [convex_values438.VLiteral<"verifiedEmail", "required">, convex_values438.VLiteral<"none", "required">, convex_values438.VLiteral<"sameConnection", "required">], "required", never>;
184
184
  }, "required", "oidc" | "saml">;
185
185
  }, "required", "accountLinking" | "accountLinking.oidc" | "accountLinking.saml">;
186
- provisioning: convex_values530.VObject<{
186
+ provisioning: convex_values438.VObject<{
187
187
  user: {
188
188
  createOnSignIn: boolean;
189
189
  updateProfileOnLogin: "never" | "missing" | "always";
@@ -212,110 +212,110 @@ declare const vGroupDoc: convex_values530.VObject<{
212
212
  mode: "map" | "ignore";
213
213
  };
214
214
  }, {
215
- user: convex_values530.VObject<{
215
+ user: convex_values438.VObject<{
216
216
  createOnSignIn: boolean;
217
217
  updateProfileOnLogin: "never" | "missing" | "always";
218
218
  updateProfileFromScim: "never" | "missing" | "always";
219
219
  authority: "scim" | "app" | "sso";
220
220
  }, {
221
- createOnSignIn: convex_values530.VBoolean<boolean, "required">;
222
- updateProfileOnLogin: convex_values530.VUnion<"never" | "missing" | "always", [convex_values530.VLiteral<"never", "required">, convex_values530.VLiteral<"missing", "required">, convex_values530.VLiteral<"always", "required">], "required", never>;
223
- updateProfileFromScim: convex_values530.VUnion<"never" | "missing" | "always", [convex_values530.VLiteral<"never", "required">, convex_values530.VLiteral<"missing", "required">, convex_values530.VLiteral<"always", "required">], "required", never>;
224
- authority: convex_values530.VUnion<"scim" | "app" | "sso", [convex_values530.VLiteral<"app", "required">, convex_values530.VLiteral<"sso", "required">, convex_values530.VLiteral<"scim", "required">], "required", never>;
221
+ createOnSignIn: convex_values438.VBoolean<boolean, "required">;
222
+ updateProfileOnLogin: convex_values438.VUnion<"never" | "missing" | "always", [convex_values438.VLiteral<"never", "required">, convex_values438.VLiteral<"missing", "required">, convex_values438.VLiteral<"always", "required">], "required", never>;
223
+ updateProfileFromScim: convex_values438.VUnion<"never" | "missing" | "always", [convex_values438.VLiteral<"never", "required">, convex_values438.VLiteral<"missing", "required">, convex_values438.VLiteral<"always", "required">], "required", never>;
224
+ authority: convex_values438.VUnion<"scim" | "app" | "sso", [convex_values438.VLiteral<"app", "required">, convex_values438.VLiteral<"sso", "required">, convex_values438.VLiteral<"scim", "required">], "required", never>;
225
225
  }, "required", "createOnSignIn" | "updateProfileOnLogin" | "updateProfileFromScim" | "authority">;
226
- scimReuse: convex_values530.VObject<{
226
+ scimReuse: convex_values438.VObject<{
227
227
  user: "none" | "externalId";
228
228
  }, {
229
- user: convex_values530.VUnion<"none" | "externalId", [convex_values530.VLiteral<"externalId", "required">, convex_values530.VLiteral<"none", "required">], "required", never>;
229
+ user: convex_values438.VUnion<"none" | "externalId", [convex_values438.VLiteral<"externalId", "required">, convex_values438.VLiteral<"none", "required">], "required", never>;
230
230
  }, "required", "user">;
231
- jit: convex_values530.VObject<{
231
+ jit: convex_values438.VObject<{
232
232
  defaultRole?: string | undefined;
233
233
  defaultRoleIds?: string[] | undefined;
234
234
  mode: "off" | "createUser" | "createUserAndMembership";
235
235
  }, {
236
- mode: convex_values530.VUnion<"off" | "createUser" | "createUserAndMembership", [convex_values530.VLiteral<"off", "required">, convex_values530.VLiteral<"createUser", "required">, convex_values530.VLiteral<"createUserAndMembership", "required">], "required", never>;
237
- defaultRole: convex_values530.VString<string | undefined, "optional">;
238
- defaultRoleIds: convex_values530.VArray<string[] | undefined, convex_values530.VString<string, "required">, "optional">;
236
+ mode: convex_values438.VUnion<"off" | "createUser" | "createUserAndMembership", [convex_values438.VLiteral<"off", "required">, convex_values438.VLiteral<"createUser", "required">, convex_values438.VLiteral<"createUserAndMembership", "required">], "required", never>;
237
+ defaultRole: convex_values438.VString<string | undefined, "optional">;
238
+ defaultRoleIds: convex_values438.VArray<string[] | undefined, convex_values438.VString<string, "required">, "optional">;
239
239
  }, "required", "mode" | "defaultRole" | "defaultRoleIds">;
240
- deprovision: convex_values530.VObject<{
240
+ deprovision: convex_values438.VObject<{
241
241
  mode: "soft" | "hard";
242
242
  }, {
243
- mode: convex_values530.VUnion<"soft" | "hard", [convex_values530.VLiteral<"soft", "required">, convex_values530.VLiteral<"hard", "required">], "required", never>;
243
+ mode: convex_values438.VUnion<"soft" | "hard", [convex_values438.VLiteral<"soft", "required">, convex_values438.VLiteral<"hard", "required">], "required", never>;
244
244
  }, "required", "mode">;
245
- groups: convex_values530.VObject<{
245
+ groups: convex_values438.VObject<{
246
246
  mapping?: Record<string, string[]> | undefined;
247
247
  source: "protocol";
248
248
  mode: "ignore" | "sync";
249
249
  }, {
250
- mode: convex_values530.VUnion<"ignore" | "sync", [convex_values530.VLiteral<"ignore", "required">, convex_values530.VLiteral<"sync", "required">], "required", never>;
251
- source: convex_values530.VLiteral<"protocol", "required">;
252
- mapping: convex_values530.VRecord<Record<string, string[]> | undefined, convex_values530.VString<string, "required">, convex_values530.VArray<string[], convex_values530.VString<string, "required">, "required">, "optional", string>;
250
+ mode: convex_values438.VUnion<"ignore" | "sync", [convex_values438.VLiteral<"ignore", "required">, convex_values438.VLiteral<"sync", "required">], "required", never>;
251
+ source: convex_values438.VLiteral<"protocol", "required">;
252
+ mapping: convex_values438.VRecord<Record<string, string[]> | undefined, convex_values438.VString<string, "required">, convex_values438.VArray<string[], convex_values438.VString<string, "required">, "required">, "optional", string>;
253
253
  }, "required", "source" | "mode" | "mapping" | `mapping.${string}`>;
254
- roles: convex_values530.VObject<{
254
+ roles: convex_values438.VObject<{
255
255
  mapping?: Record<string, string[]> | undefined;
256
256
  source: "protocol";
257
257
  mode: "map" | "ignore";
258
258
  }, {
259
- mode: convex_values530.VUnion<"map" | "ignore", [convex_values530.VLiteral<"ignore", "required">, convex_values530.VLiteral<"map", "required">], "required", never>;
260
- source: convex_values530.VLiteral<"protocol", "required">;
261
- mapping: convex_values530.VRecord<Record<string, string[]> | undefined, convex_values530.VString<string, "required">, convex_values530.VArray<string[], convex_values530.VString<string, "required">, "required">, "optional", string>;
259
+ mode: convex_values438.VUnion<"map" | "ignore", [convex_values438.VLiteral<"ignore", "required">, convex_values438.VLiteral<"map", "required">], "required", never>;
260
+ source: convex_values438.VLiteral<"protocol", "required">;
261
+ mapping: convex_values438.VRecord<Record<string, string[]> | undefined, convex_values438.VString<string, "required">, convex_values438.VArray<string[], convex_values438.VString<string, "required">, "required">, "optional", string>;
262
262
  }, "required", "source" | "mode" | "mapping" | `mapping.${string}`>;
263
263
  }, "required", "user" | "scimReuse" | "jit" | "deprovision" | "groups" | "roles" | "user.createOnSignIn" | "user.updateProfileOnLogin" | "user.updateProfileFromScim" | "user.authority" | "scimReuse.user" | "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}`>;
264
- extend: convex_values530.VAny<any, "optional", string>;
264
+ extend: convex_values438.VAny<any, "optional", string>;
265
265
  }, "optional", "extend" | `extend.${string}` | "version" | "identity" | "provisioning" | "identity.accountLinking" | "identity.accountLinking.oidc" | "identity.accountLinking.saml" | "provisioning.user" | "provisioning.scimReuse" | "provisioning.jit" | "provisioning.deprovision" | "provisioning.groups" | "provisioning.roles" | "provisioning.user.createOnSignIn" | "provisioning.user.updateProfileOnLogin" | "provisioning.user.updateProfileFromScim" | "provisioning.user.authority" | "provisioning.scimReuse.user" | "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}`>;
266
- extend: convex_values530.VAny<any, "optional", string>;
267
- _id: convex_values530.VId<convex_values530.GenericId<"Group">, "required">;
268
- _creationTime: convex_values530.VFloat64<number, "required">;
269
- }, "required", "_creationTime" | "name" | "extend" | "type" | `extend.${string}` | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | "policy.extend" | `policy.extend.${string}` | "policy.version" | "policy.identity" | "policy.provisioning" | "policy.identity.accountLinking" | "policy.identity.accountLinking.oidc" | "policy.identity.accountLinking.saml" | "policy.provisioning.user" | "policy.provisioning.scimReuse" | "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.scimReuse.user" | "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}` | "_id">;
270
- declare const vGroupMemberDoc: convex_values530.VObject<{
266
+ extend: convex_values438.VAny<any, "optional", string>;
267
+ _id: convex_values438.VId<convex_values438.GenericId<"Group">, "required">;
268
+ _creationTime: convex_values438.VFloat64<number, "required">;
269
+ }, "required", "name" | "_creationTime" | "extend" | "type" | `extend.${string}` | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags" | "policy" | "policy.extend" | `policy.extend.${string}` | "policy.version" | "policy.identity" | "policy.provisioning" | "policy.identity.accountLinking" | "policy.identity.accountLinking.oidc" | "policy.identity.accountLinking.saml" | "policy.provisioning.user" | "policy.provisioning.scimReuse" | "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.scimReuse.user" | "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}` | "_id">;
270
+ declare const vGroupMemberDoc: convex_values438.VObject<{
271
271
  extend?: any;
272
272
  status?: string | undefined;
273
273
  role?: string | undefined;
274
274
  roleIds?: string[] | undefined;
275
275
  _creationTime: number;
276
- userId: convex_values530.GenericId<"User">;
277
- groupId: convex_values530.GenericId<"Group">;
278
- _id: convex_values530.GenericId<"GroupMember">;
276
+ userId: convex_values438.GenericId<"User">;
277
+ groupId: convex_values438.GenericId<"Group">;
278
+ _id: convex_values438.GenericId<"GroupMember">;
279
279
  }, {
280
- groupId: convex_values530.VId<convex_values530.GenericId<"Group">, "required">;
281
- userId: convex_values530.VId<convex_values530.GenericId<"User">, "required">;
282
- role: convex_values530.VString<string | undefined, "optional">;
283
- roleIds: convex_values530.VArray<string[] | undefined, convex_values530.VString<string, "required">, "optional">;
284
- status: convex_values530.VString<string | undefined, "optional">;
285
- extend: convex_values530.VAny<any, "optional", string>;
286
- _id: convex_values530.VId<convex_values530.GenericId<"GroupMember">, "required">;
287
- _creationTime: convex_values530.VFloat64<number, "required">;
280
+ groupId: convex_values438.VId<convex_values438.GenericId<"Group">, "required">;
281
+ userId: convex_values438.VId<convex_values438.GenericId<"User">, "required">;
282
+ role: convex_values438.VString<string | undefined, "optional">;
283
+ roleIds: convex_values438.VArray<string[] | undefined, convex_values438.VString<string, "required">, "optional">;
284
+ status: convex_values438.VString<string | undefined, "optional">;
285
+ extend: convex_values438.VAny<any, "optional", string>;
286
+ _id: convex_values438.VId<convex_values438.GenericId<"GroupMember">, "required">;
287
+ _creationTime: convex_values438.VFloat64<number, "required">;
288
288
  }, "required", "_creationTime" | "extend" | `extend.${string}` | "userId" | "status" | "groupId" | "role" | "roleIds" | "_id">;
289
- declare const vGroupInviteDoc: convex_values530.VObject<{
289
+ declare const vGroupInviteDoc: convex_values438.VObject<{
290
290
  email?: string | undefined;
291
291
  extend?: any;
292
- groupId?: convex_values530.GenericId<"Group"> | undefined;
292
+ groupId?: convex_values438.GenericId<"Group"> | undefined;
293
293
  role?: string | undefined;
294
294
  roleIds?: string[] | undefined;
295
- invitedByUserId?: convex_values530.GenericId<"User"> | undefined;
295
+ invitedByUserId?: convex_values438.GenericId<"User"> | undefined;
296
296
  expiresTime?: number | undefined;
297
- acceptedByUserId?: convex_values530.GenericId<"User"> | undefined;
297
+ acceptedByUserId?: convex_values438.GenericId<"User"> | undefined;
298
298
  acceptedTime?: number | undefined;
299
299
  _creationTime: number;
300
300
  status: "pending" | "accepted" | "revoked" | "expired";
301
301
  tokenHash: string;
302
- _id: convex_values530.GenericId<"GroupInvite">;
302
+ _id: convex_values438.GenericId<"GroupInvite">;
303
303
  }, {
304
- groupId: convex_values530.VId<convex_values530.GenericId<"Group"> | undefined, "optional">;
305
- invitedByUserId: convex_values530.VId<convex_values530.GenericId<"User"> | undefined, "optional">;
306
- email: convex_values530.VString<string | undefined, "optional">;
307
- tokenHash: convex_values530.VString<string, "required">;
308
- role: convex_values530.VString<string | undefined, "optional">;
309
- roleIds: convex_values530.VArray<string[] | undefined, convex_values530.VString<string, "required">, "optional">;
310
- status: convex_values530.VUnion<"pending" | "accepted" | "revoked" | "expired", [convex_values530.VLiteral<"pending", "required">, convex_values530.VLiteral<"accepted", "required">, convex_values530.VLiteral<"revoked", "required">, convex_values530.VLiteral<"expired", "required">], "required", never>;
311
- expiresTime: convex_values530.VFloat64<number | undefined, "optional">;
312
- acceptedByUserId: convex_values530.VId<convex_values530.GenericId<"User"> | undefined, "optional">;
313
- acceptedTime: convex_values530.VFloat64<number | undefined, "optional">;
314
- extend: convex_values530.VAny<any, "optional", string>;
315
- _id: convex_values530.VId<convex_values530.GenericId<"GroupInvite">, "required">;
316
- _creationTime: convex_values530.VFloat64<number, "required">;
317
- }, "required", "_creationTime" | "email" | "extend" | `extend.${string}` | "status" | "groupId" | "role" | "roleIds" | "invitedByUserId" | "tokenHash" | "expiresTime" | "acceptedByUserId" | "acceptedTime" | "_id">;
318
- declare const vApiKeyDoc: convex_values530.VObject<{
304
+ groupId: convex_values438.VId<convex_values438.GenericId<"Group"> | undefined, "optional">;
305
+ invitedByUserId: convex_values438.VId<convex_values438.GenericId<"User"> | undefined, "optional">;
306
+ email: convex_values438.VString<string | undefined, "optional">;
307
+ tokenHash: convex_values438.VString<string, "required">;
308
+ role: convex_values438.VString<string | undefined, "optional">;
309
+ roleIds: convex_values438.VArray<string[] | undefined, convex_values438.VString<string, "required">, "optional">;
310
+ status: convex_values438.VUnion<"pending" | "accepted" | "revoked" | "expired", [convex_values438.VLiteral<"pending", "required">, convex_values438.VLiteral<"accepted", "required">, convex_values438.VLiteral<"revoked", "required">, convex_values438.VLiteral<"expired", "required">], "required", never>;
311
+ expiresTime: convex_values438.VFloat64<number | undefined, "optional">;
312
+ acceptedByUserId: convex_values438.VId<convex_values438.GenericId<"User"> | undefined, "optional">;
313
+ acceptedTime: convex_values438.VFloat64<number | undefined, "optional">;
314
+ extend: convex_values438.VAny<any, "optional", string>;
315
+ _id: convex_values438.VId<convex_values438.GenericId<"GroupInvite">, "required">;
316
+ _creationTime: convex_values438.VFloat64<number, "required">;
317
+ }, "required", "email" | "_creationTime" | "extend" | `extend.${string}` | "status" | "groupId" | "role" | "roleIds" | "invitedByUserId" | "tokenHash" | "expiresTime" | "acceptedByUserId" | "acceptedTime" | "_id">;
318
+ declare const vApiKeyDoc: convex_values438.VObject<{
319
319
  lastUsedAt?: number | undefined;
320
320
  expiresAt?: number | undefined;
321
321
  metadata?: any;
@@ -327,9 +327,9 @@ declare const vApiKeyDoc: convex_values530.VObject<{
327
327
  attemptsLeft: number;
328
328
  lastAttemptTime: number;
329
329
  } | undefined;
330
- _creationTime: number;
331
330
  name: string;
332
- userId: convex_values530.GenericId<"User">;
331
+ _creationTime: number;
332
+ userId: convex_values438.GenericId<"User">;
333
333
  createdAt: number;
334
334
  revoked: boolean;
335
335
  prefix: string;
@@ -338,44 +338,44 @@ declare const vApiKeyDoc: convex_values530.VObject<{
338
338
  resource: string;
339
339
  actions: string[];
340
340
  }[];
341
- _id: convex_values530.GenericId<"ApiKey">;
341
+ _id: convex_values438.GenericId<"ApiKey">;
342
342
  }, {
343
- userId: convex_values530.VId<convex_values530.GenericId<"User">, "required">;
344
- prefix: convex_values530.VString<string, "required">;
345
- hashedKey: convex_values530.VString<string, "required">;
346
- name: convex_values530.VString<string, "required">;
347
- scopes: convex_values530.VArray<{
343
+ userId: convex_values438.VId<convex_values438.GenericId<"User">, "required">;
344
+ prefix: convex_values438.VString<string, "required">;
345
+ hashedKey: convex_values438.VString<string, "required">;
346
+ name: convex_values438.VString<string, "required">;
347
+ scopes: convex_values438.VArray<{
348
348
  resource: string;
349
349
  actions: string[];
350
- }[], convex_values530.VObject<{
350
+ }[], convex_values438.VObject<{
351
351
  resource: string;
352
352
  actions: string[];
353
353
  }, {
354
- resource: convex_values530.VString<string, "required">;
355
- actions: convex_values530.VArray<string[], convex_values530.VString<string, "required">, "required">;
354
+ resource: convex_values438.VString<string, "required">;
355
+ actions: convex_values438.VArray<string[], convex_values438.VString<string, "required">, "required">;
356
356
  }, "required", "resource" | "actions">, "required">;
357
- rateLimit: convex_values530.VObject<{
357
+ rateLimit: convex_values438.VObject<{
358
358
  maxRequests: number;
359
359
  windowMs: number;
360
360
  } | undefined, {
361
- maxRequests: convex_values530.VFloat64<number, "required">;
362
- windowMs: convex_values530.VFloat64<number, "required">;
361
+ maxRequests: convex_values438.VFloat64<number, "required">;
362
+ windowMs: convex_values438.VFloat64<number, "required">;
363
363
  }, "optional", "maxRequests" | "windowMs">;
364
- rateLimitState: convex_values530.VObject<{
364
+ rateLimitState: convex_values438.VObject<{
365
365
  attemptsLeft: number;
366
366
  lastAttemptTime: number;
367
367
  } | undefined, {
368
- attemptsLeft: convex_values530.VFloat64<number, "required">;
369
- lastAttemptTime: convex_values530.VFloat64<number, "required">;
368
+ attemptsLeft: convex_values438.VFloat64<number, "required">;
369
+ lastAttemptTime: convex_values438.VFloat64<number, "required">;
370
370
  }, "optional", "attemptsLeft" | "lastAttemptTime">;
371
- expiresAt: convex_values530.VFloat64<number | undefined, "optional">;
372
- lastUsedAt: convex_values530.VFloat64<number | undefined, "optional">;
373
- createdAt: convex_values530.VFloat64<number, "required">;
374
- revoked: convex_values530.VBoolean<boolean, "required">;
375
- metadata: convex_values530.VAny<any, "optional", string>;
376
- _id: convex_values530.VId<convex_values530.GenericId<"ApiKey">, "required">;
377
- _creationTime: convex_values530.VFloat64<number, "required">;
378
- }, "required", "_creationTime" | "name" | "userId" | "createdAt" | "lastUsedAt" | "expiresAt" | "revoked" | "metadata" | `metadata.${string}` | "prefix" | "hashedKey" | "scopes" | "rateLimit" | "rateLimitState" | "rateLimit.maxRequests" | "rateLimit.windowMs" | "rateLimitState.attemptsLeft" | "rateLimitState.lastAttemptTime" | "_id">;
371
+ expiresAt: convex_values438.VFloat64<number | undefined, "optional">;
372
+ lastUsedAt: convex_values438.VFloat64<number | undefined, "optional">;
373
+ createdAt: convex_values438.VFloat64<number, "required">;
374
+ revoked: convex_values438.VBoolean<boolean, "required">;
375
+ metadata: convex_values438.VAny<any, "optional", string>;
376
+ _id: convex_values438.VId<convex_values438.GenericId<"ApiKey">, "required">;
377
+ _creationTime: convex_values438.VFloat64<number, "required">;
378
+ }, "required", "name" | "_creationTime" | "userId" | "createdAt" | "lastUsedAt" | "expiresAt" | "revoked" | "metadata" | `metadata.${string}` | "prefix" | "hashedKey" | "scopes" | "rateLimit" | "rateLimitState" | "rateLimit.maxRequests" | "rateLimit.windowMs" | "rateLimitState.attemptsLeft" | "rateLimitState.lastAttemptTime" | "_id">;
379
379
  //#endregion
380
380
  export { vApiKeyDoc, vGroupDoc, vGroupInviteDoc, vGroupMemberDoc, vPaginated, vUserDoc, vUserEmailDoc };
381
381
  //# sourceMappingURL=model.d.ts.map