@robelest/convex-auth 0.0.4-preview.34 → 0.0.4-preview.35

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