alepha 0.13.8 → 0.14.1

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 (160) hide show
  1. package/dist/api/audits/index.d.ts +418 -338
  2. package/dist/api/audits/index.d.ts.map +1 -0
  3. package/dist/api/files/index.d.ts +81 -1
  4. package/dist/api/files/index.d.ts.map +1 -0
  5. package/dist/api/jobs/index.d.ts +107 -27
  6. package/dist/api/jobs/index.d.ts.map +1 -0
  7. package/dist/api/notifications/index.d.ts +21 -1
  8. package/dist/api/notifications/index.d.ts.map +1 -0
  9. package/dist/api/parameters/index.d.ts +455 -8
  10. package/dist/api/parameters/index.d.ts.map +1 -0
  11. package/dist/api/users/index.d.ts +844 -840
  12. package/dist/api/users/index.d.ts.map +1 -0
  13. package/dist/api/verifications/index.d.ts.map +1 -0
  14. package/dist/batch/index.d.ts.map +1 -0
  15. package/dist/bucket/index.d.ts.map +1 -0
  16. package/dist/cache/core/index.d.ts.map +1 -0
  17. package/dist/cache/redis/index.d.ts.map +1 -0
  18. package/dist/cli/index.d.ts +254 -59
  19. package/dist/cli/index.d.ts.map +1 -0
  20. package/dist/cli/index.js +499 -127
  21. package/dist/cli/index.js.map +1 -1
  22. package/dist/command/index.d.ts +217 -10
  23. package/dist/command/index.d.ts.map +1 -0
  24. package/dist/command/index.js +350 -74
  25. package/dist/command/index.js.map +1 -1
  26. package/dist/core/index.browser.js +1334 -1318
  27. package/dist/core/index.browser.js.map +1 -1
  28. package/dist/core/index.d.ts +76 -72
  29. package/dist/core/index.d.ts.map +1 -0
  30. package/dist/core/index.js +1337 -1321
  31. package/dist/core/index.js.map +1 -1
  32. package/dist/core/index.native.js +1337 -1321
  33. package/dist/core/index.native.js.map +1 -1
  34. package/dist/datetime/index.d.ts.map +1 -0
  35. package/dist/email/index.d.ts.map +1 -0
  36. package/dist/fake/index.d.ts.map +1 -0
  37. package/dist/file/index.d.ts.map +1 -0
  38. package/dist/file/index.js.map +1 -1
  39. package/dist/lock/core/index.d.ts.map +1 -0
  40. package/dist/lock/redis/index.d.ts.map +1 -0
  41. package/dist/logger/index.d.ts +1 -0
  42. package/dist/logger/index.d.ts.map +1 -0
  43. package/dist/mcp/index.d.ts +820 -0
  44. package/dist/mcp/index.d.ts.map +1 -0
  45. package/dist/mcp/index.js +978 -0
  46. package/dist/mcp/index.js.map +1 -0
  47. package/dist/orm/index.d.ts +234 -107
  48. package/dist/orm/index.d.ts.map +1 -0
  49. package/dist/orm/index.js +376 -316
  50. package/dist/orm/index.js.map +1 -1
  51. package/dist/queue/core/index.d.ts +4 -4
  52. package/dist/queue/core/index.d.ts.map +1 -0
  53. package/dist/queue/redis/index.d.ts.map +1 -0
  54. package/dist/queue/redis/index.js +2 -4
  55. package/dist/queue/redis/index.js.map +1 -1
  56. package/dist/redis/index.d.ts +400 -29
  57. package/dist/redis/index.d.ts.map +1 -0
  58. package/dist/redis/index.js +412 -21
  59. package/dist/redis/index.js.map +1 -1
  60. package/dist/retry/index.d.ts.map +1 -0
  61. package/dist/router/index.d.ts.map +1 -0
  62. package/dist/scheduler/index.d.ts +6 -6
  63. package/dist/scheduler/index.d.ts.map +1 -0
  64. package/dist/security/index.d.ts +28 -28
  65. package/dist/security/index.d.ts.map +1 -0
  66. package/dist/server/auth/index.d.ts +155 -155
  67. package/dist/server/auth/index.d.ts.map +1 -0
  68. package/dist/server/cache/index.d.ts.map +1 -0
  69. package/dist/server/compress/index.d.ts.map +1 -0
  70. package/dist/server/cookies/index.d.ts.map +1 -0
  71. package/dist/server/core/index.d.ts +0 -1
  72. package/dist/server/core/index.d.ts.map +1 -0
  73. package/dist/server/core/index.js.map +1 -1
  74. package/dist/server/cors/index.d.ts.map +1 -0
  75. package/dist/server/health/index.d.ts +17 -17
  76. package/dist/server/health/index.d.ts.map +1 -0
  77. package/dist/server/helmet/index.d.ts +4 -1
  78. package/dist/server/helmet/index.d.ts.map +1 -0
  79. package/dist/server/links/index.d.ts +33 -33
  80. package/dist/server/links/index.d.ts.map +1 -0
  81. package/dist/server/metrics/index.d.ts.map +1 -0
  82. package/dist/server/multipart/index.d.ts.map +1 -0
  83. package/dist/server/multipart/index.js.map +1 -1
  84. package/dist/server/proxy/index.d.ts.map +1 -0
  85. package/dist/server/proxy/index.js.map +1 -1
  86. package/dist/server/rate-limit/index.d.ts.map +1 -0
  87. package/dist/server/security/index.d.ts +9 -9
  88. package/dist/server/security/index.d.ts.map +1 -0
  89. package/dist/server/static/index.d.ts.map +1 -0
  90. package/dist/server/swagger/index.d.ts.map +1 -0
  91. package/dist/sms/index.d.ts.map +1 -0
  92. package/dist/thread/index.d.ts.map +1 -0
  93. package/dist/topic/core/index.d.ts.map +1 -0
  94. package/dist/topic/redis/index.d.ts.map +1 -0
  95. package/dist/topic/redis/index.js +3 -3
  96. package/dist/topic/redis/index.js.map +1 -1
  97. package/dist/vite/index.d.ts +10 -2
  98. package/dist/vite/index.d.ts.map +1 -0
  99. package/dist/vite/index.js +45 -20
  100. package/dist/vite/index.js.map +1 -1
  101. package/dist/websocket/index.d.ts.map +1 -0
  102. package/package.json +9 -4
  103. package/src/cli/apps/AlephaCli.ts +10 -3
  104. package/src/cli/apps/AlephaPackageBuilderCli.ts +15 -8
  105. package/src/cli/assets/mainTs.ts +9 -10
  106. package/src/cli/atoms/changelogOptions.ts +45 -0
  107. package/src/cli/commands/ChangelogCommands.ts +259 -0
  108. package/src/cli/commands/DeployCommands.ts +118 -0
  109. package/src/cli/commands/DrizzleCommands.ts +230 -10
  110. package/src/cli/commands/ViteCommands.ts +47 -23
  111. package/src/cli/defineConfig.ts +15 -0
  112. package/src/cli/index.ts +3 -0
  113. package/src/cli/services/AlephaCliUtils.ts +10 -154
  114. package/src/cli/services/GitMessageParser.ts +77 -0
  115. package/src/command/helpers/EnvUtils.ts +37 -0
  116. package/src/command/index.ts +3 -1
  117. package/src/command/primitives/$command.ts +172 -6
  118. package/src/command/providers/CliProvider.ts +499 -95
  119. package/src/core/Alepha.ts +1 -1
  120. package/src/core/providers/SchemaValidator.ts +23 -1
  121. package/src/file/providers/NodeFileSystemProvider.ts +3 -1
  122. package/src/mcp/errors/McpError.ts +72 -0
  123. package/src/mcp/helpers/jsonrpc.ts +163 -0
  124. package/src/mcp/index.ts +132 -0
  125. package/src/mcp/interfaces/McpTypes.ts +248 -0
  126. package/src/mcp/primitives/$prompt.ts +188 -0
  127. package/src/mcp/primitives/$resource.ts +171 -0
  128. package/src/mcp/primitives/$tool.ts +285 -0
  129. package/src/mcp/providers/McpServerProvider.ts +382 -0
  130. package/src/mcp/transports/SseMcpTransport.ts +172 -0
  131. package/src/mcp/transports/StdioMcpTransport.ts +126 -0
  132. package/src/orm/index.ts +20 -4
  133. package/src/orm/interfaces/PgQueryWhere.ts +1 -26
  134. package/src/orm/providers/drivers/BunPostgresProvider.ts +225 -0
  135. package/src/orm/providers/drivers/BunSqliteProvider.ts +180 -0
  136. package/src/orm/providers/drivers/CloudflareD1Provider.ts +164 -0
  137. package/src/orm/providers/drivers/DatabaseProvider.ts +25 -0
  138. package/src/orm/providers/drivers/NodePostgresProvider.ts +0 -25
  139. package/src/orm/providers/drivers/NodeSqliteProvider.ts +3 -1
  140. package/src/orm/services/QueryManager.ts +10 -125
  141. package/src/queue/redis/providers/RedisQueueProvider.ts +2 -7
  142. package/src/redis/index.ts +65 -3
  143. package/src/redis/providers/BunRedisProvider.ts +304 -0
  144. package/src/redis/providers/BunRedisSubscriberProvider.ts +94 -0
  145. package/src/redis/providers/NodeRedisProvider.ts +280 -0
  146. package/src/redis/providers/NodeRedisSubscriberProvider.ts +94 -0
  147. package/src/redis/providers/RedisProvider.ts +134 -140
  148. package/src/redis/providers/RedisSubscriberProvider.ts +58 -49
  149. package/src/server/core/providers/BunHttpServerProvider.ts +0 -3
  150. package/src/server/core/providers/ServerBodyParserProvider.ts +3 -1
  151. package/src/server/core/providers/ServerProvider.ts +7 -4
  152. package/src/server/multipart/providers/ServerMultipartProvider.ts +3 -1
  153. package/src/server/proxy/providers/ServerProxyProvider.ts +1 -1
  154. package/src/topic/redis/providers/RedisTopicProvider.ts +3 -3
  155. package/src/vite/plugins/viteAlephaBuild.ts +8 -2
  156. package/src/vite/plugins/viteAlephaDev.ts +6 -2
  157. package/src/vite/tasks/buildServer.ts +2 -1
  158. package/src/vite/tasks/generateCloudflare.ts +43 -15
  159. package/src/vite/tasks/runAlepha.ts +1 -0
  160. package/src/orm/services/PgJsonQueryManager.ts +0 -511
@@ -1,11 +1,11 @@
1
- import * as alepha1 from "alepha";
1
+ import * as alepha23 from "alepha";
2
2
  import { Alepha, AlephaError, Page, PageQuery, Primitive, Static, StaticEncode, TNull, TObject, TOptional, TSchema, TUnion } from "alepha";
3
3
  import * as alepha_api_notifications0 from "alepha/api/notifications";
4
4
  import { VerificationController } from "alepha/api/verifications";
5
- import * as alepha_orm179 from "alepha/orm";
5
+ import * as alepha_orm204 from "alepha/orm";
6
6
  import { Page as Page$1, Repository } from "alepha/orm";
7
7
  import * as alepha_server0 from "alepha/server";
8
- import * as alepha_logger0 from "alepha/logger";
8
+ import * as alepha_logger1 from "alepha/logger";
9
9
  import * as alepha_bucket0 from "alepha/bucket";
10
10
  import * as alepha_cache0 from "alepha/cache";
11
11
  import { DateTime, DateTimeProvider } from "alepha/datetime";
@@ -14,6 +14,11 @@ import * as alepha_server_links0 from "alepha/server/links";
14
14
  import { OAuth2Profile, ServerAuthProvider, WithLinkFn, WithLoginFn } from "alepha/server/auth";
15
15
  import { FileSystemProvider } from "alepha/file";
16
16
  import { FileController } from "alepha/api/files";
17
+ import "bun";
18
+ import "bun:sqlite";
19
+ import "drizzle-orm/bun-sql";
20
+ import "drizzle-orm/bun-sqlite";
21
+ import "drizzle-orm/d1";
17
22
  import * as drizzle_orm0 from "drizzle-orm";
18
23
  import { BuildExtraConfigColumns, SQL, SQLWrapper } from "drizzle-orm";
19
24
  import * as drizzle_orm_pg_core0 from "drizzle-orm/pg-core";
@@ -22,86 +27,86 @@ import { PgTransactionConfig } from "drizzle-orm/pg-core/session";
22
27
  import * as DrizzleKit from "drizzle-kit/api";
23
28
  import "alepha/retry";
24
29
  import "alepha/lock";
30
+ import "drizzle-orm/sqlite-core";
25
31
  import "drizzle-orm/postgres-js";
26
32
  import "postgres";
27
- import "drizzle-orm/sqlite-core";
28
33
 
29
34
  //#region ../../src/api/users/atoms/realmAuthSettingsAtom.d.ts
30
- declare const realmAuthSettingsAtom: alepha1.Atom<alepha1.TObject<{
31
- displayName: alepha1.TOptional<alepha1.TString>;
32
- description: alepha1.TOptional<alepha1.TString>;
33
- logoUrl: alepha1.TOptional<alepha1.TString>;
34
- registrationAllowed: alepha1.TBoolean;
35
- emailEnabled: alepha1.TBoolean;
36
- emailRequired: alepha1.TBoolean;
37
- usernameEnabled: alepha1.TBoolean;
38
- usernameRequired: alepha1.TBoolean;
39
- phoneEnabled: alepha1.TBoolean;
40
- phoneRequired: alepha1.TBoolean;
41
- verifyEmailRequired: alepha1.TBoolean;
42
- verifyPhoneRequired: alepha1.TBoolean;
43
- firstNameLastNameEnabled: alepha1.TBoolean;
44
- firstNameLastNameRequired: alepha1.TBoolean;
45
- resetPasswordAllowed: alepha1.TBoolean;
46
- passwordPolicy: alepha1.TObject<{
47
- minLength: alepha1.TInteger;
48
- requireUppercase: alepha1.TBoolean;
49
- requireLowercase: alepha1.TBoolean;
50
- requireNumbers: alepha1.TBoolean;
51
- requireSpecialCharacters: alepha1.TBoolean;
35
+ declare const realmAuthSettingsAtom: alepha23.Atom<alepha23.TObject<{
36
+ displayName: alepha23.TOptional<alepha23.TString>;
37
+ description: alepha23.TOptional<alepha23.TString>;
38
+ logoUrl: alepha23.TOptional<alepha23.TString>;
39
+ registrationAllowed: alepha23.TBoolean;
40
+ emailEnabled: alepha23.TBoolean;
41
+ emailRequired: alepha23.TBoolean;
42
+ usernameEnabled: alepha23.TBoolean;
43
+ usernameRequired: alepha23.TBoolean;
44
+ phoneEnabled: alepha23.TBoolean;
45
+ phoneRequired: alepha23.TBoolean;
46
+ verifyEmailRequired: alepha23.TBoolean;
47
+ verifyPhoneRequired: alepha23.TBoolean;
48
+ firstNameLastNameEnabled: alepha23.TBoolean;
49
+ firstNameLastNameRequired: alepha23.TBoolean;
50
+ resetPasswordAllowed: alepha23.TBoolean;
51
+ passwordPolicy: alepha23.TObject<{
52
+ minLength: alepha23.TInteger;
53
+ requireUppercase: alepha23.TBoolean;
54
+ requireLowercase: alepha23.TBoolean;
55
+ requireNumbers: alepha23.TBoolean;
56
+ requireSpecialCharacters: alepha23.TBoolean;
52
57
  }>;
53
58
  }>, "alepha.api.users.realmAuthSettings">;
54
59
  type RealmAuthSettings = Static<typeof realmAuthSettingsAtom.schema>;
55
60
  //#endregion
56
61
  //#region ../../src/api/users/entities/identities.d.ts
57
- declare const identities: alepha_orm179.EntityPrimitive<alepha1.TObject<{
58
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
59
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
60
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
61
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
62
- userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
63
- password: alepha1.TOptional<alepha1.TString>;
64
- provider: alepha1.TString;
65
- providerUserId: alepha1.TOptional<alepha1.TString>;
66
- providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
62
+ declare const identities: alepha_orm204.EntityPrimitive<alepha23.TObject<{
63
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
64
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
65
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
66
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
67
+ userId: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_REF>;
68
+ password: alepha23.TOptional<alepha23.TString>;
69
+ provider: alepha23.TString;
70
+ providerUserId: alepha23.TOptional<alepha23.TString>;
71
+ providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
67
72
  }>>;
68
73
  type IdentityEntity = Static<typeof identities.schema>;
69
74
  //#endregion
70
75
  //#region ../../src/api/users/entities/sessions.d.ts
71
- declare const sessions: alepha_orm179.EntityPrimitive<alepha1.TObject<{
72
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
73
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
74
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
75
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
76
- refreshToken: alepha1.TString;
77
- userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
78
- expiresAt: alepha1.TString;
79
- ip: alepha1.TOptional<alepha1.TString>;
80
- userAgent: alepha1.TOptional<alepha1.TObject<{
81
- os: alepha1.TString;
82
- browser: alepha1.TString;
83
- device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
76
+ declare const sessions: alepha_orm204.EntityPrimitive<alepha23.TObject<{
77
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
78
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
79
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
80
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
81
+ refreshToken: alepha23.TString;
82
+ userId: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_REF>;
83
+ expiresAt: alepha23.TString;
84
+ ip: alepha23.TOptional<alepha23.TString>;
85
+ userAgent: alepha23.TOptional<alepha23.TObject<{
86
+ os: alepha23.TString;
87
+ browser: alepha23.TString;
88
+ device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
84
89
  }>>;
85
90
  }>>;
86
91
  type SessionEntity = Static<typeof sessions.schema>;
87
92
  //#endregion
88
93
  //#region ../../src/api/users/entities/users.d.ts
89
94
  declare const DEFAULT_USER_REALM_NAME = "default";
90
- declare const users: alepha_orm179.EntityPrimitive<alepha1.TObject<{
91
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
92
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
93
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
94
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
95
- realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
96
- username: alepha1.TOptional<alepha1.TString>;
97
- email: alepha1.TOptional<alepha1.TString>;
98
- phoneNumber: alepha1.TOptional<alepha1.TString>;
99
- roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
100
- firstName: alepha1.TOptional<alepha1.TString>;
101
- lastName: alepha1.TOptional<alepha1.TString>;
102
- picture: alepha1.TOptional<alepha1.TString>;
103
- enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
104
- emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
95
+ declare const users: alepha_orm204.EntityPrimitive<alepha23.TObject<{
96
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
97
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
98
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
99
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
100
+ realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
101
+ username: alepha23.TOptional<alepha23.TString>;
102
+ email: alepha23.TOptional<alepha23.TString>;
103
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
104
+ roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
105
+ firstName: alepha23.TOptional<alepha23.TString>;
106
+ lastName: alepha23.TOptional<alepha23.TString>;
107
+ picture: alepha23.TOptional<alepha23.TString>;
108
+ enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
109
+ emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
105
110
  }>>;
106
111
  type UserEntity = Static<typeof users.schema>;
107
112
  //#endregion
@@ -168,51 +173,51 @@ interface UserRealm {
168
173
  }
169
174
  declare class UserRealmProvider {
170
175
  protected readonly alepha: Alepha;
171
- protected readonly defaultIdentities: Repository<alepha1.TObject<{
172
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
173
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
174
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
175
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
176
- userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
177
- password: alepha1.TOptional<alepha1.TString>;
178
- provider: alepha1.TString;
179
- providerUserId: alepha1.TOptional<alepha1.TString>;
180
- providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
176
+ protected readonly defaultIdentities: Repository<alepha23.TObject<{
177
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
178
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
179
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
180
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
181
+ userId: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_REF>;
182
+ password: alepha23.TOptional<alepha23.TString>;
183
+ provider: alepha23.TString;
184
+ providerUserId: alepha23.TOptional<alepha23.TString>;
185
+ providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
181
186
  }>>;
182
- protected readonly defaultSessions: Repository<alepha1.TObject<{
183
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
184
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
185
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
186
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
187
- refreshToken: alepha1.TString;
188
- userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
189
- expiresAt: alepha1.TString;
190
- ip: alepha1.TOptional<alepha1.TString>;
191
- userAgent: alepha1.TOptional<alepha1.TObject<{
192
- os: alepha1.TString;
193
- browser: alepha1.TString;
194
- device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
187
+ protected readonly defaultSessions: Repository<alepha23.TObject<{
188
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
189
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
190
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
191
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
192
+ refreshToken: alepha23.TString;
193
+ userId: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_REF>;
194
+ expiresAt: alepha23.TString;
195
+ ip: alepha23.TOptional<alepha23.TString>;
196
+ userAgent: alepha23.TOptional<alepha23.TObject<{
197
+ os: alepha23.TString;
198
+ browser: alepha23.TString;
199
+ device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
195
200
  }>>;
196
201
  }>>;
197
- protected readonly defaultUsers: Repository<alepha1.TObject<{
198
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
199
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
200
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
201
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
202
- realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
203
- username: alepha1.TOptional<alepha1.TString>;
204
- email: alepha1.TOptional<alepha1.TString>;
205
- phoneNumber: alepha1.TOptional<alepha1.TString>;
206
- roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
207
- firstName: alepha1.TOptional<alepha1.TString>;
208
- lastName: alepha1.TOptional<alepha1.TString>;
209
- picture: alepha1.TOptional<alepha1.TString>;
210
- enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
211
- emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
202
+ protected readonly defaultUsers: Repository<alepha23.TObject<{
203
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
204
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
205
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
206
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
207
+ realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
208
+ username: alepha23.TOptional<alepha23.TString>;
209
+ email: alepha23.TOptional<alepha23.TString>;
210
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
211
+ roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
212
+ firstName: alepha23.TOptional<alepha23.TString>;
213
+ lastName: alepha23.TOptional<alepha23.TString>;
214
+ picture: alepha23.TOptional<alepha23.TString>;
215
+ enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
216
+ emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
212
217
  }>>;
213
218
  protected realms: Map<string, UserRealm>;
214
219
  avatars: alepha_bucket0.BucketPrimitive;
215
- protected readonly onConfigure: alepha1.HookPrimitive<"configure">;
220
+ protected readonly onConfigure: alepha23.HookPrimitive<"configure">;
216
221
  register(userRealmName: string, userRealmOptions?: UserRealmOptions): UserRealm;
217
222
  /**
218
223
  * Gets a registered realm by name, auto-creating default if needed.
@@ -224,29 +229,29 @@ declare class UserRealmProvider {
224
229
  }
225
230
  //#endregion
226
231
  //#region ../../src/api/users/schemas/identityQuerySchema.d.ts
227
- declare const identityQuerySchema: alepha1.TObject<{
228
- page: alepha1.TOptional<alepha1.TInteger>;
229
- size: alepha1.TOptional<alepha1.TInteger>;
230
- sort: alepha1.TOptional<alepha1.TString>;
231
- userId: alepha1.TOptional<alepha1.TString>;
232
- provider: alepha1.TOptional<alepha1.TString>;
232
+ declare const identityQuerySchema: alepha23.TObject<{
233
+ page: alepha23.TOptional<alepha23.TInteger>;
234
+ size: alepha23.TOptional<alepha23.TInteger>;
235
+ sort: alepha23.TOptional<alepha23.TString>;
236
+ userId: alepha23.TOptional<alepha23.TString>;
237
+ provider: alepha23.TOptional<alepha23.TString>;
233
238
  }>;
234
239
  type IdentityQuery = Static<typeof identityQuerySchema>;
235
240
  //#endregion
236
241
  //#region ../../src/api/users/services/IdentityService.d.ts
237
242
  declare class IdentityService {
238
- protected readonly log: alepha_logger0.Logger;
243
+ protected readonly log: alepha_logger1.Logger;
239
244
  protected readonly userRealmProvider: UserRealmProvider;
240
- identities(userRealmName?: string): alepha_orm179.Repository<alepha1.TObject<{
241
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
242
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
243
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
244
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
245
- userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
246
- password: alepha1.TOptional<alepha1.TString>;
247
- provider: alepha1.TString;
248
- providerUserId: alepha1.TOptional<alepha1.TString>;
249
- providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
245
+ identities(userRealmName?: string): alepha_orm204.Repository<alepha23.TObject<{
246
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
247
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
248
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
249
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
250
+ userId: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_REF>;
251
+ password: alepha23.TOptional<alepha23.TString>;
252
+ provider: alepha23.TString;
253
+ providerUserId: alepha23.TOptional<alepha23.TString>;
254
+ providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
250
255
  }>>;
251
256
  /**
252
257
  * Find identities with pagination and filtering.
@@ -271,90 +276,90 @@ declare class IdentityController {
271
276
  * Find identities with pagination and filtering.
272
277
  */
273
278
  readonly findIdentities: alepha_server0.ActionPrimitiveFn<{
274
- query: alepha1.TObject<{
275
- page: alepha1.TOptional<alepha1.TInteger>;
276
- size: alepha1.TOptional<alepha1.TInteger>;
277
- sort: alepha1.TOptional<alepha1.TString>;
278
- userId: alepha1.TOptional<alepha1.TString>;
279
- provider: alepha1.TOptional<alepha1.TString>;
280
- userRealmName: alepha1.TOptional<alepha1.TString>;
279
+ query: alepha23.TObject<{
280
+ page: alepha23.TOptional<alepha23.TInteger>;
281
+ size: alepha23.TOptional<alepha23.TInteger>;
282
+ sort: alepha23.TOptional<alepha23.TString>;
283
+ userId: alepha23.TOptional<alepha23.TString>;
284
+ provider: alepha23.TOptional<alepha23.TString>;
285
+ userRealmName: alepha23.TOptional<alepha23.TString>;
281
286
  }>;
282
- response: alepha1.TPage<alepha1.TObject<{
283
- userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
284
- provider: alepha1.TString;
285
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
286
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
287
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
288
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
289
- providerUserId: alepha1.TOptional<alepha1.TString>;
290
- providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
287
+ response: alepha23.TPage<alepha23.TObject<{
288
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
289
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
290
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
291
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
292
+ userId: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_REF>;
293
+ provider: alepha23.TString;
294
+ providerUserId: alepha23.TOptional<alepha23.TString>;
295
+ providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
291
296
  }>>;
292
297
  }>;
293
298
  /**
294
299
  * Get an identity by ID.
295
300
  */
296
301
  readonly getIdentity: alepha_server0.ActionPrimitiveFn<{
297
- params: alepha1.TObject<{
298
- id: alepha1.TString;
302
+ params: alepha23.TObject<{
303
+ id: alepha23.TString;
299
304
  }>;
300
- query: alepha1.TObject<{
301
- userRealmName: alepha1.TOptional<alepha1.TString>;
305
+ query: alepha23.TObject<{
306
+ userRealmName: alepha23.TOptional<alepha23.TString>;
302
307
  }>;
303
- response: alepha1.TObject<{
304
- userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
305
- provider: alepha1.TString;
306
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
307
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
308
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
309
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
310
- providerUserId: alepha1.TOptional<alepha1.TString>;
311
- providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
308
+ response: alepha23.TObject<{
309
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
310
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
311
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
312
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
313
+ userId: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_REF>;
314
+ provider: alepha23.TString;
315
+ providerUserId: alepha23.TOptional<alepha23.TString>;
316
+ providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
312
317
  }>;
313
318
  }>;
314
319
  /**
315
320
  * Delete an identity.
316
321
  */
317
322
  readonly deleteIdentity: alepha_server0.ActionPrimitiveFn<{
318
- params: alepha1.TObject<{
319
- id: alepha1.TString;
323
+ params: alepha23.TObject<{
324
+ id: alepha23.TString;
320
325
  }>;
321
- query: alepha1.TObject<{
322
- userRealmName: alepha1.TOptional<alepha1.TString>;
326
+ query: alepha23.TObject<{
327
+ userRealmName: alepha23.TOptional<alepha23.TString>;
323
328
  }>;
324
- response: alepha1.TObject<{
325
- ok: alepha1.TBoolean;
326
- id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
327
- count: alepha1.TOptional<alepha1.TNumber>;
329
+ response: alepha23.TObject<{
330
+ ok: alepha23.TBoolean;
331
+ id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
332
+ count: alepha23.TOptional<alepha23.TNumber>;
328
333
  }>;
329
334
  }>;
330
335
  }
331
336
  //#endregion
332
337
  //#region ../../src/api/users/schemas/sessionQuerySchema.d.ts
333
- declare const sessionQuerySchema: alepha1.TObject<{
334
- page: alepha1.TOptional<alepha1.TInteger>;
335
- size: alepha1.TOptional<alepha1.TInteger>;
336
- sort: alepha1.TOptional<alepha1.TString>;
337
- userId: alepha1.TOptional<alepha1.TString>;
338
+ declare const sessionQuerySchema: alepha23.TObject<{
339
+ page: alepha23.TOptional<alepha23.TInteger>;
340
+ size: alepha23.TOptional<alepha23.TInteger>;
341
+ sort: alepha23.TOptional<alepha23.TString>;
342
+ userId: alepha23.TOptional<alepha23.TString>;
338
343
  }>;
339
344
  type SessionQuery = Static<typeof sessionQuerySchema>;
340
345
  //#endregion
341
346
  //#region ../../src/api/users/services/SessionCrudService.d.ts
342
347
  declare class SessionCrudService {
343
- protected readonly log: alepha_logger0.Logger;
348
+ protected readonly log: alepha_logger1.Logger;
344
349
  protected readonly userRealmProvider: UserRealmProvider;
345
- sessions(userRealmName?: string): alepha_orm179.Repository<alepha1.TObject<{
346
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
347
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
348
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
349
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
350
- refreshToken: alepha1.TString;
351
- userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
352
- expiresAt: alepha1.TString;
353
- ip: alepha1.TOptional<alepha1.TString>;
354
- userAgent: alepha1.TOptional<alepha1.TObject<{
355
- os: alepha1.TString;
356
- browser: alepha1.TString;
357
- device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
350
+ sessions(userRealmName?: string): alepha_orm204.Repository<alepha23.TObject<{
351
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
352
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
353
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
354
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
355
+ refreshToken: alepha23.TString;
356
+ userId: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_REF>;
357
+ expiresAt: alepha23.TString;
358
+ ip: alepha23.TOptional<alepha23.TString>;
359
+ userAgent: alepha23.TOptional<alepha23.TObject<{
360
+ os: alepha23.TString;
361
+ browser: alepha23.TString;
362
+ device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
358
363
  }>>;
359
364
  }>>;
360
365
  /**
@@ -380,26 +385,26 @@ declare class SessionController {
380
385
  * Find sessions with pagination and filtering.
381
386
  */
382
387
  readonly findSessions: alepha_server0.ActionPrimitiveFn<{
383
- query: alepha1.TObject<{
384
- page: alepha1.TOptional<alepha1.TInteger>;
385
- size: alepha1.TOptional<alepha1.TInteger>;
386
- sort: alepha1.TOptional<alepha1.TString>;
387
- userId: alepha1.TOptional<alepha1.TString>;
388
- userRealmName: alepha1.TOptional<alepha1.TString>;
388
+ query: alepha23.TObject<{
389
+ page: alepha23.TOptional<alepha23.TInteger>;
390
+ size: alepha23.TOptional<alepha23.TInteger>;
391
+ sort: alepha23.TOptional<alepha23.TString>;
392
+ userId: alepha23.TOptional<alepha23.TString>;
393
+ userRealmName: alepha23.TOptional<alepha23.TString>;
389
394
  }>;
390
- response: alepha1.TPage<alepha1.TObject<{
391
- id: alepha1.TString;
392
- version: alepha1.TNumber;
393
- createdAt: alepha1.TString;
394
- updatedAt: alepha1.TString;
395
- refreshToken: alepha1.TString;
396
- userId: alepha1.TString;
397
- expiresAt: alepha1.TString;
398
- ip: alepha1.TOptional<alepha1.TString>;
399
- userAgent: alepha1.TOptional<alepha1.TObject<{
400
- os: alepha1.TString;
401
- browser: alepha1.TString;
402
- device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
395
+ response: alepha23.TPage<alepha23.TObject<{
396
+ id: alepha23.TString;
397
+ version: alepha23.TNumber;
398
+ createdAt: alepha23.TString;
399
+ updatedAt: alepha23.TString;
400
+ refreshToken: alepha23.TString;
401
+ userId: alepha23.TString;
402
+ expiresAt: alepha23.TString;
403
+ ip: alepha23.TOptional<alepha23.TString>;
404
+ userAgent: alepha23.TOptional<alepha23.TObject<{
405
+ os: alepha23.TString;
406
+ browser: alepha23.TString;
407
+ device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
403
408
  }>>;
404
409
  }>>;
405
410
  }>;
@@ -407,25 +412,25 @@ declare class SessionController {
407
412
  * Get a session by ID.
408
413
  */
409
414
  readonly getSession: alepha_server0.ActionPrimitiveFn<{
410
- params: alepha1.TObject<{
411
- id: alepha1.TString;
415
+ params: alepha23.TObject<{
416
+ id: alepha23.TString;
412
417
  }>;
413
- query: alepha1.TObject<{
414
- userRealmName: alepha1.TOptional<alepha1.TString>;
418
+ query: alepha23.TObject<{
419
+ userRealmName: alepha23.TOptional<alepha23.TString>;
415
420
  }>;
416
- response: alepha1.TObject<{
417
- id: alepha1.TString;
418
- version: alepha1.TNumber;
419
- createdAt: alepha1.TString;
420
- updatedAt: alepha1.TString;
421
- refreshToken: alepha1.TString;
422
- userId: alepha1.TString;
423
- expiresAt: alepha1.TString;
424
- ip: alepha1.TOptional<alepha1.TString>;
425
- userAgent: alepha1.TOptional<alepha1.TObject<{
426
- os: alepha1.TString;
427
- browser: alepha1.TString;
428
- device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
421
+ response: alepha23.TObject<{
422
+ id: alepha23.TString;
423
+ version: alepha23.TNumber;
424
+ createdAt: alepha23.TString;
425
+ updatedAt: alepha23.TString;
426
+ refreshToken: alepha23.TString;
427
+ userId: alepha23.TString;
428
+ expiresAt: alepha23.TString;
429
+ ip: alepha23.TOptional<alepha23.TString>;
430
+ userAgent: alepha23.TOptional<alepha23.TObject<{
431
+ os: alepha23.TString;
432
+ browser: alepha23.TString;
433
+ device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
429
434
  }>>;
430
435
  }>;
431
436
  }>;
@@ -433,16 +438,16 @@ declare class SessionController {
433
438
  * Delete a session.
434
439
  */
435
440
  readonly deleteSession: alepha_server0.ActionPrimitiveFn<{
436
- params: alepha1.TObject<{
437
- id: alepha1.TString;
441
+ params: alepha23.TObject<{
442
+ id: alepha23.TString;
438
443
  }>;
439
- query: alepha1.TObject<{
440
- userRealmName: alepha1.TOptional<alepha1.TString>;
444
+ query: alepha23.TObject<{
445
+ userRealmName: alepha23.TOptional<alepha23.TString>;
441
446
  }>;
442
- response: alepha1.TObject<{
443
- ok: alepha1.TBoolean;
444
- id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
445
- count: alepha1.TOptional<alepha1.TNumber>;
447
+ response: alepha23.TObject<{
448
+ ok: alepha23.TBoolean;
449
+ id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
450
+ count: alepha23.TOptional<alepha23.TNumber>;
446
451
  }>;
447
452
  }>;
448
453
  }
@@ -1137,7 +1142,7 @@ type PgRelation<Base extends TObject> = {
1137
1142
  //#region ../../src/orm/interfaces/PgQueryWhere.d.ts
1138
1143
  type PgQueryWhere<T extends TObject, Relations extends PgRelationMap<TObject> | undefined = undefined> = (PgQueryWhereOperators<T> & PgQueryWhereConditions<T>) | (PgQueryWhereRelations<Relations> & PgQueryWhereOperators<T> & PgQueryWhereConditions<T, Relations>);
1139
1144
  type PgQueryWhereOrSQL<T extends TObject, Relations extends PgRelationMap<TObject> | undefined = undefined> = SQLWrapper | PgQueryWhere<T, Relations>;
1140
- type PgQueryWhereOperators<T extends TObject> = { [Key in keyof Static<T>]?: FilterOperators<Static<T>[Key]> | Static<T>[Key] | (Static<T>[Key] extends object ? NestedJsonbQuery<Static<T>[Key]> : never) };
1145
+ type PgQueryWhereOperators<T extends TObject> = { [Key in keyof Static<T>]?: FilterOperators<Static<T>[Key]> | Static<T>[Key] };
1141
1146
  type PgQueryWhereConditions<T extends TObject, Relations extends PgRelationMap<TObject> | undefined = undefined> = {
1142
1147
  /**
1143
1148
  * Combine a list of conditions with the `and` operator. Conditions
@@ -1208,10 +1213,6 @@ type PgQueryWhereConditions<T extends TObject, Relations extends PgRelationMap<T
1208
1213
  exists?: SQLWrapper;
1209
1214
  };
1210
1215
  type PgQueryWhereRelations<Relations extends PgRelationMap<TObject> | undefined = undefined> = Relations extends PgRelationMap<TObject> ? { [K in keyof Relations]?: PgQueryWhere<Relations[K]["join"]["schema"], Relations[K]["with"]> } : {};
1211
- /**
1212
- * Recursively allow nested queries for JSONB object/array types
1213
- */
1214
- type NestedJsonbQuery<T> = T extends object ? T extends Array<infer U> ? U extends object ? { [K in keyof U]?: FilterOperators<U[K]> | U[K] } : FilterOperators<U> | U : { [K in keyof T]?: FilterOperators<T[K]> | T[K] | (T[K] extends object ? NestedJsonbQuery<T[K]> : never) } : FilterOperators<T> | T;
1215
1216
  //#endregion
1216
1217
  //#region ../../src/orm/helpers/pgAttr.d.ts
1217
1218
  /**
@@ -1302,7 +1303,7 @@ declare abstract class ModelBuilder {
1302
1303
  //#endregion
1303
1304
  //#region ../../src/orm/providers/DrizzleKitProvider.d.ts
1304
1305
  declare class DrizzleKitProvider {
1305
- protected readonly log: alepha_logger0.Logger;
1306
+ protected readonly log: alepha_logger1.Logger;
1306
1307
  protected readonly alepha: Alepha;
1307
1308
  /**
1308
1309
  * Synchronize database with current schema definitions.
@@ -1338,11 +1339,11 @@ declare class DrizzleKitProvider {
1338
1339
  */
1339
1340
  importDrizzleKit(): typeof DrizzleKit;
1340
1341
  }
1341
- declare const devMigrationsSchema: alepha1.TObject<{
1342
- id: alepha1.TNumber;
1343
- name: alepha1.TString;
1344
- snapshot: alepha1.TString;
1345
- created_at: alepha1.TString;
1342
+ declare const devMigrationsSchema: alepha23.TObject<{
1343
+ id: alepha23.TNumber;
1344
+ name: alepha23.TString;
1345
+ snapshot: alepha23.TString;
1346
+ created_at: alepha23.TString;
1346
1347
  }>;
1347
1348
  type DevMigrations = Static<typeof devMigrationsSchema>;
1348
1349
  //#endregion
@@ -1350,7 +1351,7 @@ type DevMigrations = Static<typeof devMigrationsSchema>;
1350
1351
  type SQLLike = SQLWrapper | string;
1351
1352
  declare abstract class DatabaseProvider {
1352
1353
  protected readonly alepha: Alepha;
1353
- protected readonly log: alepha_logger0.Logger;
1354
+ protected readonly log: alepha_logger1.Logger;
1354
1355
  protected abstract readonly builder: ModelBuilder;
1355
1356
  protected abstract readonly kit: DrizzleKitProvider;
1356
1357
  abstract readonly db: PgDatabase<any>;
@@ -1395,84 +1396,16 @@ declare abstract class DatabaseProvider {
1395
1396
  * MUST be implemented by each provider
1396
1397
  */
1397
1398
  protected abstract executeMigrations(migrationsFolder: string): Promise<void>;
1398
- }
1399
- //#endregion
1400
- //#region ../../src/orm/services/PgJsonQueryManager.d.ts
1401
- /**
1402
- * Manages JSONB query generation for nested object and array queries in PostgreSQL.
1403
- * This class handles complex nested queries using PostgreSQL's JSONB operators.
1404
- */
1405
- declare class PgJsonQueryManager {
1406
- /**
1407
- * Check if a query contains nested JSONB queries.
1408
- * A nested query is when the value is an object with operator keys.
1409
- */
1410
- hasNestedQuery(where: PgQueryWhere<TObject>): boolean;
1411
- /**
1412
- * Build a JSONB query condition for nested object queries.
1413
- * Supports deep nesting like: { profile: { contact: { email: { eq: "test@example.com" } } } }
1414
- *
1415
- * @param column The JSONB column
1416
- * @param path The path to the nested property (e.g., ['profile', 'contact', 'email'])
1417
- * @param operator The filter operator (e.g., { eq: "test@example.com" })
1418
- * @param dialect Database dialect (postgresql or sqlite)
1419
- * @param columnSchema Optional schema of the JSON column for type inference
1420
- * @returns SQL condition
1421
- */
1422
- buildJsonbCondition(column: PgColumn, path: string[], operator: FilterOperators<any>, dialect: "postgresql" | "sqlite", columnSchema?: any): SQL | undefined;
1423
- /**
1424
- * Build JSONB array query conditions.
1425
- * Supports queries like: { addresses: { city: { eq: "Wonderland" } } }
1426
- * which translates to: EXISTS (SELECT 1 FROM jsonb_array_elements(addresses) elem WHERE elem->>'city' = 'Wonderland')
1427
- *
1428
- * @param dialect Database dialect (postgresql or sqlite)
1429
- * Note: SQLite array queries are not yet supported
1430
- */
1431
- buildJsonbArrayCondition(column: PgColumn, path: string[], arrayPath: string, operator: FilterOperators<any>, dialect: "postgresql" | "sqlite"): SQL | undefined;
1432
1399
  /**
1433
- * Apply a filter operator to a JSONB value.
1434
- * @param dialect Database dialect for appropriate casting syntax
1435
- * @param fieldType Optional field type from schema for smart casting
1400
+ * For testing purposes, generate a unique schema name.
1401
+ * The schema name will be generated based on the current date and time.
1402
+ * It will be in the format of `test_YYYYMMDD_HHMMSS_randomSuffix`.
1436
1403
  */
1437
- private applyOperatorToJsonValue;
1438
- /**
1439
- * Parse a nested query object and extract the path and operator.
1440
- * For example: { profile: { contact: { email: { eq: "test@example.com" } } } }
1441
- * Returns: { path: ['profile', 'contact', 'email'], operator: { eq: "test@example.com" } }
1442
- */
1443
- parseNestedQuery(nestedQuery: any, currentPath?: string[]): Array<{
1444
- path: string[];
1445
- operator: FilterOperators<any>;
1446
- }>;
1447
- /**
1448
- * Determine if a property is a JSONB column based on the schema.
1449
- * A column is JSONB if it's defined as an object or array in the TypeBox schema.
1450
- */
1451
- isJsonbColumn(schema: TObject, columnName: string): boolean;
1452
- /**
1453
- * Check if an array property contains primitive types (string, number, boolean, etc.)
1454
- * rather than objects. Primitive arrays should use native Drizzle operators.
1455
- * @returns true if the array contains primitives, false if it contains objects
1456
- */
1457
- isPrimitiveArray(schema: TObject, columnName: string): boolean;
1458
- /**
1459
- * Get the type of a field by navigating through a schema path.
1460
- * Used for smart type casting in SQL queries.
1461
- *
1462
- * @param columnSchema The schema of the JSON column (e.g., t.object({ age: t.integer() }))
1463
- * @param path The path to navigate (e.g., ['contact', 'email'])
1464
- * @returns The type string (e.g., 'integer', 'number', 'string') or undefined if not found
1465
- */
1466
- private getFieldType;
1467
- /**
1468
- * Check if a nested path points to an array property.
1469
- */
1470
- isArrayProperty(schema: TObject, path: string[]): boolean;
1404
+ protected generateTestSchemaName(): string;
1471
1405
  }
1472
1406
  //#endregion
1473
1407
  //#region ../../src/orm/services/QueryManager.d.ts
1474
1408
  declare class QueryManager {
1475
- protected readonly jsonQueryManager: PgJsonQueryManager;
1476
1409
  protected readonly alepha: Alepha;
1477
1410
  /**
1478
1411
  * Convert a query object to a SQL query.
@@ -1483,10 +1416,6 @@ declare class QueryManager {
1483
1416
  joins?: PgJoin[];
1484
1417
  dialect: "postgresql" | "sqlite";
1485
1418
  }): SQL | undefined;
1486
- /**
1487
- * Build a JSONB query for nested object/array queries.
1488
- */
1489
- protected buildJsonbQuery(column: PgColumn, nestedQuery: any, schema: TObject, columnName: string, dialect: "postgresql" | "sqlite"): SQL | undefined;
1490
1419
  /**
1491
1420
  * Check if an object has any filter operator properties.
1492
1421
  */
@@ -1539,7 +1468,7 @@ declare class QueryManager {
1539
1468
  createPagination<T>(entities: T[], limit?: number, offset?: number, sort?: Array<{
1540
1469
  column: string;
1541
1470
  direction: "asc" | "desc";
1542
- }>): alepha1.Page<T>;
1471
+ }>): alepha23.Page<T>;
1543
1472
  }
1544
1473
  interface PgJoin {
1545
1474
  table: string;
@@ -1847,11 +1776,86 @@ interface StatementOptions {
1847
1776
  now?: DateTime | string;
1848
1777
  }
1849
1778
  //#endregion
1779
+ //#region ../../src/orm/providers/drivers/BunPostgresProvider.d.ts
1780
+ declare module "alepha" {
1781
+ interface Env extends Partial<Static<typeof envSchema$1>> {}
1782
+ }
1783
+ declare const envSchema$1: alepha23.TObject<{
1784
+ /**
1785
+ * Main configuration for database connection.
1786
+ * Accept a string in the format of a Postgres connection URL.
1787
+ * Example: postgres://user:password@localhost:5432/database
1788
+ * or
1789
+ * Example: postgres://user:password@localhost:5432/database?sslmode=require
1790
+ */
1791
+ DATABASE_URL: alepha23.TOptional<alepha23.TString>;
1792
+ /**
1793
+ * In addition to the DATABASE_URL, you can specify the postgres schema name.
1794
+ */
1795
+ POSTGRES_SCHEMA: alepha23.TOptional<alepha23.TString>;
1796
+ }>;
1797
+ /**
1798
+ * Bun PostgreSQL provider using Drizzle ORM with Bun's native SQL client.
1799
+ *
1800
+ * This provider uses Bun's built-in SQL class for PostgreSQL connections,
1801
+ * which provides excellent performance on the Bun runtime.
1802
+ *
1803
+ * @example
1804
+ * ```ts
1805
+ * // Set DATABASE_URL environment variable
1806
+ * // DATABASE_URL=postgres://user:password@localhost:5432/database
1807
+ *
1808
+ * // Or configure programmatically
1809
+ * alepha.with({
1810
+ * provide: DatabaseProvider,
1811
+ * use: BunPostgresProvider,
1812
+ * });
1813
+ * ```
1814
+ */
1815
+ //#endregion
1816
+ //#region ../../src/orm/providers/drivers/BunSqliteProvider.d.ts
1817
+ /**
1818
+ * Configuration options for the Bun SQLite database provider.
1819
+ */
1820
+ declare const bunSqliteOptions: alepha23.Atom<alepha23.TObject<{
1821
+ path: alepha23.TOptional<alepha23.TString>;
1822
+ }>, "alepha.postgres.bun-sqlite.options">;
1823
+ type BunSqliteProviderOptions = Static<typeof bunSqliteOptions.schema>;
1824
+ declare module "alepha" {
1825
+ interface State {
1826
+ [bunSqliteOptions.key]: BunSqliteProviderOptions;
1827
+ }
1828
+ }
1829
+ /**
1830
+ * Bun SQLite provider using Drizzle ORM with Bun's native SQLite client.
1831
+ *
1832
+ * This provider uses Bun's built-in `bun:sqlite` for SQLite connections,
1833
+ * which provides excellent performance on the Bun runtime.
1834
+ *
1835
+ * @example
1836
+ * ```ts
1837
+ * // Set DATABASE_URL environment variable
1838
+ * // DATABASE_URL=sqlite://./my-database.db
1839
+ *
1840
+ * // Or configure programmatically
1841
+ * alepha.with({
1842
+ * provide: DatabaseProvider,
1843
+ * use: BunSqliteProvider,
1844
+ * });
1845
+ *
1846
+ * // Or use options atom
1847
+ * alepha.store.mut(bunSqliteOptions, (old) => ({
1848
+ * ...old,
1849
+ * path: ":memory:",
1850
+ * }));
1851
+ * ```
1852
+ */
1853
+ //#endregion
1850
1854
  //#region ../../src/orm/providers/drivers/NodePostgresProvider.d.ts
1851
1855
  declare module "alepha" {
1852
1856
  interface Env extends Partial<Static<typeof envSchema>> {}
1853
1857
  }
1854
- declare const envSchema: alepha1.TObject<{
1858
+ declare const envSchema: alepha23.TObject<{
1855
1859
  /**
1856
1860
  * Main configuration for database connection.
1857
1861
  * Accept a string in the format of a Postgres connection URL.
@@ -1859,21 +1863,21 @@ declare const envSchema: alepha1.TObject<{
1859
1863
  * or
1860
1864
  * Example: postgres://user:password@localhost:5432/database?sslmode=require
1861
1865
  */
1862
- DATABASE_URL: alepha1.TOptional<alepha1.TString>;
1866
+ DATABASE_URL: alepha23.TOptional<alepha23.TString>;
1863
1867
  /**
1864
1868
  * In addition to the DATABASE_URL, you can specify the postgres schema name.
1865
1869
  *
1866
1870
  * It will monkey patch drizzle tables.
1867
1871
  */
1868
- POSTGRES_SCHEMA: alepha1.TOptional<alepha1.TString>;
1872
+ POSTGRES_SCHEMA: alepha23.TOptional<alepha23.TString>;
1869
1873
  }>;
1870
1874
  //#endregion
1871
1875
  //#region ../../src/orm/providers/drivers/NodeSqliteProvider.d.ts
1872
1876
  /**
1873
1877
  * Configuration options for the Node.js SQLite database provider.
1874
1878
  */
1875
- declare const nodeSqliteOptions: alepha1.Atom<alepha1.TObject<{
1876
- path: alepha1.TOptional<alepha1.TString>;
1879
+ declare const nodeSqliteOptions: alepha23.Atom<alepha23.TObject<{
1880
+ path: alepha23.TOptional<alepha23.TString>;
1877
1881
  }>, "alepha.postgres.node-sqlite.options">;
1878
1882
  type NodeSqliteProviderOptions = Static<typeof nodeSqliteOptions.schema>;
1879
1883
  declare module "alepha" {
@@ -1958,30 +1962,30 @@ declare module "alepha" {
1958
1962
  //#endregion
1959
1963
  //#region ../../src/api/users/notifications/UserNotifications.d.ts
1960
1964
  declare class UserNotifications {
1961
- readonly passwordReset: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1962
- email: alepha1.TString;
1963
- code: alepha1.TString;
1964
- expiresInMinutes: alepha1.TNumber;
1965
+ readonly passwordReset: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1966
+ email: alepha23.TString;
1967
+ code: alepha23.TString;
1968
+ expiresInMinutes: alepha23.TNumber;
1965
1969
  }>>;
1966
- readonly emailVerification: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1967
- email: alepha1.TString;
1968
- code: alepha1.TString;
1969
- expiresInMinutes: alepha1.TNumber;
1970
+ readonly emailVerification: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1971
+ email: alepha23.TString;
1972
+ code: alepha23.TString;
1973
+ expiresInMinutes: alepha23.TNumber;
1970
1974
  }>>;
1971
- readonly phoneVerification: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1972
- phoneNumber: alepha1.TString;
1973
- code: alepha1.TString;
1974
- expiresInMinutes: alepha1.TNumber;
1975
+ readonly phoneVerification: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1976
+ phoneNumber: alepha23.TString;
1977
+ code: alepha23.TString;
1978
+ expiresInMinutes: alepha23.TNumber;
1975
1979
  }>>;
1976
- readonly passwordResetLink: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1977
- email: alepha1.TString;
1978
- resetUrl: alepha1.TString;
1979
- expiresInMinutes: alepha1.TNumber;
1980
+ readonly passwordResetLink: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1981
+ email: alepha23.TString;
1982
+ resetUrl: alepha23.TString;
1983
+ expiresInMinutes: alepha23.TNumber;
1980
1984
  }>>;
1981
- readonly emailVerificationLink: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1982
- email: alepha1.TString;
1983
- verifyUrl: alepha1.TString;
1984
- expiresInMinutes: alepha1.TNumber;
1985
+ readonly emailVerificationLink: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1986
+ email: alepha23.TString;
1987
+ verifyUrl: alepha23.TString;
1988
+ expiresInMinutes: alepha23.TNumber;
1985
1989
  }>>;
1986
1990
  }
1987
1991
  //#endregion
@@ -1992,10 +1996,10 @@ declare class UserNotifications {
1992
1996
  * Requires the intent ID from Phase 1, the verification code,
1993
1997
  * and the new password.
1994
1998
  */
1995
- declare const completePasswordResetRequestSchema: alepha1.TObject<{
1996
- intentId: alepha1.TString;
1997
- code: alepha1.TString;
1998
- newPassword: alepha1.TString;
1999
+ declare const completePasswordResetRequestSchema: alepha23.TObject<{
2000
+ intentId: alepha23.TString;
2001
+ code: alepha23.TString;
2002
+ newPassword: alepha23.TString;
1999
2003
  }>;
2000
2004
  type CompletePasswordResetRequest = Static<typeof completePasswordResetRequestSchema>;
2001
2005
  //#endregion
@@ -2006,9 +2010,9 @@ type CompletePasswordResetRequest = Static<typeof completePasswordResetRequestSc
2006
2010
  * Contains the intent ID needed for Phase 2 completion,
2007
2011
  * along with expiration time.
2008
2012
  */
2009
- declare const passwordResetIntentResponseSchema: alepha1.TObject<{
2010
- intentId: alepha1.TString;
2011
- expiresAt: alepha1.TString;
2013
+ declare const passwordResetIntentResponseSchema: alepha23.TObject<{
2014
+ intentId: alepha23.TString;
2015
+ expiresAt: alepha23.TString;
2012
2016
  }>;
2013
2017
  type PasswordResetIntentResponse = Static<typeof passwordResetIntentResponseSchema>;
2014
2018
  //#endregion
@@ -2024,54 +2028,54 @@ interface PasswordResetIntent {
2024
2028
  expiresAt: string;
2025
2029
  }
2026
2030
  declare class CredentialService {
2027
- protected readonly log: alepha_logger0.Logger;
2031
+ protected readonly log: alepha_logger1.Logger;
2028
2032
  protected readonly cryptoProvider: CryptoProvider;
2029
2033
  protected readonly dateTimeProvider: DateTimeProvider;
2030
2034
  protected readonly verificationController: alepha_server_links0.HttpVirtualClient<VerificationController>;
2031
2035
  protected readonly userNotifications: UserNotifications;
2032
2036
  protected readonly userRealmProvider: UserRealmProvider;
2033
2037
  protected readonly intentCache: alepha_cache0.CachePrimitiveFn<PasswordResetIntent, any[]>;
2034
- users(userRealmName?: string): Repository$1<alepha1.TObject<{
2035
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2036
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2037
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2038
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2039
- realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2040
- username: alepha1.TOptional<alepha1.TString>;
2041
- email: alepha1.TOptional<alepha1.TString>;
2042
- phoneNumber: alepha1.TOptional<alepha1.TString>;
2043
- roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2044
- firstName: alepha1.TOptional<alepha1.TString>;
2045
- lastName: alepha1.TOptional<alepha1.TString>;
2046
- picture: alepha1.TOptional<alepha1.TString>;
2047
- enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2048
- emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2038
+ users(userRealmName?: string): Repository$1<alepha23.TObject<{
2039
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2040
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2041
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2042
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2043
+ realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2044
+ username: alepha23.TOptional<alepha23.TString>;
2045
+ email: alepha23.TOptional<alepha23.TString>;
2046
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
2047
+ roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2048
+ firstName: alepha23.TOptional<alepha23.TString>;
2049
+ lastName: alepha23.TOptional<alepha23.TString>;
2050
+ picture: alepha23.TOptional<alepha23.TString>;
2051
+ enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2052
+ emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2049
2053
  }>>;
2050
- sessions(userRealmName?: string): Repository$1<alepha1.TObject<{
2051
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2052
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2053
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2054
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2055
- refreshToken: alepha1.TString;
2056
- userId: PgAttr<alepha1.TString, typeof PG_REF>;
2057
- expiresAt: alepha1.TString;
2058
- ip: alepha1.TOptional<alepha1.TString>;
2059
- userAgent: alepha1.TOptional<alepha1.TObject<{
2060
- os: alepha1.TString;
2061
- browser: alepha1.TString;
2062
- device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2054
+ sessions(userRealmName?: string): Repository$1<alepha23.TObject<{
2055
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2056
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2057
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2058
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2059
+ refreshToken: alepha23.TString;
2060
+ userId: PgAttr<alepha23.TString, typeof PG_REF>;
2061
+ expiresAt: alepha23.TString;
2062
+ ip: alepha23.TOptional<alepha23.TString>;
2063
+ userAgent: alepha23.TOptional<alepha23.TObject<{
2064
+ os: alepha23.TString;
2065
+ browser: alepha23.TString;
2066
+ device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2063
2067
  }>>;
2064
2068
  }>>;
2065
- identities(userRealmName?: string): Repository$1<alepha1.TObject<{
2066
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2067
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2068
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2069
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2070
- userId: PgAttr<alepha1.TString, typeof PG_REF>;
2071
- password: alepha1.TOptional<alepha1.TString>;
2072
- provider: alepha1.TString;
2073
- providerUserId: alepha1.TOptional<alepha1.TString>;
2074
- providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
2069
+ identities(userRealmName?: string): Repository$1<alepha23.TObject<{
2070
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2071
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2072
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2073
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2074
+ userId: PgAttr<alepha23.TString, typeof PG_REF>;
2075
+ password: alepha23.TOptional<alepha23.TString>;
2076
+ provider: alepha23.TString;
2077
+ providerUserId: alepha23.TOptional<alepha23.TString>;
2078
+ providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
2075
2079
  }>>;
2076
2080
  /**
2077
2081
  * Phase 1: Create a password reset intent.
@@ -2108,11 +2112,11 @@ declare class CredentialService {
2108
2112
  }
2109
2113
  //#endregion
2110
2114
  //#region ../../src/api/users/schemas/completeRegistrationRequestSchema.d.ts
2111
- declare const completeRegistrationRequestSchema: alepha1.TObject<{
2112
- intentId: alepha1.TString;
2113
- emailCode: alepha1.TOptional<alepha1.TString>;
2114
- phoneCode: alepha1.TOptional<alepha1.TString>;
2115
- captchaToken: alepha1.TOptional<alepha1.TString>;
2115
+ declare const completeRegistrationRequestSchema: alepha23.TObject<{
2116
+ intentId: alepha23.TString;
2117
+ emailCode: alepha23.TOptional<alepha23.TString>;
2118
+ phoneCode: alepha23.TOptional<alepha23.TString>;
2119
+ captchaToken: alepha23.TOptional<alepha23.TString>;
2116
2120
  }>;
2117
2121
  type CompleteRegistrationRequest = Static<typeof completeRegistrationRequestSchema>;
2118
2122
  //#endregion
@@ -2121,24 +2125,24 @@ type CompleteRegistrationRequest = Static<typeof completeRegistrationRequestSche
2121
2125
  * Schema for user registration request body.
2122
2126
  * Password is always required, other fields depend on realm settings.
2123
2127
  */
2124
- declare const registerRequestSchema: alepha1.TObject<{
2125
- password: alepha1.TString;
2126
- username: alepha1.TOptional<alepha1.TString>;
2127
- email: alepha1.TOptional<alepha1.TString>;
2128
- phoneNumber: alepha1.TOptional<alepha1.TString>;
2129
- firstName: alepha1.TOptional<alepha1.TString>;
2130
- lastName: alepha1.TOptional<alepha1.TString>;
2131
- picture: alepha1.TOptional<alepha1.TString>;
2128
+ declare const registerRequestSchema: alepha23.TObject<{
2129
+ password: alepha23.TString;
2130
+ username: alepha23.TOptional<alepha23.TString>;
2131
+ email: alepha23.TOptional<alepha23.TString>;
2132
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
2133
+ firstName: alepha23.TOptional<alepha23.TString>;
2134
+ lastName: alepha23.TOptional<alepha23.TString>;
2135
+ picture: alepha23.TOptional<alepha23.TString>;
2132
2136
  }>;
2133
2137
  type RegisterRequest = Static<typeof registerRequestSchema>;
2134
2138
  //#endregion
2135
2139
  //#region ../../src/api/users/schemas/registrationIntentResponseSchema.d.ts
2136
- declare const registrationIntentResponseSchema: alepha1.TObject<{
2137
- intentId: alepha1.TString;
2138
- expectCaptcha: alepha1.TBoolean;
2139
- expectEmailVerification: alepha1.TBoolean;
2140
- expectPhoneVerification: alepha1.TBoolean;
2141
- expiresAt: alepha1.TString;
2140
+ declare const registrationIntentResponseSchema: alepha23.TObject<{
2141
+ intentId: alepha23.TString;
2142
+ expectCaptcha: alepha23.TBoolean;
2143
+ expectEmailVerification: alepha23.TBoolean;
2144
+ expectPhoneVerification: alepha23.TBoolean;
2145
+ expiresAt: alepha23.TString;
2142
2146
  }>;
2143
2147
  type RegistrationIntentResponse = Static<typeof registrationIntentResponseSchema>;
2144
2148
  //#endregion
@@ -2165,7 +2169,7 @@ interface RegistrationIntent {
2165
2169
  expiresAt: string;
2166
2170
  }
2167
2171
  declare class RegistrationService {
2168
- protected readonly log: alepha_logger0.Logger;
2172
+ protected readonly log: alepha_logger1.Logger;
2169
2173
  protected readonly dateTimeProvider: DateTimeProvider;
2170
2174
  protected readonly cryptoProvider: CryptoProvider;
2171
2175
  protected readonly verificationController: alepha_server_links0.HttpVirtualClient<VerificationController>;
@@ -2209,70 +2213,70 @@ declare class RegistrationService {
2209
2213
  }
2210
2214
  //#endregion
2211
2215
  //#region ../../src/api/users/schemas/createUserSchema.d.ts
2212
- declare const createUserSchema: alepha1.TObject<{
2213
- id: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
2214
- version: alepha1.TOptional<PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
2215
- email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2216
- createdAt: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
2217
- updatedAt: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
2218
- username: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2219
- phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2220
- roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2221
- firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2222
- lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2223
- picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2224
- enabled: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
2225
- emailVerified: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
2216
+ declare const createUserSchema: alepha23.TObject<{
2217
+ id: alepha23.TOptional<PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
2218
+ version: alepha23.TOptional<PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
2219
+ email: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2220
+ createdAt: alepha23.TOptional<PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
2221
+ updatedAt: alepha23.TOptional<PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
2222
+ username: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2223
+ phoneNumber: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2224
+ roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2225
+ firstName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2226
+ lastName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2227
+ picture: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2228
+ enabled: alepha23.TOptional<PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>>;
2229
+ emailVerified: alepha23.TOptional<PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>>;
2226
2230
  }>;
2227
2231
  type CreateUser = Static<typeof createUserSchema>;
2228
2232
  //#endregion
2229
2233
  //#region ../../src/api/users/schemas/updateUserSchema.d.ts
2230
- declare const updateUserSchema: alepha1.TObject<{
2231
- email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2232
- realm: alepha1.TOptional<PgAttr<alepha1.TString, typeof PG_DEFAULT>>;
2233
- phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2234
- roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2235
- firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2236
- lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2237
- picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2238
- enabled: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
2234
+ declare const updateUserSchema: alepha23.TObject<{
2235
+ email: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2236
+ realm: alepha23.TOptional<PgAttr<alepha23.TString, typeof PG_DEFAULT>>;
2237
+ phoneNumber: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2238
+ roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2239
+ firstName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2240
+ lastName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2241
+ picture: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2242
+ enabled: alepha23.TOptional<PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>>;
2239
2243
  }>;
2240
2244
  type UpdateUser = Static<typeof updateUserSchema>;
2241
2245
  //#endregion
2242
2246
  //#region ../../src/api/users/schemas/userQuerySchema.d.ts
2243
- declare const userQuerySchema: alepha1.TObject<{
2244
- page: alepha1.TOptional<alepha1.TInteger>;
2245
- size: alepha1.TOptional<alepha1.TInteger>;
2246
- sort: alepha1.TOptional<alepha1.TString>;
2247
- email: alepha1.TOptional<alepha1.TString>;
2248
- enabled: alepha1.TOptional<alepha1.TBoolean>;
2249
- emailVerified: alepha1.TOptional<alepha1.TBoolean>;
2250
- roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2251
- query: alepha1.TOptional<alepha1.TString>;
2247
+ declare const userQuerySchema: alepha23.TObject<{
2248
+ page: alepha23.TOptional<alepha23.TInteger>;
2249
+ size: alepha23.TOptional<alepha23.TInteger>;
2250
+ sort: alepha23.TOptional<alepha23.TString>;
2251
+ email: alepha23.TOptional<alepha23.TString>;
2252
+ enabled: alepha23.TOptional<alepha23.TBoolean>;
2253
+ emailVerified: alepha23.TOptional<alepha23.TBoolean>;
2254
+ roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2255
+ query: alepha23.TOptional<alepha23.TString>;
2252
2256
  }>;
2253
2257
  type UserQuery = Static<typeof userQuerySchema>;
2254
2258
  //#endregion
2255
2259
  //#region ../../src/api/users/services/UserService.d.ts
2256
2260
  declare class UserService {
2257
- protected readonly log: alepha_logger0.Logger;
2261
+ protected readonly log: alepha_logger1.Logger;
2258
2262
  protected readonly verificationController: alepha_server_links0.HttpVirtualClient<VerificationController>;
2259
2263
  protected readonly userNotifications: UserNotifications;
2260
2264
  protected readonly userRealmProvider: UserRealmProvider;
2261
- users(userRealmName?: string): alepha_orm179.Repository<alepha1.TObject<{
2262
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2263
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2264
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2265
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2266
- realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
2267
- username: alepha1.TOptional<alepha1.TString>;
2268
- email: alepha1.TOptional<alepha1.TString>;
2269
- phoneNumber: alepha1.TOptional<alepha1.TString>;
2270
- roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
2271
- firstName: alepha1.TOptional<alepha1.TString>;
2272
- lastName: alepha1.TOptional<alepha1.TString>;
2273
- picture: alepha1.TOptional<alepha1.TString>;
2274
- enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2275
- emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2265
+ users(userRealmName?: string): alepha_orm204.Repository<alepha23.TObject<{
2266
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2267
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2268
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2269
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2270
+ realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
2271
+ username: alepha23.TOptional<alepha23.TString>;
2272
+ email: alepha23.TOptional<alepha23.TString>;
2273
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
2274
+ roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
2275
+ firstName: alepha23.TOptional<alepha23.TString>;
2276
+ lastName: alepha23.TOptional<alepha23.TString>;
2277
+ picture: alepha23.TOptional<alepha23.TString>;
2278
+ enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2279
+ emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2276
2280
  }>>;
2277
2281
  /**
2278
2282
  * Request email verification for a user.
@@ -2325,122 +2329,122 @@ declare class UserController {
2325
2329
  * Validates data, creates verification sessions, and stores intent in cache.
2326
2330
  */
2327
2331
  readonly createRegistrationIntent: alepha_server0.ActionPrimitiveFn<{
2328
- body: alepha1.TObject<{
2329
- password: alepha1.TString;
2330
- username: alepha1.TOptional<alepha1.TString>;
2331
- email: alepha1.TOptional<alepha1.TString>;
2332
- phoneNumber: alepha1.TOptional<alepha1.TString>;
2333
- firstName: alepha1.TOptional<alepha1.TString>;
2334
- lastName: alepha1.TOptional<alepha1.TString>;
2335
- picture: alepha1.TOptional<alepha1.TString>;
2332
+ body: alepha23.TObject<{
2333
+ password: alepha23.TString;
2334
+ username: alepha23.TOptional<alepha23.TString>;
2335
+ email: alepha23.TOptional<alepha23.TString>;
2336
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
2337
+ firstName: alepha23.TOptional<alepha23.TString>;
2338
+ lastName: alepha23.TOptional<alepha23.TString>;
2339
+ picture: alepha23.TOptional<alepha23.TString>;
2336
2340
  }>;
2337
- query: alepha1.TObject<{
2338
- userRealmName: alepha1.TOptional<alepha1.TString>;
2341
+ query: alepha23.TObject<{
2342
+ userRealmName: alepha23.TOptional<alepha23.TString>;
2339
2343
  }>;
2340
- response: alepha1.TObject<{
2341
- intentId: alepha1.TString;
2342
- expectCaptcha: alepha1.TBoolean;
2343
- expectEmailVerification: alepha1.TBoolean;
2344
- expectPhoneVerification: alepha1.TBoolean;
2345
- expiresAt: alepha1.TString;
2344
+ response: alepha23.TObject<{
2345
+ intentId: alepha23.TString;
2346
+ expectCaptcha: alepha23.TBoolean;
2347
+ expectEmailVerification: alepha23.TBoolean;
2348
+ expectPhoneVerification: alepha23.TBoolean;
2349
+ expiresAt: alepha23.TString;
2346
2350
  }>;
2347
2351
  }>;
2348
2352
  /**
2349
2353
  * Find users with pagination and filtering.
2350
2354
  */
2351
2355
  readonly findUsers: alepha_server0.ActionPrimitiveFn<{
2352
- query: alepha1.TObject<{
2353
- page: alepha1.TOptional<alepha1.TInteger>;
2354
- size: alepha1.TOptional<alepha1.TInteger>;
2355
- sort: alepha1.TOptional<alepha1.TString>;
2356
- email: alepha1.TOptional<alepha1.TString>;
2357
- enabled: alepha1.TOptional<alepha1.TBoolean>;
2358
- emailVerified: alepha1.TOptional<alepha1.TBoolean>;
2359
- roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2360
- query: alepha1.TOptional<alepha1.TString>;
2361
- userRealmName: alepha1.TOptional<alepha1.TString>;
2356
+ query: alepha23.TObject<{
2357
+ page: alepha23.TOptional<alepha23.TInteger>;
2358
+ size: alepha23.TOptional<alepha23.TInteger>;
2359
+ sort: alepha23.TOptional<alepha23.TString>;
2360
+ email: alepha23.TOptional<alepha23.TString>;
2361
+ enabled: alepha23.TOptional<alepha23.TBoolean>;
2362
+ emailVerified: alepha23.TOptional<alepha23.TBoolean>;
2363
+ roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2364
+ query: alepha23.TOptional<alepha23.TString>;
2365
+ userRealmName: alepha23.TOptional<alepha23.TString>;
2362
2366
  }>;
2363
- response: alepha1.TPage<alepha1.TObject<{
2364
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2365
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2366
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2367
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2368
- realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
2369
- username: alepha1.TOptional<alepha1.TString>;
2370
- email: alepha1.TOptional<alepha1.TString>;
2371
- phoneNumber: alepha1.TOptional<alepha1.TString>;
2372
- roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
2373
- firstName: alepha1.TOptional<alepha1.TString>;
2374
- lastName: alepha1.TOptional<alepha1.TString>;
2375
- picture: alepha1.TOptional<alepha1.TString>;
2376
- enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2377
- emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2367
+ response: alepha23.TPage<alepha23.TObject<{
2368
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2369
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2370
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2371
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2372
+ realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
2373
+ username: alepha23.TOptional<alepha23.TString>;
2374
+ email: alepha23.TOptional<alepha23.TString>;
2375
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
2376
+ roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
2377
+ firstName: alepha23.TOptional<alepha23.TString>;
2378
+ lastName: alepha23.TOptional<alepha23.TString>;
2379
+ picture: alepha23.TOptional<alepha23.TString>;
2380
+ enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2381
+ emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2378
2382
  }>>;
2379
2383
  }>;
2380
2384
  /**
2381
2385
  * Get a user by ID.
2382
2386
  */
2383
2387
  readonly getUser: alepha_server0.ActionPrimitiveFn<{
2384
- params: alepha1.TObject<{
2385
- id: alepha1.TString;
2388
+ params: alepha23.TObject<{
2389
+ id: alepha23.TString;
2386
2390
  }>;
2387
- query: alepha1.TObject<{
2388
- userRealmName: alepha1.TOptional<alepha1.TString>;
2391
+ query: alepha23.TObject<{
2392
+ userRealmName: alepha23.TOptional<alepha23.TString>;
2389
2393
  }>;
2390
- response: alepha1.TObject<{
2391
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2392
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2393
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2394
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2395
- realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
2396
- username: alepha1.TOptional<alepha1.TString>;
2397
- email: alepha1.TOptional<alepha1.TString>;
2398
- phoneNumber: alepha1.TOptional<alepha1.TString>;
2399
- roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
2400
- firstName: alepha1.TOptional<alepha1.TString>;
2401
- lastName: alepha1.TOptional<alepha1.TString>;
2402
- picture: alepha1.TOptional<alepha1.TString>;
2403
- enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2404
- emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2394
+ response: alepha23.TObject<{
2395
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2396
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2397
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2398
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2399
+ realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
2400
+ username: alepha23.TOptional<alepha23.TString>;
2401
+ email: alepha23.TOptional<alepha23.TString>;
2402
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
2403
+ roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
2404
+ firstName: alepha23.TOptional<alepha23.TString>;
2405
+ lastName: alepha23.TOptional<alepha23.TString>;
2406
+ picture: alepha23.TOptional<alepha23.TString>;
2407
+ enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2408
+ emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2405
2409
  }>;
2406
2410
  }>;
2407
2411
  /**
2408
2412
  * Create a new user.
2409
2413
  */
2410
2414
  readonly createUser: alepha_server0.ActionPrimitiveFn<{
2411
- query: alepha1.TObject<{
2412
- userRealmName: alepha1.TOptional<alepha1.TString>;
2415
+ query: alepha23.TObject<{
2416
+ userRealmName: alepha23.TOptional<alepha23.TString>;
2413
2417
  }>;
2414
- body: alepha1.TObject<{
2415
- id: alepha1.TOptional<alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>>;
2416
- version: alepha1.TOptional<alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>>;
2417
- email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2418
- createdAt: alepha1.TOptional<alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>>;
2419
- updatedAt: alepha1.TOptional<alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>>;
2420
- username: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2421
- phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2422
- roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2423
- firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2424
- lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2425
- picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2426
- enabled: alepha1.TOptional<alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>>;
2427
- emailVerified: alepha1.TOptional<alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>>;
2418
+ body: alepha23.TObject<{
2419
+ id: alepha23.TOptional<alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>>;
2420
+ version: alepha23.TOptional<alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>>;
2421
+ email: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2422
+ createdAt: alepha23.TOptional<alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>>;
2423
+ updatedAt: alepha23.TOptional<alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>>;
2424
+ username: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2425
+ phoneNumber: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2426
+ roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2427
+ firstName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2428
+ lastName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2429
+ picture: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2430
+ enabled: alepha23.TOptional<alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>>;
2431
+ emailVerified: alepha23.TOptional<alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>>;
2428
2432
  }>;
2429
- response: alepha1.TObject<{
2430
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2431
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2432
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2433
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2434
- realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
2435
- username: alepha1.TOptional<alepha1.TString>;
2436
- email: alepha1.TOptional<alepha1.TString>;
2437
- phoneNumber: alepha1.TOptional<alepha1.TString>;
2438
- roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
2439
- firstName: alepha1.TOptional<alepha1.TString>;
2440
- lastName: alepha1.TOptional<alepha1.TString>;
2441
- picture: alepha1.TOptional<alepha1.TString>;
2442
- enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2443
- emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2433
+ response: alepha23.TObject<{
2434
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2435
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2436
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2437
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2438
+ realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
2439
+ username: alepha23.TOptional<alepha23.TString>;
2440
+ email: alepha23.TOptional<alepha23.TString>;
2441
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
2442
+ roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
2443
+ firstName: alepha23.TOptional<alepha23.TString>;
2444
+ lastName: alepha23.TOptional<alepha23.TString>;
2445
+ picture: alepha23.TOptional<alepha23.TString>;
2446
+ enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2447
+ emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2444
2448
  }>;
2445
2449
  }>;
2446
2450
  /**
@@ -2448,80 +2452,80 @@ declare class UserController {
2448
2452
  * Validates verification codes and creates the user.
2449
2453
  */
2450
2454
  readonly createUserFromIntent: alepha_server0.ActionPrimitiveFn<{
2451
- body: alepha1.TObject<{
2452
- intentId: alepha1.TString;
2453
- emailCode: alepha1.TOptional<alepha1.TString>;
2454
- phoneCode: alepha1.TOptional<alepha1.TString>;
2455
- captchaToken: alepha1.TOptional<alepha1.TString>;
2455
+ body: alepha23.TObject<{
2456
+ intentId: alepha23.TString;
2457
+ emailCode: alepha23.TOptional<alepha23.TString>;
2458
+ phoneCode: alepha23.TOptional<alepha23.TString>;
2459
+ captchaToken: alepha23.TOptional<alepha23.TString>;
2456
2460
  }>;
2457
- response: alepha1.TObject<{
2458
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2459
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2460
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2461
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2462
- realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
2463
- username: alepha1.TOptional<alepha1.TString>;
2464
- email: alepha1.TOptional<alepha1.TString>;
2465
- phoneNumber: alepha1.TOptional<alepha1.TString>;
2466
- roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
2467
- firstName: alepha1.TOptional<alepha1.TString>;
2468
- lastName: alepha1.TOptional<alepha1.TString>;
2469
- picture: alepha1.TOptional<alepha1.TString>;
2470
- enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2471
- emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2461
+ response: alepha23.TObject<{
2462
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2463
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2464
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2465
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2466
+ realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
2467
+ username: alepha23.TOptional<alepha23.TString>;
2468
+ email: alepha23.TOptional<alepha23.TString>;
2469
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
2470
+ roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
2471
+ firstName: alepha23.TOptional<alepha23.TString>;
2472
+ lastName: alepha23.TOptional<alepha23.TString>;
2473
+ picture: alepha23.TOptional<alepha23.TString>;
2474
+ enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2475
+ emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2472
2476
  }>;
2473
2477
  }>;
2474
2478
  /**
2475
2479
  * Update a user.
2476
2480
  */
2477
2481
  readonly updateUser: alepha_server0.ActionPrimitiveFn<{
2478
- params: alepha1.TObject<{
2479
- id: alepha1.TString;
2482
+ params: alepha23.TObject<{
2483
+ id: alepha23.TString;
2480
2484
  }>;
2481
- query: alepha1.TObject<{
2482
- userRealmName: alepha1.TOptional<alepha1.TString>;
2485
+ query: alepha23.TObject<{
2486
+ userRealmName: alepha23.TOptional<alepha23.TString>;
2483
2487
  }>;
2484
- body: alepha1.TObject<{
2485
- email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2486
- realm: alepha1.TOptional<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>>;
2487
- phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2488
- roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2489
- firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2490
- lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2491
- picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2492
- enabled: alepha1.TOptional<alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>>;
2488
+ body: alepha23.TObject<{
2489
+ email: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2490
+ realm: alepha23.TOptional<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>>;
2491
+ phoneNumber: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2492
+ roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2493
+ firstName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2494
+ lastName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2495
+ picture: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2496
+ enabled: alepha23.TOptional<alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>>;
2493
2497
  }>;
2494
- response: alepha1.TObject<{
2495
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2496
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2497
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2498
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2499
- realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
2500
- username: alepha1.TOptional<alepha1.TString>;
2501
- email: alepha1.TOptional<alepha1.TString>;
2502
- phoneNumber: alepha1.TOptional<alepha1.TString>;
2503
- roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
2504
- firstName: alepha1.TOptional<alepha1.TString>;
2505
- lastName: alepha1.TOptional<alepha1.TString>;
2506
- picture: alepha1.TOptional<alepha1.TString>;
2507
- enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2508
- emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2498
+ response: alepha23.TObject<{
2499
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2500
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2501
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2502
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2503
+ realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
2504
+ username: alepha23.TOptional<alepha23.TString>;
2505
+ email: alepha23.TOptional<alepha23.TString>;
2506
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
2507
+ roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
2508
+ firstName: alepha23.TOptional<alepha23.TString>;
2509
+ lastName: alepha23.TOptional<alepha23.TString>;
2510
+ picture: alepha23.TOptional<alepha23.TString>;
2511
+ enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2512
+ emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2509
2513
  }>;
2510
2514
  }>;
2511
2515
  /**
2512
2516
  * Delete a user.
2513
2517
  */
2514
2518
  readonly deleteUser: alepha_server0.ActionPrimitiveFn<{
2515
- params: alepha1.TObject<{
2516
- id: alepha1.TString;
2519
+ params: alepha23.TObject<{
2520
+ id: alepha23.TString;
2517
2521
  }>;
2518
- query: alepha1.TObject<{
2519
- userRealmName: alepha1.TOptional<alepha1.TString>;
2522
+ query: alepha23.TObject<{
2523
+ userRealmName: alepha23.TOptional<alepha23.TString>;
2520
2524
  }>;
2521
- response: alepha1.TObject<{
2522
- ok: alepha1.TBoolean;
2523
- id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
2524
- count: alepha1.TOptional<alepha1.TNumber>;
2525
+ response: alepha23.TObject<{
2526
+ ok: alepha23.TBoolean;
2527
+ id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
2528
+ count: alepha23.TOptional<alepha23.TNumber>;
2525
2529
  }>;
2526
2530
  }>;
2527
2531
  /**
@@ -2529,15 +2533,15 @@ declare class UserController {
2529
2533
  * Validates email, sends verification code, and stores intent in cache.
2530
2534
  */
2531
2535
  readonly createPasswordResetIntent: alepha_server0.ActionPrimitiveFn<{
2532
- query: alepha1.TObject<{
2533
- userRealmName: alepha1.TOptional<alepha1.TString>;
2536
+ query: alepha23.TObject<{
2537
+ userRealmName: alepha23.TOptional<alepha23.TString>;
2534
2538
  }>;
2535
- body: alepha1.TObject<{
2536
- email: alepha1.TString;
2539
+ body: alepha23.TObject<{
2540
+ email: alepha23.TString;
2537
2541
  }>;
2538
- response: alepha1.TObject<{
2539
- intentId: alepha1.TString;
2540
- expiresAt: alepha1.TString;
2542
+ response: alepha23.TObject<{
2543
+ intentId: alepha23.TString;
2544
+ expiresAt: alepha23.TString;
2541
2545
  }>;
2542
2546
  }>;
2543
2547
  /**
@@ -2545,61 +2549,61 @@ declare class UserController {
2545
2549
  * Validates verification code, updates password, and invalidates sessions.
2546
2550
  */
2547
2551
  readonly completePasswordReset: alepha_server0.ActionPrimitiveFn<{
2548
- body: alepha1.TObject<{
2549
- intentId: alepha1.TString;
2550
- code: alepha1.TString;
2551
- newPassword: alepha1.TString;
2552
+ body: alepha23.TObject<{
2553
+ intentId: alepha23.TString;
2554
+ code: alepha23.TString;
2555
+ newPassword: alepha23.TString;
2552
2556
  }>;
2553
- response: alepha1.TObject<{
2554
- ok: alepha1.TBoolean;
2555
- id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
2556
- count: alepha1.TOptional<alepha1.TNumber>;
2557
+ response: alepha23.TObject<{
2558
+ ok: alepha23.TBoolean;
2559
+ id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
2560
+ count: alepha23.TOptional<alepha23.TNumber>;
2557
2561
  }>;
2558
2562
  }>;
2559
2563
  /**
2560
2564
  * @deprecated Use createPasswordResetIntent instead
2561
2565
  */
2562
2566
  requestPasswordReset: alepha_server0.ActionPrimitiveFn<{
2563
- query: alepha1.TObject<{
2564
- userRealmName: alepha1.TOptional<alepha1.TString>;
2567
+ query: alepha23.TObject<{
2568
+ userRealmName: alepha23.TOptional<alepha23.TString>;
2565
2569
  }>;
2566
- body: alepha1.TObject<{
2567
- email: alepha1.TString;
2570
+ body: alepha23.TObject<{
2571
+ email: alepha23.TString;
2568
2572
  }>;
2569
- response: alepha1.TObject<{
2570
- success: alepha1.TBoolean;
2571
- message: alepha1.TString;
2573
+ response: alepha23.TObject<{
2574
+ success: alepha23.TBoolean;
2575
+ message: alepha23.TString;
2572
2576
  }>;
2573
2577
  }>;
2574
2578
  /**
2575
2579
  * @deprecated Use completePasswordReset instead
2576
2580
  */
2577
2581
  validateResetToken: alepha_server0.ActionPrimitiveFn<{
2578
- query: alepha1.TObject<{
2579
- email: alepha1.TString;
2580
- token: alepha1.TString;
2581
- userRealmName: alepha1.TOptional<alepha1.TString>;
2582
+ query: alepha23.TObject<{
2583
+ email: alepha23.TString;
2584
+ token: alepha23.TString;
2585
+ userRealmName: alepha23.TOptional<alepha23.TString>;
2582
2586
  }>;
2583
- response: alepha1.TObject<{
2584
- valid: alepha1.TBoolean;
2585
- email: alepha1.TOptional<alepha1.TString>;
2587
+ response: alepha23.TObject<{
2588
+ valid: alepha23.TBoolean;
2589
+ email: alepha23.TOptional<alepha23.TString>;
2586
2590
  }>;
2587
2591
  }>;
2588
2592
  /**
2589
2593
  * @deprecated Use completePasswordReset instead
2590
2594
  */
2591
2595
  resetPassword: alepha_server0.ActionPrimitiveFn<{
2592
- query: alepha1.TObject<{
2593
- userRealmName: alepha1.TOptional<alepha1.TString>;
2596
+ query: alepha23.TObject<{
2597
+ userRealmName: alepha23.TOptional<alepha23.TString>;
2594
2598
  }>;
2595
- body: alepha1.TObject<{
2596
- email: alepha1.TString;
2597
- token: alepha1.TString;
2598
- newPassword: alepha1.TString;
2599
+ body: alepha23.TObject<{
2600
+ email: alepha23.TString;
2601
+ token: alepha23.TString;
2602
+ newPassword: alepha23.TString;
2599
2603
  }>;
2600
- response: alepha1.TObject<{
2601
- success: alepha1.TBoolean;
2602
- message: alepha1.TString;
2604
+ response: alepha23.TObject<{
2605
+ success: alepha23.TBoolean;
2606
+ message: alepha23.TString;
2603
2607
  }>;
2604
2608
  }>;
2605
2609
  /**
@@ -2609,17 +2613,17 @@ declare class UserController {
2609
2613
  * @param verifyUrl - Required when method is "link". The base URL for the verification link. Token and email will be appended as query params.
2610
2614
  */
2611
2615
  requestEmailVerification: alepha_server0.ActionPrimitiveFn<{
2612
- query: alepha1.TObject<{
2613
- userRealmName: alepha1.TOptional<alepha1.TString>;
2614
- method: alepha1.TOptional<alepha1.TUnsafe<"link" | "code">>;
2615
- verifyUrl: alepha1.TOptional<alepha1.TString>;
2616
+ query: alepha23.TObject<{
2617
+ userRealmName: alepha23.TOptional<alepha23.TString>;
2618
+ method: alepha23.TOptional<alepha23.TUnsafe<"link" | "code">>;
2619
+ verifyUrl: alepha23.TOptional<alepha23.TString>;
2616
2620
  }>;
2617
- body: alepha1.TObject<{
2618
- email: alepha1.TString;
2621
+ body: alepha23.TObject<{
2622
+ email: alepha23.TString;
2619
2623
  }>;
2620
- response: alepha1.TObject<{
2621
- success: alepha1.TBoolean;
2622
- message: alepha1.TString;
2624
+ response: alepha23.TObject<{
2625
+ success: alepha23.TBoolean;
2626
+ message: alepha23.TString;
2623
2627
  }>;
2624
2628
  }>;
2625
2629
  /**
@@ -2627,28 +2631,28 @@ declare class UserController {
2627
2631
  * Updates the user's emailVerified status.
2628
2632
  */
2629
2633
  verifyEmail: alepha_server0.ActionPrimitiveFn<{
2630
- query: alepha1.TObject<{
2631
- userRealmName: alepha1.TOptional<alepha1.TString>;
2634
+ query: alepha23.TObject<{
2635
+ userRealmName: alepha23.TOptional<alepha23.TString>;
2632
2636
  }>;
2633
- body: alepha1.TObject<{
2634
- email: alepha1.TString;
2635
- token: alepha1.TString;
2637
+ body: alepha23.TObject<{
2638
+ email: alepha23.TString;
2639
+ token: alepha23.TString;
2636
2640
  }>;
2637
- response: alepha1.TObject<{
2638
- success: alepha1.TBoolean;
2639
- message: alepha1.TString;
2641
+ response: alepha23.TObject<{
2642
+ success: alepha23.TBoolean;
2643
+ message: alepha23.TString;
2640
2644
  }>;
2641
2645
  }>;
2642
2646
  /**
2643
2647
  * Check if an email is verified.
2644
2648
  */
2645
2649
  checkEmailVerification: alepha_server0.ActionPrimitiveFn<{
2646
- query: alepha1.TObject<{
2647
- email: alepha1.TString;
2648
- userRealmName: alepha1.TOptional<alepha1.TString>;
2650
+ query: alepha23.TObject<{
2651
+ email: alepha23.TString;
2652
+ userRealmName: alepha23.TOptional<alepha23.TString>;
2649
2653
  }>;
2650
- response: alepha1.TObject<{
2651
- verified: alepha1.TBoolean;
2654
+ response: alepha23.TObject<{
2655
+ verified: alepha23.TBoolean;
2652
2656
  }>;
2653
2657
  }>;
2654
2658
  }
@@ -2667,165 +2671,165 @@ declare class UserRealmController {
2667
2671
  * This endpoint is not exposed in the API documentation.
2668
2672
  */
2669
2673
  readonly getRealmConfig: alepha_server0.ActionPrimitiveFn<{
2670
- query: alepha1.TObject<{
2671
- userRealmName: alepha1.TOptional<alepha1.TString>;
2674
+ query: alepha23.TObject<{
2675
+ userRealmName: alepha23.TOptional<alepha23.TString>;
2672
2676
  }>;
2673
- response: alepha1.TObject<{
2674
- settings: alepha1.TObject<{
2675
- displayName: alepha1.TOptional<alepha1.TString>;
2676
- description: alepha1.TOptional<alepha1.TString>;
2677
- logoUrl: alepha1.TOptional<alepha1.TString>;
2678
- registrationAllowed: alepha1.TBoolean;
2679
- emailEnabled: alepha1.TBoolean;
2680
- emailRequired: alepha1.TBoolean;
2681
- usernameEnabled: alepha1.TBoolean;
2682
- usernameRequired: alepha1.TBoolean;
2683
- phoneEnabled: alepha1.TBoolean;
2684
- phoneRequired: alepha1.TBoolean;
2685
- verifyEmailRequired: alepha1.TBoolean;
2686
- verifyPhoneRequired: alepha1.TBoolean;
2687
- firstNameLastNameEnabled: alepha1.TBoolean;
2688
- firstNameLastNameRequired: alepha1.TBoolean;
2689
- resetPasswordAllowed: alepha1.TBoolean;
2690
- passwordPolicy: alepha1.TObject<{
2691
- minLength: alepha1.TInteger;
2692
- requireUppercase: alepha1.TBoolean;
2693
- requireLowercase: alepha1.TBoolean;
2694
- requireNumbers: alepha1.TBoolean;
2695
- requireSpecialCharacters: alepha1.TBoolean;
2677
+ response: alepha23.TObject<{
2678
+ settings: alepha23.TObject<{
2679
+ displayName: alepha23.TOptional<alepha23.TString>;
2680
+ description: alepha23.TOptional<alepha23.TString>;
2681
+ logoUrl: alepha23.TOptional<alepha23.TString>;
2682
+ registrationAllowed: alepha23.TBoolean;
2683
+ emailEnabled: alepha23.TBoolean;
2684
+ emailRequired: alepha23.TBoolean;
2685
+ usernameEnabled: alepha23.TBoolean;
2686
+ usernameRequired: alepha23.TBoolean;
2687
+ phoneEnabled: alepha23.TBoolean;
2688
+ phoneRequired: alepha23.TBoolean;
2689
+ verifyEmailRequired: alepha23.TBoolean;
2690
+ verifyPhoneRequired: alepha23.TBoolean;
2691
+ firstNameLastNameEnabled: alepha23.TBoolean;
2692
+ firstNameLastNameRequired: alepha23.TBoolean;
2693
+ resetPasswordAllowed: alepha23.TBoolean;
2694
+ passwordPolicy: alepha23.TObject<{
2695
+ minLength: alepha23.TInteger;
2696
+ requireUppercase: alepha23.TBoolean;
2697
+ requireLowercase: alepha23.TBoolean;
2698
+ requireNumbers: alepha23.TBoolean;
2699
+ requireSpecialCharacters: alepha23.TBoolean;
2696
2700
  }>;
2697
2701
  }>;
2698
- realmName: alepha1.TString;
2699
- authenticationMethods: alepha1.TArray<alepha1.TObject<{
2700
- name: alepha1.TString;
2701
- type: alepha1.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
2702
+ realmName: alepha23.TString;
2703
+ authenticationMethods: alepha23.TArray<alepha23.TObject<{
2704
+ name: alepha23.TString;
2705
+ type: alepha23.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
2702
2706
  }>>;
2703
2707
  }>;
2704
2708
  }>;
2705
2709
  readonly checkUsernameAvailability: alepha_server0.ActionPrimitiveFn<{
2706
- query: alepha1.TObject<{
2707
- userRealmName: alepha1.TOptional<alepha1.TString>;
2710
+ query: alepha23.TObject<{
2711
+ userRealmName: alepha23.TOptional<alepha23.TString>;
2708
2712
  }>;
2709
- body: alepha1.TObject<{
2710
- username: alepha1.TString;
2713
+ body: alepha23.TObject<{
2714
+ username: alepha23.TString;
2711
2715
  }>;
2712
- response: alepha1.TObject<{
2713
- available: alepha1.TBoolean;
2716
+ response: alepha23.TObject<{
2717
+ available: alepha23.TBoolean;
2714
2718
  }>;
2715
2719
  }>;
2716
2720
  }
2717
2721
  //#endregion
2718
2722
  //#region ../../src/api/users/schemas/identityResourceSchema.d.ts
2719
- declare const identityResourceSchema: alepha1.TObject<{
2720
- userId: PgAttr<alepha1.TString, typeof PG_REF>;
2721
- provider: alepha1.TString;
2722
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2723
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2724
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2725
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2726
- providerUserId: alepha1.TOptional<alepha1.TString>;
2727
- providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
2723
+ declare const identityResourceSchema: alepha23.TObject<{
2724
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2725
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2726
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2727
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2728
+ userId: PgAttr<alepha23.TString, typeof PG_REF>;
2729
+ provider: alepha23.TString;
2730
+ providerUserId: alepha23.TOptional<alepha23.TString>;
2731
+ providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
2728
2732
  }>;
2729
2733
  type IdentityResource = Static<typeof identityResourceSchema>;
2730
2734
  //#endregion
2731
2735
  //#region ../../src/api/users/schemas/loginSchema.d.ts
2732
- declare const loginSchema: alepha1.TObject<{
2733
- username: alepha1.TString;
2734
- password: alepha1.TString;
2736
+ declare const loginSchema: alepha23.TObject<{
2737
+ username: alepha23.TString;
2738
+ password: alepha23.TString;
2735
2739
  }>;
2736
2740
  type LoginInput = Static<typeof loginSchema>;
2737
2741
  //#endregion
2738
2742
  //#region ../../src/api/users/schemas/registerSchema.d.ts
2739
- declare const registerSchema: alepha1.TObject<{
2740
- username: alepha1.TString;
2741
- email: alepha1.TString;
2742
- password: alepha1.TString;
2743
- confirmPassword: alepha1.TString;
2744
- firstName: alepha1.TOptional<alepha1.TString>;
2745
- lastName: alepha1.TOptional<alepha1.TString>;
2743
+ declare const registerSchema: alepha23.TObject<{
2744
+ username: alepha23.TString;
2745
+ email: alepha23.TString;
2746
+ password: alepha23.TString;
2747
+ confirmPassword: alepha23.TString;
2748
+ firstName: alepha23.TOptional<alepha23.TString>;
2749
+ lastName: alepha23.TOptional<alepha23.TString>;
2746
2750
  }>;
2747
2751
  type RegisterInput = Static<typeof registerSchema>;
2748
2752
  //#endregion
2749
2753
  //#region ../../src/api/users/schemas/resetPasswordSchema.d.ts
2750
- declare const resetPasswordRequestSchema: alepha1.TObject<{
2751
- email: alepha1.TString;
2754
+ declare const resetPasswordRequestSchema: alepha23.TObject<{
2755
+ email: alepha23.TString;
2752
2756
  }>;
2753
- declare const resetPasswordSchema: alepha1.TObject<{
2754
- token: alepha1.TString;
2755
- password: alepha1.TString;
2756
- confirmPassword: alepha1.TString;
2757
+ declare const resetPasswordSchema: alepha23.TObject<{
2758
+ token: alepha23.TString;
2759
+ password: alepha23.TString;
2760
+ confirmPassword: alepha23.TString;
2757
2761
  }>;
2758
2762
  type ResetPasswordRequest = Static<typeof resetPasswordRequestSchema>;
2759
2763
  type ResetPasswordInput = Static<typeof resetPasswordSchema>;
2760
2764
  //#endregion
2761
2765
  //#region ../../src/api/users/schemas/sessionResourceSchema.d.ts
2762
- declare const sessionResourceSchema: alepha1.TObject<{
2763
- id: alepha1.TString;
2764
- version: alepha1.TNumber;
2765
- createdAt: alepha1.TString;
2766
- updatedAt: alepha1.TString;
2767
- refreshToken: alepha1.TString;
2768
- userId: alepha1.TString;
2769
- expiresAt: alepha1.TString;
2770
- ip: alepha1.TOptional<alepha1.TString>;
2771
- userAgent: alepha1.TOptional<alepha1.TObject<{
2772
- os: alepha1.TString;
2773
- browser: alepha1.TString;
2774
- device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2766
+ declare const sessionResourceSchema: alepha23.TObject<{
2767
+ id: alepha23.TString;
2768
+ version: alepha23.TNumber;
2769
+ createdAt: alepha23.TString;
2770
+ updatedAt: alepha23.TString;
2771
+ refreshToken: alepha23.TString;
2772
+ userId: alepha23.TString;
2773
+ expiresAt: alepha23.TString;
2774
+ ip: alepha23.TOptional<alepha23.TString>;
2775
+ userAgent: alepha23.TOptional<alepha23.TObject<{
2776
+ os: alepha23.TString;
2777
+ browser: alepha23.TString;
2778
+ device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2775
2779
  }>>;
2776
2780
  }>;
2777
2781
  type SessionResource = Static<typeof sessionResourceSchema>;
2778
2782
  //#endregion
2779
2783
  //#region ../../src/api/users/schemas/userRealmConfigSchema.d.ts
2780
- declare const userRealmConfigSchema: alepha1.TObject<{
2781
- settings: alepha1.TObject<{
2782
- displayName: alepha1.TOptional<alepha1.TString>;
2783
- description: alepha1.TOptional<alepha1.TString>;
2784
- logoUrl: alepha1.TOptional<alepha1.TString>;
2785
- registrationAllowed: alepha1.TBoolean;
2786
- emailEnabled: alepha1.TBoolean;
2787
- emailRequired: alepha1.TBoolean;
2788
- usernameEnabled: alepha1.TBoolean;
2789
- usernameRequired: alepha1.TBoolean;
2790
- phoneEnabled: alepha1.TBoolean;
2791
- phoneRequired: alepha1.TBoolean;
2792
- verifyEmailRequired: alepha1.TBoolean;
2793
- verifyPhoneRequired: alepha1.TBoolean;
2794
- firstNameLastNameEnabled: alepha1.TBoolean;
2795
- firstNameLastNameRequired: alepha1.TBoolean;
2796
- resetPasswordAllowed: alepha1.TBoolean;
2797
- passwordPolicy: alepha1.TObject<{
2798
- minLength: alepha1.TInteger;
2799
- requireUppercase: alepha1.TBoolean;
2800
- requireLowercase: alepha1.TBoolean;
2801
- requireNumbers: alepha1.TBoolean;
2802
- requireSpecialCharacters: alepha1.TBoolean;
2784
+ declare const userRealmConfigSchema: alepha23.TObject<{
2785
+ settings: alepha23.TObject<{
2786
+ displayName: alepha23.TOptional<alepha23.TString>;
2787
+ description: alepha23.TOptional<alepha23.TString>;
2788
+ logoUrl: alepha23.TOptional<alepha23.TString>;
2789
+ registrationAllowed: alepha23.TBoolean;
2790
+ emailEnabled: alepha23.TBoolean;
2791
+ emailRequired: alepha23.TBoolean;
2792
+ usernameEnabled: alepha23.TBoolean;
2793
+ usernameRequired: alepha23.TBoolean;
2794
+ phoneEnabled: alepha23.TBoolean;
2795
+ phoneRequired: alepha23.TBoolean;
2796
+ verifyEmailRequired: alepha23.TBoolean;
2797
+ verifyPhoneRequired: alepha23.TBoolean;
2798
+ firstNameLastNameEnabled: alepha23.TBoolean;
2799
+ firstNameLastNameRequired: alepha23.TBoolean;
2800
+ resetPasswordAllowed: alepha23.TBoolean;
2801
+ passwordPolicy: alepha23.TObject<{
2802
+ minLength: alepha23.TInteger;
2803
+ requireUppercase: alepha23.TBoolean;
2804
+ requireLowercase: alepha23.TBoolean;
2805
+ requireNumbers: alepha23.TBoolean;
2806
+ requireSpecialCharacters: alepha23.TBoolean;
2803
2807
  }>;
2804
2808
  }>;
2805
- realmName: alepha1.TString;
2806
- authenticationMethods: alepha1.TArray<alepha1.TObject<{
2807
- name: alepha1.TString;
2808
- type: alepha1.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
2809
+ realmName: alepha23.TString;
2810
+ authenticationMethods: alepha23.TArray<alepha23.TObject<{
2811
+ name: alepha23.TString;
2812
+ type: alepha23.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
2809
2813
  }>>;
2810
2814
  }>;
2811
2815
  type UserRealmConfig = Static<typeof userRealmConfigSchema>;
2812
2816
  //#endregion
2813
2817
  //#region ../../src/api/users/schemas/userResourceSchema.d.ts
2814
- declare const userResourceSchema: alepha1.TObject<{
2815
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2816
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2817
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2818
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2819
- realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2820
- username: alepha1.TOptional<alepha1.TString>;
2821
- email: alepha1.TOptional<alepha1.TString>;
2822
- phoneNumber: alepha1.TOptional<alepha1.TString>;
2823
- roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2824
- firstName: alepha1.TOptional<alepha1.TString>;
2825
- lastName: alepha1.TOptional<alepha1.TString>;
2826
- picture: alepha1.TOptional<alepha1.TString>;
2827
- enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2828
- emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2818
+ declare const userResourceSchema: alepha23.TObject<{
2819
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2820
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2821
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2822
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2823
+ realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2824
+ username: alepha23.TOptional<alepha23.TString>;
2825
+ email: alepha23.TOptional<alepha23.TString>;
2826
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
2827
+ roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2828
+ firstName: alepha23.TOptional<alepha23.TString>;
2829
+ lastName: alepha23.TOptional<alepha23.TString>;
2830
+ picture: alepha23.TOptional<alepha23.TString>;
2831
+ enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2832
+ emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2829
2833
  }>;
2830
2834
  type UserResource = Static<typeof userResourceSchema>;
2831
2835
  //#endregion
@@ -2835,50 +2839,50 @@ declare class SessionService {
2835
2839
  protected readonly fsp: FileSystemProvider;
2836
2840
  protected readonly dateTimeProvider: DateTimeProvider;
2837
2841
  protected readonly cryptoProvider: CryptoProvider;
2838
- protected readonly log: alepha_logger0.Logger;
2842
+ protected readonly log: alepha_logger1.Logger;
2839
2843
  protected readonly userRealmProvider: UserRealmProvider;
2840
2844
  protected readonly fileController: alepha_server_links0.HttpVirtualClient<FileController>;
2841
- users(userRealmName?: string): Repository$1<alepha1.TObject<{
2842
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2843
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2844
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2845
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2846
- realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2847
- username: alepha1.TOptional<alepha1.TString>;
2848
- email: alepha1.TOptional<alepha1.TString>;
2849
- phoneNumber: alepha1.TOptional<alepha1.TString>;
2850
- roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2851
- firstName: alepha1.TOptional<alepha1.TString>;
2852
- lastName: alepha1.TOptional<alepha1.TString>;
2853
- picture: alepha1.TOptional<alepha1.TString>;
2854
- enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2855
- emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2845
+ users(userRealmName?: string): Repository$1<alepha23.TObject<{
2846
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2847
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2848
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2849
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2850
+ realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2851
+ username: alepha23.TOptional<alepha23.TString>;
2852
+ email: alepha23.TOptional<alepha23.TString>;
2853
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
2854
+ roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2855
+ firstName: alepha23.TOptional<alepha23.TString>;
2856
+ lastName: alepha23.TOptional<alepha23.TString>;
2857
+ picture: alepha23.TOptional<alepha23.TString>;
2858
+ enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2859
+ emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2856
2860
  }>>;
2857
- sessions(userRealmName?: string): Repository$1<alepha1.TObject<{
2858
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2859
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2860
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2861
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2862
- refreshToken: alepha1.TString;
2863
- userId: PgAttr<alepha1.TString, typeof PG_REF>;
2864
- expiresAt: alepha1.TString;
2865
- ip: alepha1.TOptional<alepha1.TString>;
2866
- userAgent: alepha1.TOptional<alepha1.TObject<{
2867
- os: alepha1.TString;
2868
- browser: alepha1.TString;
2869
- device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2861
+ sessions(userRealmName?: string): Repository$1<alepha23.TObject<{
2862
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2863
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2864
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2865
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2866
+ refreshToken: alepha23.TString;
2867
+ userId: PgAttr<alepha23.TString, typeof PG_REF>;
2868
+ expiresAt: alepha23.TString;
2869
+ ip: alepha23.TOptional<alepha23.TString>;
2870
+ userAgent: alepha23.TOptional<alepha23.TObject<{
2871
+ os: alepha23.TString;
2872
+ browser: alepha23.TString;
2873
+ device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2870
2874
  }>>;
2871
2875
  }>>;
2872
- identities(userRealmName?: string): Repository$1<alepha1.TObject<{
2873
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2874
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2875
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2876
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2877
- userId: PgAttr<alepha1.TString, typeof PG_REF>;
2878
- password: alepha1.TOptional<alepha1.TString>;
2879
- provider: alepha1.TString;
2880
- providerUserId: alepha1.TOptional<alepha1.TString>;
2881
- providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
2876
+ identities(userRealmName?: string): Repository$1<alepha23.TObject<{
2877
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2878
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2879
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2880
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2881
+ userId: PgAttr<alepha23.TString, typeof PG_REF>;
2882
+ password: alepha23.TOptional<alepha23.TString>;
2883
+ provider: alepha23.TString;
2884
+ providerUserId: alepha23.TOptional<alepha23.TString>;
2885
+ providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
2882
2886
  }>>;
2883
2887
  /**
2884
2888
  * Random delay to prevent timing attacks (50-200ms)
@@ -2894,36 +2898,36 @@ declare class SessionService {
2894
2898
  sessionId: string;
2895
2899
  }>;
2896
2900
  refreshSession(refreshToken: string, userRealmName?: string): Promise<{
2897
- user: PgStatic<alepha1.TObject<{
2898
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2899
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2900
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2901
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2902
- realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2903
- username: alepha1.TOptional<alepha1.TString>;
2904
- email: alepha1.TOptional<alepha1.TString>;
2905
- phoneNumber: alepha1.TOptional<alepha1.TString>;
2906
- roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2907
- firstName: alepha1.TOptional<alepha1.TString>;
2908
- lastName: alepha1.TOptional<alepha1.TString>;
2909
- picture: alepha1.TOptional<alepha1.TString>;
2910
- enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2911
- emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2912
- }>, PgRelationMap<alepha1.TObject<{
2913
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2914
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2915
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2916
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2917
- realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2918
- username: alepha1.TOptional<alepha1.TString>;
2919
- email: alepha1.TOptional<alepha1.TString>;
2920
- phoneNumber: alepha1.TOptional<alepha1.TString>;
2921
- roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2922
- firstName: alepha1.TOptional<alepha1.TString>;
2923
- lastName: alepha1.TOptional<alepha1.TString>;
2924
- picture: alepha1.TOptional<alepha1.TString>;
2925
- enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2926
- emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2901
+ user: PgStatic<alepha23.TObject<{
2902
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2903
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2904
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2905
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2906
+ realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2907
+ username: alepha23.TOptional<alepha23.TString>;
2908
+ email: alepha23.TOptional<alepha23.TString>;
2909
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
2910
+ roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2911
+ firstName: alepha23.TOptional<alepha23.TString>;
2912
+ lastName: alepha23.TOptional<alepha23.TString>;
2913
+ picture: alepha23.TOptional<alepha23.TString>;
2914
+ enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2915
+ emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2916
+ }>, PgRelationMap<alepha23.TObject<{
2917
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2918
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2919
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2920
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2921
+ realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2922
+ username: alepha23.TOptional<alepha23.TString>;
2923
+ email: alepha23.TOptional<alepha23.TString>;
2924
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
2925
+ roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2926
+ firstName: alepha23.TOptional<alepha23.TString>;
2927
+ lastName: alepha23.TOptional<alepha23.TString>;
2928
+ picture: alepha23.TOptional<alepha23.TString>;
2929
+ enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2930
+ emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2927
2931
  }>>>;
2928
2932
  expiresIn: number;
2929
2933
  sessionId: string;
@@ -2985,7 +2989,7 @@ declare class SessionService {
2985
2989
  *
2986
2990
  * @module alepha.api.users
2987
2991
  */
2988
- declare const AlephaApiUsers: alepha1.Service<alepha1.Module>;
2992
+ declare const AlephaApiUsers: alepha23.Service<alepha23.Module>;
2989
2993
  //#endregion
2990
2994
  export { $userRealm, AlephaApiUsers, CompletePasswordResetRequest, CompleteRegistrationRequest, CreateUser, CredentialService, DEFAULT_USER_REALM_NAME, IdentityController, IdentityEntity, IdentityQuery, IdentityResource, IdentityService, LoginInput, PasswordResetIntentResponse, RealmAuthSettings, RegisterInput, RegistrationIntentResponse, RegistrationService, ResetPasswordInput, ResetPasswordRequest, SessionController, SessionCrudService, SessionEntity, SessionQuery, SessionResource, SessionService, UpdateUser, UserController, UserEntity, UserQuery, UserRealm, UserRealmConfig, UserRealmController, UserRealmOptions, UserRealmPrimitive, UserRealmProvider, UserRealmRepositories, UserResource, UserService, completePasswordResetRequestSchema, completeRegistrationRequestSchema, createUserSchema, identities, identityQuerySchema, identityResourceSchema, loginSchema, passwordResetIntentResponseSchema, realmAuthSettingsAtom, registerSchema, registrationIntentResponseSchema, resetPasswordRequestSchema, resetPasswordSchema, sessionQuerySchema, sessionResourceSchema, sessions, updateUserSchema, userQuerySchema, userRealmConfigSchema, userResourceSchema, users };
2991
2995
  //# sourceMappingURL=index.d.ts.map