@estifanos-sh/convex-auth 0.0.4 → 0.0.5-alpha.0

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.
Files changed (81) hide show
  1. package/dist/component/_generated/component.d.ts +19 -19
  2. package/dist/component/account.d.ts +30 -30
  3. package/dist/component/connection/audit.d.ts +8 -8
  4. package/dist/component/connection/cache.d.ts +6 -6
  5. package/dist/component/connection/domain/verification.d.ts +15 -15
  6. package/dist/component/connection/domain.d.ts +18 -18
  7. package/dist/component/connection/saml/assertion.d.ts +4 -4
  8. package/dist/component/connection/saml/request.d.ts +7 -7
  9. package/dist/component/connection/scim/config.d.ts +11 -11
  10. package/dist/component/connection/scim/identity.d.ts +47 -47
  11. package/dist/component/connection/secret.d.ts +13 -13
  12. package/dist/component/connection/webhook/delivery.d.ts +33 -33
  13. package/dist/component/connection/webhook/endpoint.d.ts +21 -21
  14. package/dist/component/connection.d.ts +26 -26
  15. package/dist/component/connection.d.ts.map +1 -1
  16. package/dist/component/context.d.ts +18 -18
  17. package/dist/component/crons.d.ts +2 -2
  18. package/dist/component/documents.d.ts +4 -4
  19. package/dist/component/event.d.ts +12 -12
  20. package/dist/component/event.d.ts.map +1 -1
  21. package/dist/component/factor/device.d.ts +21 -21
  22. package/dist/component/factor/passkey.d.ts +71 -71
  23. package/dist/component/factor/totp.d.ts +44 -44
  24. package/dist/component/group/active.d.ts +82 -82
  25. package/dist/component/group/invite.d.ts +29 -29
  26. package/dist/component/group/invite.d.ts.map +1 -1
  27. package/dist/component/group/member.d.ts +35 -35
  28. package/dist/component/group/member.d.ts.map +1 -1
  29. package/dist/component/group.d.ts +34 -34
  30. package/dist/component/group.d.ts.map +1 -1
  31. package/dist/component/http.d.ts +2 -2
  32. package/dist/component/limits.d.ts +4 -4
  33. package/dist/component/maintenance.d.ts +30 -3
  34. package/dist/component/maintenance.d.ts.map +1 -1
  35. package/dist/component/maintenance.js +73 -1
  36. package/dist/component/maintenance.js.map +1 -1
  37. package/dist/component/model.d.ts +438 -438
  38. package/dist/component/model.d.ts.map +1 -1
  39. package/dist/component/model.js +1 -1
  40. package/dist/component/model.js.map +1 -1
  41. package/dist/component/oauth/client.d.ts +18 -18
  42. package/dist/component/oauth/code.d.ts +11 -11
  43. package/dist/component/oauth/refresh.d.ts +16 -16
  44. package/dist/component/schema.d.ts +623 -623
  45. package/dist/component/schema.js +2 -2
  46. package/dist/component/schema.js.map +1 -1
  47. package/dist/component/session.d.ts +32 -31
  48. package/dist/component/session.d.ts.map +1 -1
  49. package/dist/component/session.js +15 -8
  50. package/dist/component/session.js.map +1 -1
  51. package/dist/component/token/continuation.d.ts +14 -14
  52. package/dist/component/token/continuation.d.ts.map +1 -1
  53. package/dist/component/token/enrollment.d.ts +7 -7
  54. package/dist/component/token/pkce.d.ts +22 -22
  55. package/dist/component/token/refresh.d.ts +33 -33
  56. package/dist/component/token/refresh.d.ts.map +1 -1
  57. package/dist/component/token/refresh.js +3 -2
  58. package/dist/component/token/refresh.js.map +1 -1
  59. package/dist/component/token/verification.d.ts +26 -26
  60. package/dist/component/user/email.d.ts +17 -17
  61. package/dist/component/user/key.d.ts +27 -27
  62. package/dist/component/user/key.d.ts.map +1 -1
  63. package/dist/component/user.d.ts +29 -29
  64. package/dist/providers/anonymous.d.ts +3 -3
  65. package/dist/providers/password.d.ts +33 -33
  66. package/dist/server/connection/domain.d.ts.map +1 -1
  67. package/dist/server/context.d.ts.map +1 -1
  68. package/dist/server/context.js +2 -1
  69. package/dist/server/context.js.map +1 -1
  70. package/dist/server/cors.d.ts +2 -2
  71. package/dist/server/cors.d.ts.map +1 -1
  72. package/dist/server/events.d.ts.map +1 -1
  73. package/dist/server/runtime.d.ts +24 -24
  74. package/dist/server/session/lifecycle.d.ts.map +1 -1
  75. package/dist/server/session/lifecycle.js +2 -1
  76. package/dist/server/session/lifecycle.js.map +1 -1
  77. package/dist/server/validators.d.ts +626 -626
  78. package/dist/shared/epoch.js +13 -0
  79. package/dist/shared/epoch.js.map +1 -0
  80. package/dist/test.d.ts +4 -4
  81. package/package.json +1 -1
@@ -56,7 +56,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
56
56
  name?: string;
57
57
  phone?: string;
58
58
  phoneVerificationTime?: number;
59
- sessionEpoch: number;
59
+ sessionEpoch?: number;
60
60
  };
61
61
  }, Name>;
62
62
  completeCredentialsSignIn: FunctionReference<"mutation", "internal", {
@@ -94,7 +94,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
94
94
  name?: string;
95
95
  phone?: string;
96
96
  phoneVerificationTime?: number;
97
- sessionEpoch: number;
97
+ sessionEpoch?: number;
98
98
  };
99
99
  }, Name>;
100
100
  create: FunctionReference<"mutation", "internal", {
@@ -888,7 +888,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
888
888
  session: {
889
889
  _creationTime: number;
890
890
  _id: string;
891
- epoch: number;
891
+ epoch?: number;
892
892
  expirationTime: number;
893
893
  userId: string;
894
894
  } | null;
@@ -906,7 +906,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
906
906
  name?: string;
907
907
  phone?: string;
908
908
  phoneVerificationTime?: number;
909
- sessionEpoch: number;
909
+ sessionEpoch?: number;
910
910
  } | null;
911
911
  }, Name>;
912
912
  };
@@ -1527,7 +1527,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
1527
1527
  name?: string;
1528
1528
  phone?: string;
1529
1529
  phoneVerificationTime?: number;
1530
- sessionEpoch: number;
1530
+ sessionEpoch?: number;
1531
1531
  };
1532
1532
  }, Name>;
1533
1533
  completeEnrollment: FunctionReference<"mutation", "internal", {
@@ -1581,7 +1581,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
1581
1581
  name?: string;
1582
1582
  phone?: string;
1583
1583
  phoneVerificationTime?: number;
1584
- sessionEpoch: number;
1584
+ sessionEpoch?: number;
1585
1585
  };
1586
1586
  }, Name>;
1587
1587
  completeRegistration: FunctionReference<"mutation", "internal", {
@@ -1629,7 +1629,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
1629
1629
  name?: string;
1630
1630
  phone?: string;
1631
1631
  phoneVerificationTime?: number;
1632
- sessionEpoch: number;
1632
+ sessionEpoch?: number;
1633
1633
  };
1634
1634
  }, Name>;
1635
1635
  completeRotation: FunctionReference<"mutation", "internal", {
@@ -1680,7 +1680,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
1680
1680
  name?: string;
1681
1681
  phone?: string;
1682
1682
  phoneVerificationTime?: number;
1683
- sessionEpoch: number;
1683
+ sessionEpoch?: number;
1684
1684
  };
1685
1685
  }, Name>;
1686
1686
  create: FunctionReference<"mutation", "internal", {
@@ -1837,7 +1837,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
1837
1837
  name?: string;
1838
1838
  phone?: string;
1839
1839
  phoneVerificationTime?: number;
1840
- sessionEpoch: number;
1840
+ sessionEpoch?: number;
1841
1841
  };
1842
1842
  }, Name>;
1843
1843
  create: FunctionReference<"mutation", "internal", {
@@ -1872,7 +1872,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
1872
1872
  name?: string;
1873
1873
  phone?: string;
1874
1874
  phoneVerificationTime?: number;
1875
- sessionEpoch: number;
1875
+ sessionEpoch?: number;
1876
1876
  };
1877
1877
  verifierId: string;
1878
1878
  }, Name>;
@@ -2689,7 +2689,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
2689
2689
  name?: string;
2690
2690
  phone?: string;
2691
2691
  phoneVerificationTime?: number;
2692
- sessionEpoch: number;
2692
+ sessionEpoch?: number;
2693
2693
  };
2694
2694
  userId: string;
2695
2695
  }, Name>;
@@ -2698,7 +2698,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
2698
2698
  }, {
2699
2699
  _creationTime: number;
2700
2700
  _id: string;
2701
- epoch: number;
2701
+ epoch?: number;
2702
2702
  expirationTime: number;
2703
2703
  userId: string;
2704
2704
  } | null, Name>;
@@ -2707,7 +2707,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
2707
2707
  }, Array<{
2708
2708
  _creationTime: number;
2709
2709
  _id: string;
2710
- epoch: number;
2710
+ epoch?: number;
2711
2711
  expirationTime: number;
2712
2712
  userId: string;
2713
2713
  }>, Name>;
@@ -2883,7 +2883,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
2883
2883
  name?: string;
2884
2884
  phone?: string;
2885
2885
  phoneVerificationTime?: number;
2886
- sessionEpoch: number;
2886
+ sessionEpoch?: number;
2887
2887
  };
2888
2888
  userId: string;
2889
2889
  } | {
@@ -2993,7 +2993,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
2993
2993
  name?: string;
2994
2994
  phone?: string;
2995
2995
  phoneVerificationTime?: number;
2996
- sessionEpoch: number;
2996
+ sessionEpoch?: number;
2997
2997
  };
2998
2998
  } | {
2999
2999
  refreshTokenId?: string;
@@ -3015,7 +3015,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
3015
3015
  name?: string;
3016
3016
  phone?: string;
3017
3017
  phoneVerificationTime?: number;
3018
- sessionEpoch: number;
3018
+ sessionEpoch?: number;
3019
3019
  };
3020
3020
  }, Name>;
3021
3021
  create: FunctionReference<"mutation", "internal", {
@@ -3119,7 +3119,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
3119
3119
  name?: string;
3120
3120
  phone?: string;
3121
3121
  phoneVerificationTime?: number;
3122
- sessionEpoch: number;
3122
+ sessionEpoch?: number;
3123
3123
  } | null | Array<{
3124
3124
  _creationTime: number;
3125
3125
  _id: string;
@@ -3134,7 +3134,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
3134
3134
  name?: string;
3135
3135
  phone?: string;
3136
3136
  phoneVerificationTime?: number;
3137
- sessionEpoch: number;
3137
+ sessionEpoch?: number;
3138
3138
  } | null>, Name>;
3139
3139
  key: {
3140
3140
  create: FunctionReference<"mutation", "internal", {
@@ -3320,7 +3320,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
3320
3320
  name?: string;
3321
3321
  phone?: string;
3322
3322
  phoneVerificationTime?: number;
3323
- sessionEpoch: number;
3323
+ sessionEpoch?: number;
3324
3324
  }>;
3325
3325
  pageStatus?: "SplitRecommended" | "SplitRequired" | null;
3326
3326
  splitCursor?: string | null;
@@ -1,6 +1,6 @@
1
1
  import { SessionRows } from "./session.js";
2
- import * as convex_values1556 from "convex/values";
3
- import * as convex_server81 from "convex/server";
2
+ import * as convex_values2525 from "convex/values";
3
+ import * as convex_server90 from "convex/server";
4
4
 
5
5
  //#region src/component/account.d.ts
6
6
  declare namespace account_d_exports {
@@ -10,7 +10,7 @@ type AcceptedCredentialsSignIn = Omit<SessionRows, "epoch"> & {
10
10
  status: "accepted";
11
11
  };
12
12
  /** Reserve a password attempt and load all sign-in state in one transaction. */
13
- declare const beginCredentialsSignIn: convex_server81.RegisteredMutation<"public", {
13
+ declare const beginCredentialsSignIn: convex_server90.RegisteredMutation<"public", {
14
14
  provider: string;
15
15
  providerAccountId: string;
16
16
  limitIdentifier: string;
@@ -30,18 +30,18 @@ declare const beginCredentialsSignIn: convex_server81.RegisteredMutation<"public
30
30
  } | {
31
31
  status: "ready";
32
32
  account: {
33
- _id: convex_values1556.GenericId<"Account">;
33
+ _id: convex_values2525.GenericId<"Account">;
34
34
  _creationTime: number;
35
35
  extend?: any;
36
36
  secret?: string | undefined;
37
37
  emailVerified?: string | undefined;
38
38
  phoneVerified?: string | undefined;
39
- userId: convex_values1556.GenericId<"User">;
39
+ userId: convex_values2525.GenericId<"User">;
40
40
  provider: string;
41
41
  providerAccountId: string;
42
42
  };
43
43
  user: {
44
- _id: convex_values1556.GenericId<"User">;
44
+ _id: convex_values2525.GenericId<"User">;
45
45
  _creationTime: number;
46
46
  email?: string | undefined;
47
47
  phone?: string | undefined;
@@ -53,20 +53,20 @@ declare const beginCredentialsSignIn: convex_server81.RegisteredMutation<"public
53
53
  emailVerificationTime?: number | undefined;
54
54
  phoneVerificationTime?: number | undefined;
55
55
  isAnonymous?: boolean | undefined;
56
- lastActiveGroup?: convex_values1556.GenericId<"Group"> | undefined;
57
- sessionEpoch: number;
56
+ lastActiveGroup?: convex_values2525.GenericId<"Group"> | undefined;
57
+ sessionEpoch?: number | undefined;
58
58
  };
59
59
  hasTotp: boolean;
60
60
  }>>;
61
61
  /** Refund a verified password attempt and optionally issue its session atomically. */
62
- declare const completeCredentialsSignIn: convex_server81.RegisteredMutation<"public", {
62
+ declare const completeCredentialsSignIn: convex_server90.RegisteredMutation<"public", {
63
63
  replaceSession?: {
64
- sessionId: convex_values1556.GenericId<"Session">;
65
- authenticatedUserId: convex_values1556.GenericId<"User">;
64
+ sessionId: convex_values2525.GenericId<"Session">;
65
+ authenticatedUserId: convex_values2525.GenericId<"User">;
66
66
  } | undefined;
67
67
  sessionExpirationTime: number;
68
68
  refreshTokenExpirationTime: number;
69
- accountId: convex_values1556.GenericId<"Account">;
69
+ accountId: convex_values2525.GenericId<"Account">;
70
70
  limitIdentifier: string;
71
71
  issueSession: boolean;
72
72
  generateTokens: boolean;
@@ -79,18 +79,18 @@ declare const completeCredentialsSignIn: convex_server81.RegisteredMutation<"pub
79
79
  * Read an account by id, or by `{ provider, providerAccountId }` when both
80
80
  * are given. Returns `null` when no selector matches.
81
81
  */
82
- declare const get: convex_server81.RegisteredQuery<"public", {
83
- id?: convex_values1556.GenericId<"Account"> | undefined;
82
+ declare const get: convex_server90.RegisteredQuery<"public", {
83
+ id?: convex_values2525.GenericId<"Account"> | undefined;
84
84
  provider?: string | undefined;
85
85
  providerAccountId?: string | undefined;
86
86
  }, Promise<{
87
- _id: convex_values1556.GenericId<"Account">;
87
+ _id: convex_values2525.GenericId<"Account">;
88
88
  _creationTime: number;
89
89
  extend?: any;
90
90
  secret?: string | undefined;
91
91
  emailVerified?: string | undefined;
92
92
  phoneVerified?: string | undefined;
93
- userId: convex_values1556.GenericId<"User">;
93
+ userId: convex_values2525.GenericId<"User">;
94
94
  provider: string;
95
95
  providerAccountId: string;
96
96
  } | null>>;
@@ -101,34 +101,34 @@ declare const get: convex_server81.RegisteredQuery<"public", {
101
101
  * public server facade projects these raw records into safe capability
102
102
  * summaries before exposing them to application code.
103
103
  */
104
- declare const list: convex_server81.RegisteredQuery<"public", {
105
- userId?: convex_values1556.GenericId<"User"> | undefined;
104
+ declare const list: convex_server90.RegisteredQuery<"public", {
105
+ userId?: convex_values2525.GenericId<"User"> | undefined;
106
106
  provider?: string | undefined;
107
- userIds?: convex_values1556.GenericId<"User">[] | undefined;
107
+ userIds?: convex_values2525.GenericId<"User">[] | undefined;
108
108
  }, Promise<{
109
- _id: convex_values1556.GenericId<"Account">;
109
+ _id: convex_values2525.GenericId<"Account">;
110
110
  _creationTime: number;
111
111
  extend?: any;
112
112
  secret?: string | undefined;
113
113
  emailVerified?: string | undefined;
114
114
  phoneVerified?: string | undefined;
115
- userId: convex_values1556.GenericId<"User">;
115
+ userId: convex_values2525.GenericId<"User">;
116
116
  provider: string;
117
117
  providerAccountId: string;
118
118
  }[]>>;
119
119
  /** Insert a new account. */
120
- declare const create: convex_server81.RegisteredMutation<"public", {
120
+ declare const create: convex_server90.RegisteredMutation<"public", {
121
121
  extend?: any;
122
122
  secret?: string | undefined;
123
- userId: convex_values1556.GenericId<"User">;
123
+ userId: convex_values2525.GenericId<"User">;
124
124
  provider: string;
125
125
  providerAccountId: string;
126
- }, Promise<convex_values1556.GenericId<"Account">>>;
126
+ }, Promise<convex_values2525.GenericId<"Account">>>;
127
127
  /** Patch fields on an account. */
128
- declare const update: convex_server81.RegisteredMutation<"public", {
129
- id: convex_values1556.GenericId<"Account">;
128
+ declare const update: convex_server90.RegisteredMutation<"public", {
129
+ id: convex_values2525.GenericId<"Account">;
130
130
  patch: {
131
- userId?: convex_values1556.GenericId<"User"> | undefined;
131
+ userId?: convex_values2525.GenericId<"User"> | undefined;
132
132
  extend?: any;
133
133
  provider?: string | undefined;
134
134
  providerAccountId?: string | undefined;
@@ -141,10 +141,10 @@ declare const update: convex_server81.RegisteredMutation<"public", {
141
141
  * Delete an account. When `requireOtherAccount` is set, refuses to delete the
142
142
  * user's last remaining account so they are never left with none.
143
143
  */
144
- declare const remove: convex_server81.RegisteredMutation<"public", {
145
- userId?: convex_values1556.GenericId<"User"> | undefined;
144
+ declare const remove: convex_server90.RegisteredMutation<"public", {
145
+ userId?: convex_values2525.GenericId<"User"> | undefined;
146
146
  requireOtherAccount?: boolean | undefined;
147
- id: convex_values1556.GenericId<"Account">;
147
+ id: convex_values2525.GenericId<"Account">;
148
148
  }, Promise<null>>;
149
149
  //#endregion
150
150
  export { account_d_exports };
@@ -1,5 +1,5 @@
1
- import * as convex_values1894 from "convex/values";
2
- import * as convex_server186 from "convex/server";
1
+ import * as convex_values2863 from "convex/values";
2
+ import * as convex_server195 from "convex/server";
3
3
 
4
4
  //#region src/component/connection/audit.d.ts
5
5
  declare namespace audit_d_exports {
@@ -16,7 +16,7 @@ declare namespace audit_d_exports {
16
16
  * an allowlist). Requires exactly one of `connectionId` or `groupId` — passing
17
17
  * neither throws rather than scanning the entire audit log.
18
18
  */
19
- declare const list: convex_server186.RegisteredQuery<"public", {
19
+ declare const list: convex_server195.RegisteredQuery<"public", {
20
20
  paginationOpts: {
21
21
  id?: number;
22
22
  endCursor?: string | null;
@@ -26,13 +26,13 @@ declare const list: convex_server186.RegisteredQuery<"public", {
26
26
  cursor: string | null;
27
27
  };
28
28
  scope: {
29
- connectionId: convex_values1894.GenericId<"GroupConnection">;
29
+ connectionId: convex_values2863.GenericId<"GroupConnection">;
30
30
  } | {
31
- groupId: convex_values1894.GenericId<"Group">;
31
+ groupId: convex_values2863.GenericId<"Group">;
32
32
  };
33
33
  }, Promise<{
34
34
  page: {
35
- _id: convex_values1894.GenericId<"AuthEventProjection">;
35
+ _id: convex_values2863.GenericId<"AuthEventProjection">;
36
36
  _creationTime: number;
37
37
  eventId: string;
38
38
  targetKind: "user" | "group" | "session" | "api_key" | "connection" | "oauth_client" | "global";
@@ -125,8 +125,8 @@ declare const list: convex_server186.RegisteredQuery<"public", {
125
125
  } | undefined;
126
126
  }[];
127
127
  isDone: boolean;
128
- continueCursor: convex_server186.Cursor;
129
- splitCursor?: convex_server186.Cursor | null;
128
+ continueCursor: convex_server195.Cursor;
129
+ splitCursor?: convex_server195.Cursor | null;
130
130
  pageStatus?: "SplitRecommended" | "SplitRequired" | null;
131
131
  }>>;
132
132
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as convex_server189 from "convex/server";
1
+ import * as convex_server198 from "convex/server";
2
2
 
3
3
  //#region src/component/connection/cache.d.ts
4
4
  declare namespace cache_d_exports {
@@ -27,7 +27,7 @@ declare namespace cache_d_exports {
27
27
  /**
28
28
  * Read-through fetch for OIDC discovery JSON. Cached 1h per URL.
29
29
  */
30
- declare const oidcDiscovery: convex_server189.RegisteredAction<"public", {
30
+ declare const oidcDiscovery: convex_server198.RegisteredAction<"public", {
31
31
  runtimeOrigin?: string | undefined;
32
32
  externalHost?: string | undefined;
33
33
  url: string;
@@ -45,7 +45,7 @@ declare const oidcDiscovery: convex_server189.RegisteredAction<"public", {
45
45
  * Cached 2h per URL (separate from the runtime sign-in path so admin
46
46
  * dashboards don't share keys with hot-path traffic).
47
47
  */
48
- declare const oidcStatusDiscovery: convex_server189.RegisteredAction<"public", {
48
+ declare const oidcStatusDiscovery: convex_server198.RegisteredAction<"public", {
49
49
  runtimeOrigin?: string | undefined;
50
50
  externalHost?: string | undefined;
51
51
  url: string;
@@ -61,19 +61,19 @@ declare const oidcStatusDiscovery: convex_server189.RegisteredAction<"public", {
61
61
  /**
62
62
  * Read-through fetch for SAML IdP metadata XML. Cached 24h per URL.
63
63
  */
64
- declare const samlMetadata: convex_server189.RegisteredAction<"public", {
64
+ declare const samlMetadata: convex_server198.RegisteredAction<"public", {
65
65
  runtimeOrigin?: string | undefined;
66
66
  externalHost?: string | undefined;
67
67
  url: string;
68
68
  }, Promise<string>>;
69
69
  /** Invalidate a cached OIDC discovery entry (e.g. on `discoveryUrl` update). */
70
- declare const invalidateOidcDiscovery: convex_server189.RegisteredMutation<"public", {
70
+ declare const invalidateOidcDiscovery: convex_server198.RegisteredMutation<"public", {
71
71
  runtimeOrigin?: string | undefined;
72
72
  externalHost?: string | undefined;
73
73
  url: string;
74
74
  }, Promise<null>>;
75
75
  /** Invalidate a cached SAML metadata entry (e.g. on `metadataUrl` update). */
76
- declare const invalidateSamlMetadata: convex_server189.RegisteredMutation<"public", {
76
+ declare const invalidateSamlMetadata: convex_server198.RegisteredMutation<"public", {
77
77
  runtimeOrigin?: string | undefined;
78
78
  externalHost?: string | undefined;
79
79
  url: string;
@@ -1,5 +1,5 @@
1
- import * as convex_values1833 from "convex/values";
2
- import * as convex_server169 from "convex/server";
1
+ import * as convex_values2802 from "convex/values";
2
+ import * as convex_server178 from "convex/server";
3
3
 
4
4
  //#region src/component/connection/domain/verification.d.ts
5
5
  declare namespace verification_d_exports {
@@ -12,36 +12,36 @@ declare namespace verification_d_exports {
12
12
  * @module
13
13
  */
14
14
  /** Read a domain's verification record by `domainId`, or `null` if none. */
15
- declare const get: convex_server169.RegisteredQuery<"public", {
16
- domainId: convex_values1833.GenericId<"GroupConnectionDomain">;
15
+ declare const get: convex_server178.RegisteredQuery<"public", {
16
+ domainId: convex_values2802.GenericId<"GroupConnectionDomain">;
17
17
  }, Promise<{
18
- _id: convex_values1833.GenericId<"GroupConnectionDomainVerification">;
18
+ _id: convex_values2802.GenericId<"GroupConnectionDomainVerification">;
19
19
  _creationTime: number;
20
- connectionId: convex_values1833.GenericId<"GroupConnection">;
20
+ connectionId: convex_values2802.GenericId<"GroupConnection">;
21
21
  domain: string;
22
22
  recordName: string;
23
23
  expiresAt: number;
24
- groupId: convex_values1833.GenericId<"Group">;
24
+ groupId: convex_values2802.GenericId<"Group">;
25
25
  tokenHash: string;
26
- domainId: convex_values1833.GenericId<"GroupConnectionDomain">;
26
+ domainId: convex_values2802.GenericId<"GroupConnectionDomain">;
27
27
  token: string;
28
28
  requestedAt: number;
29
29
  } | null>>;
30
30
  /** Insert a verification record, or patch it when one already exists for the domain (keyed by `domainId`). */
31
- declare const upsert: convex_server169.RegisteredMutation<"public", {
32
- connectionId: convex_values1833.GenericId<"GroupConnection">;
31
+ declare const upsert: convex_server178.RegisteredMutation<"public", {
32
+ connectionId: convex_values2802.GenericId<"GroupConnection">;
33
33
  domain: string;
34
34
  recordName: string;
35
35
  expiresAt: number;
36
- groupId: convex_values1833.GenericId<"Group">;
36
+ groupId: convex_values2802.GenericId<"Group">;
37
37
  tokenHash: string;
38
- domainId: convex_values1833.GenericId<"GroupConnectionDomain">;
38
+ domainId: convex_values2802.GenericId<"GroupConnectionDomain">;
39
39
  token: string;
40
40
  requestedAt: number;
41
- }, Promise<convex_values1833.GenericId<"GroupConnectionDomainVerification">>>;
41
+ }, Promise<convex_values2802.GenericId<"GroupConnectionDomainVerification">>>;
42
42
  /** Delete a domain's verification record, if any. */
43
- declare const remove: convex_server169.RegisteredMutation<"public", {
44
- domainId: convex_values1833.GenericId<"GroupConnectionDomain">;
43
+ declare const remove: convex_server178.RegisteredMutation<"public", {
44
+ domainId: convex_values2802.GenericId<"GroupConnectionDomain">;
45
45
  }, Promise<null>>;
46
46
  //#endregion
47
47
  export { verification_d_exports };
@@ -1,5 +1,5 @@
1
- import * as convex_values1821 from "convex/values";
2
- import * as convex_server165 from "convex/server";
1
+ import * as convex_values2790 from "convex/values";
2
+ import * as convex_server174 from "convex/server";
3
3
 
4
4
  //#region src/component/connection/domain.d.ts
5
5
  declare namespace domain_d_exports {
@@ -15,16 +15,16 @@ declare namespace domain_d_exports {
15
15
  * @module
16
16
  */
17
17
  /** List the domains attached to a connection (`limit` clamped to 1..500, default 100). */
18
- declare const list: convex_server165.RegisteredQuery<"public", {
18
+ declare const list: convex_server174.RegisteredQuery<"public", {
19
19
  limit?: number | undefined;
20
- connectionId: convex_values1821.GenericId<"GroupConnection">;
20
+ connectionId: convex_values2790.GenericId<"GroupConnection">;
21
21
  }, Promise<{
22
- _id: convex_values1821.GenericId<"GroupConnectionDomain">;
22
+ _id: convex_values2790.GenericId<"GroupConnectionDomain">;
23
23
  _creationTime: number;
24
24
  verifiedAt?: number | undefined;
25
- connectionId: convex_values1821.GenericId<"GroupConnection">;
25
+ connectionId: convex_values2790.GenericId<"GroupConnection">;
26
26
  domain: string;
27
- groupId: convex_values1821.GenericId<"Group">;
27
+ groupId: convex_values2790.GenericId<"Group">;
28
28
  isPrimary: boolean;
29
29
  }[]>>;
30
30
  /**
@@ -33,30 +33,30 @@ declare const list: convex_server165.RegisteredQuery<"public", {
33
33
  * domain already belongs to a different connection. Setting `isPrimary` demotes
34
34
  * any current primary; the first domain on a connection becomes primary by default.
35
35
  */
36
- declare const create: convex_server165.RegisteredMutation<"public", {
36
+ declare const create: convex_server174.RegisteredMutation<"public", {
37
37
  isPrimary?: boolean | undefined;
38
- connectionId: convex_values1821.GenericId<"GroupConnection">;
38
+ connectionId: convex_values2790.GenericId<"GroupConnection">;
39
39
  domain: string;
40
- groupId: convex_values1821.GenericId<"Group">;
41
- }, Promise<convex_values1821.GenericId<"GroupConnectionDomain">>>;
40
+ groupId: convex_values2790.GenericId<"Group">;
41
+ }, Promise<convex_values2790.GenericId<"GroupConnectionDomain">>>;
42
42
  /** Delete a domain and its dependent verification record, if any. */
43
- declare const remove: convex_server165.RegisteredMutation<"public", {
44
- id: convex_values1821.GenericId<"GroupConnectionDomain">;
43
+ declare const remove: convex_server174.RegisteredMutation<"public", {
44
+ id: convex_values2790.GenericId<"GroupConnectionDomain">;
45
45
  }, Promise<null>>;
46
46
  /**
47
47
  * Mark a domain verified at `verifiedAt` and clear its pending verification
48
48
  * record. Returns the updated domain doc.
49
49
  */
50
- declare const verify: convex_server165.RegisteredMutation<"public", {
51
- id: convex_values1821.GenericId<"GroupConnectionDomain">;
50
+ declare const verify: convex_server174.RegisteredMutation<"public", {
51
+ id: convex_values2790.GenericId<"GroupConnectionDomain">;
52
52
  verifiedAt: number;
53
53
  }, Promise<{
54
- _id: convex_values1821.GenericId<"GroupConnectionDomain">;
54
+ _id: convex_values2790.GenericId<"GroupConnectionDomain">;
55
55
  _creationTime: number;
56
56
  verifiedAt?: number | undefined;
57
- connectionId: convex_values1821.GenericId<"GroupConnection">;
57
+ connectionId: convex_values2790.GenericId<"GroupConnection">;
58
58
  domain: string;
59
- groupId: convex_values1821.GenericId<"Group">;
59
+ groupId: convex_values2790.GenericId<"Group">;
60
60
  isPrimary: boolean;
61
61
  }>>;
62
62
  //#endregion
@@ -1,5 +1,5 @@
1
- import * as convex_values1820 from "convex/values";
2
- import * as convex_server164 from "convex/server";
1
+ import * as convex_values2789 from "convex/values";
2
+ import * as convex_server173 from "convex/server";
3
3
 
4
4
  //#region src/component/connection/saml/assertion.d.ts
5
5
  declare namespace assertion_d_exports {
@@ -21,8 +21,8 @@ declare namespace assertion_d_exports {
21
21
  * first sighting (the row is inserted); returns `false` if the assertion ID was
22
22
  * already recorded, signalling a replay the caller must reject.
23
23
  */
24
- declare const accept: convex_server164.RegisteredMutation<"public", {
25
- connectionId: convex_values1820.GenericId<"GroupConnection">;
24
+ declare const accept: convex_server173.RegisteredMutation<"public", {
25
+ connectionId: convex_values2789.GenericId<"GroupConnection">;
26
26
  expiresAt: number;
27
27
  assertionId: string;
28
28
  }, Promise<boolean>>;
@@ -1,5 +1,5 @@
1
- import * as convex_values1817 from "convex/values";
2
- import * as convex_server162 from "convex/server";
1
+ import * as convex_values2786 from "convex/values";
2
+ import * as convex_server171 from "convex/server";
3
3
 
4
4
  //#region src/component/connection/saml/request.d.ts
5
5
  declare namespace request_d_exports {
@@ -17,11 +17,11 @@ declare namespace request_d_exports {
17
17
  * @module
18
18
  */
19
19
  /** Persist a pending SAML AuthnRequest ID so the ACS handler can accept it once. */
20
- declare const create: convex_server162.RegisteredMutation<"public", {
20
+ declare const create: convex_server171.RegisteredMutation<"public", {
21
21
  requestId: string;
22
- connectionId: convex_values1817.GenericId<"GroupConnection">;
22
+ connectionId: convex_values2786.GenericId<"GroupConnection">;
23
23
  expiresAt: number;
24
- }, Promise<convex_values1817.GenericId<"SamlLoginRequest">>>;
24
+ }, Promise<convex_values2786.GenericId<"SamlLoginRequest">>>;
25
25
  /**
26
26
  * Atomically accept a pending SAML AuthnRequest by its `requestId`. Returns
27
27
  * `true` only when a matching, unaccepted, unexpired row existed and was
@@ -36,8 +36,8 @@ declare const create: convex_server162.RegisteredMutation<"public", {
36
36
  * connection can still accept it (a wrong-connection probe cannot burn a
37
37
  * legitimate pending request).
38
38
  */
39
- declare const accept: convex_server162.RegisteredMutation<"public", {
40
- connectionId?: convex_values1817.GenericId<"GroupConnection"> | undefined;
39
+ declare const accept: convex_server171.RegisteredMutation<"public", {
40
+ connectionId?: convex_values2786.GenericId<"GroupConnection"> | undefined;
41
41
  requestId: string;
42
42
  now: number;
43
43
  }, Promise<boolean>>;
@@ -1,5 +1,5 @@
1
- import * as convex_values1851 from "convex/values";
2
- import * as convex_server175 from "convex/server";
1
+ import * as convex_values2820 from "convex/values";
2
+ import * as convex_server184 from "convex/server";
3
3
 
4
4
  //#region src/component/connection/scim/config.d.ts
5
5
  declare namespace config_d_exports {
@@ -18,30 +18,30 @@ declare namespace config_d_exports {
18
18
  * Read a SCIM config. Overloaded: lookup by `{ tokenHash }` (bearer-token
19
19
  * resolution) or by `{ connectionId }`. Returns `null` when nothing matches.
20
20
  */
21
- declare const get: convex_server175.RegisteredQuery<"public", {
22
- connectionId?: convex_values1851.GenericId<"GroupConnection"> | undefined;
21
+ declare const get: convex_server184.RegisteredQuery<"public", {
22
+ connectionId?: convex_values2820.GenericId<"GroupConnection"> | undefined;
23
23
  tokenHash?: string | undefined;
24
24
  }, Promise<{
25
- _id: convex_values1851.GenericId<"GroupConnectionScimConfig">;
25
+ _id: convex_values2820.GenericId<"GroupConnectionScimConfig">;
26
26
  _creationTime: number;
27
27
  extend?: any;
28
28
  lastRotatedAt?: number | undefined;
29
- connectionId: convex_values1851.GenericId<"GroupConnection">;
30
- groupId: convex_values1851.GenericId<"Group">;
29
+ connectionId: convex_values2820.GenericId<"GroupConnection">;
30
+ groupId: convex_values2820.GenericId<"Group">;
31
31
  status: "active" | "draft" | "disabled";
32
32
  tokenHash: string;
33
33
  basePath: string;
34
34
  } | null>>;
35
35
  /** Insert a SCIM config, or patch it when one already exists for the connection (keyed by `connectionId`). */
36
- declare const upsert: convex_server175.RegisteredMutation<"public", {
36
+ declare const upsert: convex_server184.RegisteredMutation<"public", {
37
37
  extend?: any;
38
38
  lastRotatedAt?: number | undefined;
39
- connectionId: convex_values1851.GenericId<"GroupConnection">;
40
- groupId: convex_values1851.GenericId<"Group">;
39
+ connectionId: convex_values2820.GenericId<"GroupConnection">;
40
+ groupId: convex_values2820.GenericId<"Group">;
41
41
  status: "active" | "draft" | "disabled";
42
42
  tokenHash: string;
43
43
  basePath: string;
44
- }, Promise<convex_values1851.GenericId<"GroupConnectionScimConfig">>>;
44
+ }, Promise<convex_values2820.GenericId<"GroupConnectionScimConfig">>>;
45
45
  //#endregion
46
46
  export { config_d_exports };
47
47
  //# sourceMappingURL=config.d.ts.map