alepha 0.14.1 → 0.14.2

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 (97) hide show
  1. package/README.md +3 -3
  2. package/dist/api/audits/index.d.ts +342 -342
  3. package/dist/api/audits/index.d.ts.map +1 -1
  4. package/dist/api/audits/index.js.map +1 -1
  5. package/dist/api/files/index.js.map +1 -1
  6. package/dist/api/jobs/index.d.ts +161 -161
  7. package/dist/api/jobs/index.js.map +1 -1
  8. package/dist/api/parameters/index.js.map +1 -1
  9. package/dist/api/users/index.d.ts +791 -791
  10. package/dist/api/users/index.d.ts.map +1 -1
  11. package/dist/api/users/index.js +4 -0
  12. package/dist/api/users/index.js.map +1 -1
  13. package/dist/api/verifications/index.d.ts +128 -128
  14. package/dist/api/verifications/index.d.ts.map +1 -1
  15. package/dist/batch/index.js.map +1 -1
  16. package/dist/cache/core/index.js.map +1 -1
  17. package/dist/cli/index.d.ts +173 -167
  18. package/dist/cli/index.d.ts.map +1 -1
  19. package/dist/cli/index.js +427 -409
  20. package/dist/cli/index.js.map +1 -1
  21. package/dist/command/index.d.ts +5 -5
  22. package/dist/command/index.js.map +1 -1
  23. package/dist/core/index.browser.js.map +1 -1
  24. package/dist/core/index.d.ts.map +1 -1
  25. package/dist/core/index.js +7 -6
  26. package/dist/core/index.js.map +1 -1
  27. package/dist/core/index.native.js +7 -6
  28. package/dist/core/index.native.js.map +1 -1
  29. package/dist/datetime/index.js.map +1 -1
  30. package/dist/fake/index.js.map +1 -1
  31. package/dist/file/index.js.map +1 -1
  32. package/dist/lock/redis/index.js.map +1 -1
  33. package/dist/logger/index.js.map +1 -1
  34. package/dist/mcp/index.js.map +1 -1
  35. package/dist/orm/index.browser.js +26 -5
  36. package/dist/orm/index.browser.js.map +1 -1
  37. package/dist/orm/index.d.ts +115 -90
  38. package/dist/orm/index.d.ts.map +1 -1
  39. package/dist/orm/index.js +37 -12
  40. package/dist/orm/index.js.map +1 -1
  41. package/dist/redis/index.js.map +1 -1
  42. package/dist/retry/index.js.map +1 -1
  43. package/dist/router/index.js.map +1 -1
  44. package/dist/scheduler/index.d.ts +6 -6
  45. package/dist/scheduler/index.js.map +1 -1
  46. package/dist/security/index.d.ts +28 -28
  47. package/dist/security/index.d.ts.map +1 -1
  48. package/dist/security/index.js.map +1 -1
  49. package/dist/server/auth/index.d.ts +155 -155
  50. package/dist/server/auth/index.js.map +1 -1
  51. package/dist/server/cache/index.js.map +1 -1
  52. package/dist/server/cookies/index.browser.js.map +1 -1
  53. package/dist/server/cookies/index.js.map +1 -1
  54. package/dist/server/core/index.browser.js.map +1 -1
  55. package/dist/server/core/index.js.map +1 -1
  56. package/dist/server/health/index.d.ts +17 -17
  57. package/dist/server/helmet/index.js.map +1 -1
  58. package/dist/server/links/index.browser.js.map +1 -1
  59. package/dist/server/links/index.js.map +1 -1
  60. package/dist/server/multipart/index.js.map +1 -1
  61. package/dist/server/rate-limit/index.js.map +1 -1
  62. package/dist/server/security/index.d.ts +9 -9
  63. package/dist/server/security/index.js.map +1 -1
  64. package/dist/server/swagger/index.js.map +1 -1
  65. package/dist/thread/index.js.map +1 -1
  66. package/dist/topic/core/index.js.map +1 -1
  67. package/dist/vite/index.js.map +1 -1
  68. package/dist/websocket/index.browser.js.map +1 -1
  69. package/dist/websocket/index.d.ts +7 -7
  70. package/dist/websocket/index.js.map +1 -1
  71. package/package.json +3 -3
  72. package/src/api/users/index.ts +4 -0
  73. package/src/cli/apps/AlephaCli.ts +31 -14
  74. package/src/cli/apps/AlephaPackageBuilderCli.ts +2 -1
  75. package/src/cli/assets/appRouterTs.ts +1 -1
  76. package/src/cli/commands/{ViteCommands.ts → build.ts} +2 -105
  77. package/src/cli/commands/{ChangelogCommands.ts → changelog.ts} +7 -22
  78. package/src/cli/commands/clean.ts +14 -0
  79. package/src/cli/commands/{DrizzleCommands.ts → db.ts} +10 -117
  80. package/src/cli/commands/{DeployCommands.ts → deploy.ts} +1 -1
  81. package/src/cli/commands/dev.ts +57 -0
  82. package/src/cli/commands/format.ts +17 -0
  83. package/src/cli/commands/{CoreCommands.ts → init.ts} +2 -40
  84. package/src/cli/commands/lint.ts +17 -0
  85. package/src/cli/commands/root.ts +32 -0
  86. package/src/cli/commands/run.ts +24 -0
  87. package/src/cli/commands/test.ts +42 -0
  88. package/src/cli/commands/typecheck.ts +19 -0
  89. package/src/cli/commands/{VerifyCommands.ts → verify.ts} +1 -13
  90. package/src/cli/defineConfig.ts +10 -1
  91. package/src/cli/index.ts +16 -7
  92. package/src/cli/services/GitMessageParser.ts +1 -1
  93. package/src/core/Alepha.ts +7 -4
  94. package/src/orm/index.browser.ts +1 -1
  95. package/src/orm/index.ts +10 -6
  96. package/src/orm/providers/{PostgresTypeProvider.ts → DatabaseTypeProvider.ts} +25 -3
  97. package/src/cli/commands/BiomeCommands.ts +0 -29
@@ -1,11 +1,11 @@
1
- import * as alepha23 from "alepha";
1
+ import * as alepha1 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_orm204 from "alepha/orm";
5
+ import * as alepha_orm179 from "alepha/orm";
6
6
  import { Page as Page$1, Repository } from "alepha/orm";
7
- import * as alepha_server0 from "alepha/server";
8
- import * as alepha_logger1 from "alepha/logger";
7
+ import * as alepha_server14 from "alepha/server";
8
+ import * as alepha_logger0 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";
@@ -32,81 +32,81 @@ import "drizzle-orm/postgres-js";
32
32
  import "postgres";
33
33
 
34
34
  //#region ../../src/api/users/atoms/realmAuthSettingsAtom.d.ts
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;
35
+ declare const realmAuthSettingsAtom: alepha1.Atom<alepha1.TObject<{
36
+ displayName: alepha1.TOptional<alepha1.TString>;
37
+ description: alepha1.TOptional<alepha1.TString>;
38
+ logoUrl: alepha1.TOptional<alepha1.TString>;
39
+ registrationAllowed: alepha1.TBoolean;
40
+ emailEnabled: alepha1.TBoolean;
41
+ emailRequired: alepha1.TBoolean;
42
+ usernameEnabled: alepha1.TBoolean;
43
+ usernameRequired: alepha1.TBoolean;
44
+ phoneEnabled: alepha1.TBoolean;
45
+ phoneRequired: alepha1.TBoolean;
46
+ verifyEmailRequired: alepha1.TBoolean;
47
+ verifyPhoneRequired: alepha1.TBoolean;
48
+ firstNameLastNameEnabled: alepha1.TBoolean;
49
+ firstNameLastNameRequired: alepha1.TBoolean;
50
+ resetPasswordAllowed: alepha1.TBoolean;
51
+ passwordPolicy: alepha1.TObject<{
52
+ minLength: alepha1.TInteger;
53
+ requireUppercase: alepha1.TBoolean;
54
+ requireLowercase: alepha1.TBoolean;
55
+ requireNumbers: alepha1.TBoolean;
56
+ requireSpecialCharacters: alepha1.TBoolean;
57
57
  }>;
58
58
  }>, "alepha.api.users.realmAuthSettings">;
59
59
  type RealmAuthSettings = Static<typeof realmAuthSettingsAtom.schema>;
60
60
  //#endregion
61
61
  //#region ../../src/api/users/entities/identities.d.ts
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>>;
62
+ declare const identities: alepha_orm179.EntityPrimitive<alepha1.TObject<{
63
+ id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
64
+ version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
65
+ createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
66
+ updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
67
+ userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
68
+ password: alepha1.TOptional<alepha1.TString>;
69
+ provider: alepha1.TString;
70
+ providerUserId: alepha1.TOptional<alepha1.TString>;
71
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
72
72
  }>>;
73
73
  type IdentityEntity = Static<typeof identities.schema>;
74
74
  //#endregion
75
75
  //#region ../../src/api/users/entities/sessions.d.ts
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">;
76
+ declare const sessions: alepha_orm179.EntityPrimitive<alepha1.TObject<{
77
+ id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
78
+ version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
79
+ createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
80
+ updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
81
+ refreshToken: alepha1.TString;
82
+ userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
83
+ expiresAt: alepha1.TString;
84
+ ip: alepha1.TOptional<alepha1.TString>;
85
+ userAgent: alepha1.TOptional<alepha1.TObject<{
86
+ os: alepha1.TString;
87
+ browser: alepha1.TString;
88
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
89
89
  }>>;
90
90
  }>>;
91
91
  type SessionEntity = Static<typeof sessions.schema>;
92
92
  //#endregion
93
93
  //#region ../../src/api/users/entities/users.d.ts
94
94
  declare const DEFAULT_USER_REALM_NAME = "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>;
95
+ declare const users: alepha_orm179.EntityPrimitive<alepha1.TObject<{
96
+ id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
97
+ version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
98
+ createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
99
+ updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
100
+ realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
101
+ username: alepha1.TOptional<alepha1.TString>;
102
+ email: alepha1.TOptional<alepha1.TString>;
103
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
104
+ roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
105
+ firstName: alepha1.TOptional<alepha1.TString>;
106
+ lastName: alepha1.TOptional<alepha1.TString>;
107
+ picture: alepha1.TOptional<alepha1.TString>;
108
+ enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
109
+ emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
110
110
  }>>;
111
111
  type UserEntity = Static<typeof users.schema>;
112
112
  //#endregion
@@ -173,51 +173,51 @@ interface UserRealm {
173
173
  }
174
174
  declare class UserRealmProvider {
175
175
  protected readonly alepha: Alepha;
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>>;
176
+ protected readonly defaultIdentities: Repository<alepha1.TObject<{
177
+ id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
178
+ version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
179
+ createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
180
+ updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
181
+ userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
182
+ password: alepha1.TOptional<alepha1.TString>;
183
+ provider: alepha1.TString;
184
+ providerUserId: alepha1.TOptional<alepha1.TString>;
185
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
186
186
  }>>;
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">;
187
+ protected readonly defaultSessions: Repository<alepha1.TObject<{
188
+ id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
189
+ version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
190
+ createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
191
+ updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
192
+ refreshToken: alepha1.TString;
193
+ userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
194
+ expiresAt: alepha1.TString;
195
+ ip: alepha1.TOptional<alepha1.TString>;
196
+ userAgent: alepha1.TOptional<alepha1.TObject<{
197
+ os: alepha1.TString;
198
+ browser: alepha1.TString;
199
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
200
200
  }>>;
201
201
  }>>;
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>;
202
+ protected readonly defaultUsers: Repository<alepha1.TObject<{
203
+ id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
204
+ version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
205
+ createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
206
+ updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
207
+ realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
208
+ username: alepha1.TOptional<alepha1.TString>;
209
+ email: alepha1.TOptional<alepha1.TString>;
210
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
211
+ roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
212
+ firstName: alepha1.TOptional<alepha1.TString>;
213
+ lastName: alepha1.TOptional<alepha1.TString>;
214
+ picture: alepha1.TOptional<alepha1.TString>;
215
+ enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
216
+ emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
217
217
  }>>;
218
218
  protected realms: Map<string, UserRealm>;
219
219
  avatars: alepha_bucket0.BucketPrimitive;
220
- protected readonly onConfigure: alepha23.HookPrimitive<"configure">;
220
+ protected readonly onConfigure: alepha1.HookPrimitive<"configure">;
221
221
  register(userRealmName: string, userRealmOptions?: UserRealmOptions): UserRealm;
222
222
  /**
223
223
  * Gets a registered realm by name, auto-creating default if needed.
@@ -229,29 +229,29 @@ declare class UserRealmProvider {
229
229
  }
230
230
  //#endregion
231
231
  //#region ../../src/api/users/schemas/identityQuerySchema.d.ts
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>;
232
+ declare const identityQuerySchema: alepha1.TObject<{
233
+ page: alepha1.TOptional<alepha1.TInteger>;
234
+ size: alepha1.TOptional<alepha1.TInteger>;
235
+ sort: alepha1.TOptional<alepha1.TString>;
236
+ userId: alepha1.TOptional<alepha1.TString>;
237
+ provider: alepha1.TOptional<alepha1.TString>;
238
238
  }>;
239
239
  type IdentityQuery = Static<typeof identityQuerySchema>;
240
240
  //#endregion
241
241
  //#region ../../src/api/users/services/IdentityService.d.ts
242
242
  declare class IdentityService {
243
- protected readonly log: alepha_logger1.Logger;
243
+ protected readonly log: alepha_logger0.Logger;
244
244
  protected readonly userRealmProvider: UserRealmProvider;
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>>;
245
+ identities(userRealmName?: string): alepha_orm179.Repository<alepha1.TObject<{
246
+ id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
247
+ version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
248
+ createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
249
+ updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
250
+ userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
251
+ password: alepha1.TOptional<alepha1.TString>;
252
+ provider: alepha1.TString;
253
+ providerUserId: alepha1.TOptional<alepha1.TString>;
254
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
255
255
  }>>;
256
256
  /**
257
257
  * Find identities with pagination and filtering.
@@ -275,91 +275,91 @@ declare class IdentityController {
275
275
  /**
276
276
  * Find identities with pagination and filtering.
277
277
  */
278
- readonly findIdentities: alepha_server0.ActionPrimitiveFn<{
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>;
278
+ readonly findIdentities: alepha_server14.ActionPrimitiveFn<{
279
+ query: alepha1.TObject<{
280
+ page: alepha1.TOptional<alepha1.TInteger>;
281
+ size: alepha1.TOptional<alepha1.TInteger>;
282
+ sort: alepha1.TOptional<alepha1.TString>;
283
+ userId: alepha1.TOptional<alepha1.TString>;
284
+ provider: alepha1.TOptional<alepha1.TString>;
285
+ userRealmName: alepha1.TOptional<alepha1.TString>;
286
286
  }>;
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>>;
287
+ response: alepha1.TPage<alepha1.TObject<{
288
+ id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
289
+ version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
290
+ createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
291
+ updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
292
+ userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
293
+ provider: alepha1.TString;
294
+ providerUserId: alepha1.TOptional<alepha1.TString>;
295
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
296
296
  }>>;
297
297
  }>;
298
298
  /**
299
299
  * Get an identity by ID.
300
300
  */
301
- readonly getIdentity: alepha_server0.ActionPrimitiveFn<{
302
- params: alepha23.TObject<{
303
- id: alepha23.TString;
301
+ readonly getIdentity: alepha_server14.ActionPrimitiveFn<{
302
+ params: alepha1.TObject<{
303
+ id: alepha1.TString;
304
304
  }>;
305
- query: alepha23.TObject<{
306
- userRealmName: alepha23.TOptional<alepha23.TString>;
305
+ query: alepha1.TObject<{
306
+ userRealmName: alepha1.TOptional<alepha1.TString>;
307
307
  }>;
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>>;
308
+ response: alepha1.TObject<{
309
+ id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
310
+ version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
311
+ createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
312
+ updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
313
+ userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
314
+ provider: alepha1.TString;
315
+ providerUserId: alepha1.TOptional<alepha1.TString>;
316
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
317
317
  }>;
318
318
  }>;
319
319
  /**
320
320
  * Delete an identity.
321
321
  */
322
- readonly deleteIdentity: alepha_server0.ActionPrimitiveFn<{
323
- params: alepha23.TObject<{
324
- id: alepha23.TString;
322
+ readonly deleteIdentity: alepha_server14.ActionPrimitiveFn<{
323
+ params: alepha1.TObject<{
324
+ id: alepha1.TString;
325
325
  }>;
326
- query: alepha23.TObject<{
327
- userRealmName: alepha23.TOptional<alepha23.TString>;
326
+ query: alepha1.TObject<{
327
+ userRealmName: alepha1.TOptional<alepha1.TString>;
328
328
  }>;
329
- response: alepha23.TObject<{
330
- ok: alepha23.TBoolean;
331
- id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
332
- count: alepha23.TOptional<alepha23.TNumber>;
329
+ response: alepha1.TObject<{
330
+ ok: alepha1.TBoolean;
331
+ id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
332
+ count: alepha1.TOptional<alepha1.TNumber>;
333
333
  }>;
334
334
  }>;
335
335
  }
336
336
  //#endregion
337
337
  //#region ../../src/api/users/schemas/sessionQuerySchema.d.ts
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
+ declare const sessionQuerySchema: alepha1.TObject<{
339
+ page: alepha1.TOptional<alepha1.TInteger>;
340
+ size: alepha1.TOptional<alepha1.TInteger>;
341
+ sort: alepha1.TOptional<alepha1.TString>;
342
+ userId: alepha1.TOptional<alepha1.TString>;
343
343
  }>;
344
344
  type SessionQuery = Static<typeof sessionQuerySchema>;
345
345
  //#endregion
346
346
  //#region ../../src/api/users/services/SessionCrudService.d.ts
347
347
  declare class SessionCrudService {
348
- protected readonly log: alepha_logger1.Logger;
348
+ protected readonly log: alepha_logger0.Logger;
349
349
  protected readonly userRealmProvider: UserRealmProvider;
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">;
350
+ sessions(userRealmName?: string): alepha_orm179.Repository<alepha1.TObject<{
351
+ id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
352
+ version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
353
+ createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
354
+ updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
355
+ refreshToken: alepha1.TString;
356
+ userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
357
+ expiresAt: alepha1.TString;
358
+ ip: alepha1.TOptional<alepha1.TString>;
359
+ userAgent: alepha1.TOptional<alepha1.TObject<{
360
+ os: alepha1.TString;
361
+ browser: alepha1.TString;
362
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
363
363
  }>>;
364
364
  }>>;
365
365
  /**
@@ -384,70 +384,70 @@ declare class SessionController {
384
384
  /**
385
385
  * Find sessions with pagination and filtering.
386
386
  */
387
- readonly findSessions: alepha_server0.ActionPrimitiveFn<{
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>;
387
+ readonly findSessions: alepha_server14.ActionPrimitiveFn<{
388
+ query: alepha1.TObject<{
389
+ page: alepha1.TOptional<alepha1.TInteger>;
390
+ size: alepha1.TOptional<alepha1.TInteger>;
391
+ sort: alepha1.TOptional<alepha1.TString>;
392
+ userId: alepha1.TOptional<alepha1.TString>;
393
+ userRealmName: alepha1.TOptional<alepha1.TString>;
394
394
  }>;
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">;
395
+ response: alepha1.TPage<alepha1.TObject<{
396
+ id: alepha1.TString;
397
+ version: alepha1.TNumber;
398
+ createdAt: alepha1.TString;
399
+ updatedAt: alepha1.TString;
400
+ refreshToken: alepha1.TString;
401
+ userId: alepha1.TString;
402
+ expiresAt: alepha1.TString;
403
+ ip: alepha1.TOptional<alepha1.TString>;
404
+ userAgent: alepha1.TOptional<alepha1.TObject<{
405
+ os: alepha1.TString;
406
+ browser: alepha1.TString;
407
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
408
408
  }>>;
409
409
  }>>;
410
410
  }>;
411
411
  /**
412
412
  * Get a session by ID.
413
413
  */
414
- readonly getSession: alepha_server0.ActionPrimitiveFn<{
415
- params: alepha23.TObject<{
416
- id: alepha23.TString;
414
+ readonly getSession: alepha_server14.ActionPrimitiveFn<{
415
+ params: alepha1.TObject<{
416
+ id: alepha1.TString;
417
417
  }>;
418
- query: alepha23.TObject<{
419
- userRealmName: alepha23.TOptional<alepha23.TString>;
418
+ query: alepha1.TObject<{
419
+ userRealmName: alepha1.TOptional<alepha1.TString>;
420
420
  }>;
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">;
421
+ response: alepha1.TObject<{
422
+ id: alepha1.TString;
423
+ version: alepha1.TNumber;
424
+ createdAt: alepha1.TString;
425
+ updatedAt: alepha1.TString;
426
+ refreshToken: alepha1.TString;
427
+ userId: alepha1.TString;
428
+ expiresAt: alepha1.TString;
429
+ ip: alepha1.TOptional<alepha1.TString>;
430
+ userAgent: alepha1.TOptional<alepha1.TObject<{
431
+ os: alepha1.TString;
432
+ browser: alepha1.TString;
433
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
434
434
  }>>;
435
435
  }>;
436
436
  }>;
437
437
  /**
438
438
  * Delete a session.
439
439
  */
440
- readonly deleteSession: alepha_server0.ActionPrimitiveFn<{
441
- params: alepha23.TObject<{
442
- id: alepha23.TString;
440
+ readonly deleteSession: alepha_server14.ActionPrimitiveFn<{
441
+ params: alepha1.TObject<{
442
+ id: alepha1.TString;
443
443
  }>;
444
- query: alepha23.TObject<{
445
- userRealmName: alepha23.TOptional<alepha23.TString>;
444
+ query: alepha1.TObject<{
445
+ userRealmName: alepha1.TOptional<alepha1.TString>;
446
446
  }>;
447
- response: alepha23.TObject<{
448
- ok: alepha23.TBoolean;
449
- id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
450
- count: alepha23.TOptional<alepha23.TNumber>;
447
+ response: alepha1.TObject<{
448
+ ok: alepha1.TBoolean;
449
+ id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
450
+ count: alepha1.TOptional<alepha1.TNumber>;
451
451
  }>;
452
452
  }>;
453
453
  }
@@ -1303,7 +1303,7 @@ declare abstract class ModelBuilder {
1303
1303
  //#endregion
1304
1304
  //#region ../../src/orm/providers/DrizzleKitProvider.d.ts
1305
1305
  declare class DrizzleKitProvider {
1306
- protected readonly log: alepha_logger1.Logger;
1306
+ protected readonly log: alepha_logger0.Logger;
1307
1307
  protected readonly alepha: Alepha;
1308
1308
  /**
1309
1309
  * Synchronize database with current schema definitions.
@@ -1339,11 +1339,11 @@ declare class DrizzleKitProvider {
1339
1339
  */
1340
1340
  importDrizzleKit(): typeof DrizzleKit;
1341
1341
  }
1342
- declare const devMigrationsSchema: alepha23.TObject<{
1343
- id: alepha23.TNumber;
1344
- name: alepha23.TString;
1345
- snapshot: alepha23.TString;
1346
- created_at: alepha23.TString;
1342
+ declare const devMigrationsSchema: alepha1.TObject<{
1343
+ id: alepha1.TNumber;
1344
+ name: alepha1.TString;
1345
+ snapshot: alepha1.TString;
1346
+ created_at: alepha1.TString;
1347
1347
  }>;
1348
1348
  type DevMigrations = Static<typeof devMigrationsSchema>;
1349
1349
  //#endregion
@@ -1351,7 +1351,7 @@ type DevMigrations = Static<typeof devMigrationsSchema>;
1351
1351
  type SQLLike = SQLWrapper | string;
1352
1352
  declare abstract class DatabaseProvider {
1353
1353
  protected readonly alepha: Alepha;
1354
- protected readonly log: alepha_logger1.Logger;
1354
+ protected readonly log: alepha_logger0.Logger;
1355
1355
  protected abstract readonly builder: ModelBuilder;
1356
1356
  protected abstract readonly kit: DrizzleKitProvider;
1357
1357
  abstract readonly db: PgDatabase<any>;
@@ -1468,7 +1468,7 @@ declare class QueryManager {
1468
1468
  createPagination<T>(entities: T[], limit?: number, offset?: number, sort?: Array<{
1469
1469
  column: string;
1470
1470
  direction: "asc" | "desc";
1471
- }>): alepha23.Page<T>;
1471
+ }>): alepha1.Page<T>;
1472
1472
  }
1473
1473
  interface PgJoin {
1474
1474
  table: string;
@@ -1780,7 +1780,7 @@ interface StatementOptions {
1780
1780
  declare module "alepha" {
1781
1781
  interface Env extends Partial<Static<typeof envSchema$1>> {}
1782
1782
  }
1783
- declare const envSchema$1: alepha23.TObject<{
1783
+ declare const envSchema$1: alepha1.TObject<{
1784
1784
  /**
1785
1785
  * Main configuration for database connection.
1786
1786
  * Accept a string in the format of a Postgres connection URL.
@@ -1788,11 +1788,11 @@ declare const envSchema$1: alepha23.TObject<{
1788
1788
  * or
1789
1789
  * Example: postgres://user:password@localhost:5432/database?sslmode=require
1790
1790
  */
1791
- DATABASE_URL: alepha23.TOptional<alepha23.TString>;
1791
+ DATABASE_URL: alepha1.TOptional<alepha1.TString>;
1792
1792
  /**
1793
1793
  * In addition to the DATABASE_URL, you can specify the postgres schema name.
1794
1794
  */
1795
- POSTGRES_SCHEMA: alepha23.TOptional<alepha23.TString>;
1795
+ POSTGRES_SCHEMA: alepha1.TOptional<alepha1.TString>;
1796
1796
  }>;
1797
1797
  /**
1798
1798
  * Bun PostgreSQL provider using Drizzle ORM with Bun's native SQL client.
@@ -1817,8 +1817,8 @@ declare const envSchema$1: alepha23.TObject<{
1817
1817
  /**
1818
1818
  * Configuration options for the Bun SQLite database provider.
1819
1819
  */
1820
- declare const bunSqliteOptions: alepha23.Atom<alepha23.TObject<{
1821
- path: alepha23.TOptional<alepha23.TString>;
1820
+ declare const bunSqliteOptions: alepha1.Atom<alepha1.TObject<{
1821
+ path: alepha1.TOptional<alepha1.TString>;
1822
1822
  }>, "alepha.postgres.bun-sqlite.options">;
1823
1823
  type BunSqliteProviderOptions = Static<typeof bunSqliteOptions.schema>;
1824
1824
  declare module "alepha" {
@@ -1855,7 +1855,7 @@ declare module "alepha" {
1855
1855
  declare module "alepha" {
1856
1856
  interface Env extends Partial<Static<typeof envSchema>> {}
1857
1857
  }
1858
- declare const envSchema: alepha23.TObject<{
1858
+ declare const envSchema: alepha1.TObject<{
1859
1859
  /**
1860
1860
  * Main configuration for database connection.
1861
1861
  * Accept a string in the format of a Postgres connection URL.
@@ -1863,21 +1863,21 @@ declare const envSchema: alepha23.TObject<{
1863
1863
  * or
1864
1864
  * Example: postgres://user:password@localhost:5432/database?sslmode=require
1865
1865
  */
1866
- DATABASE_URL: alepha23.TOptional<alepha23.TString>;
1866
+ DATABASE_URL: alepha1.TOptional<alepha1.TString>;
1867
1867
  /**
1868
1868
  * In addition to the DATABASE_URL, you can specify the postgres schema name.
1869
1869
  *
1870
1870
  * It will monkey patch drizzle tables.
1871
1871
  */
1872
- POSTGRES_SCHEMA: alepha23.TOptional<alepha23.TString>;
1872
+ POSTGRES_SCHEMA: alepha1.TOptional<alepha1.TString>;
1873
1873
  }>;
1874
1874
  //#endregion
1875
1875
  //#region ../../src/orm/providers/drivers/NodeSqliteProvider.d.ts
1876
1876
  /**
1877
1877
  * Configuration options for the Node.js SQLite database provider.
1878
1878
  */
1879
- declare const nodeSqliteOptions: alepha23.Atom<alepha23.TObject<{
1880
- path: alepha23.TOptional<alepha23.TString>;
1879
+ declare const nodeSqliteOptions: alepha1.Atom<alepha1.TObject<{
1880
+ path: alepha1.TOptional<alepha1.TString>;
1881
1881
  }>, "alepha.postgres.node-sqlite.options">;
1882
1882
  type NodeSqliteProviderOptions = Static<typeof nodeSqliteOptions.schema>;
1883
1883
  declare module "alepha" {
@@ -1962,30 +1962,30 @@ declare module "alepha" {
1962
1962
  //#endregion
1963
1963
  //#region ../../src/api/users/notifications/UserNotifications.d.ts
1964
1964
  declare class UserNotifications {
1965
- readonly passwordReset: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1966
- email: alepha23.TString;
1967
- code: alepha23.TString;
1968
- expiresInMinutes: alepha23.TNumber;
1965
+ readonly passwordReset: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1966
+ email: alepha1.TString;
1967
+ code: alepha1.TString;
1968
+ expiresInMinutes: alepha1.TNumber;
1969
1969
  }>>;
1970
- readonly emailVerification: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1971
- email: alepha23.TString;
1972
- code: alepha23.TString;
1973
- expiresInMinutes: alepha23.TNumber;
1970
+ readonly emailVerification: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1971
+ email: alepha1.TString;
1972
+ code: alepha1.TString;
1973
+ expiresInMinutes: alepha1.TNumber;
1974
1974
  }>>;
1975
- readonly phoneVerification: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1976
- phoneNumber: alepha23.TString;
1977
- code: alepha23.TString;
1978
- expiresInMinutes: alepha23.TNumber;
1975
+ readonly phoneVerification: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1976
+ phoneNumber: alepha1.TString;
1977
+ code: alepha1.TString;
1978
+ expiresInMinutes: alepha1.TNumber;
1979
1979
  }>>;
1980
- readonly passwordResetLink: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1981
- email: alepha23.TString;
1982
- resetUrl: alepha23.TString;
1983
- expiresInMinutes: alepha23.TNumber;
1980
+ readonly passwordResetLink: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1981
+ email: alepha1.TString;
1982
+ resetUrl: alepha1.TString;
1983
+ expiresInMinutes: alepha1.TNumber;
1984
1984
  }>>;
1985
- readonly emailVerificationLink: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1986
- email: alepha23.TString;
1987
- verifyUrl: alepha23.TString;
1988
- expiresInMinutes: alepha23.TNumber;
1985
+ readonly emailVerificationLink: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1986
+ email: alepha1.TString;
1987
+ verifyUrl: alepha1.TString;
1988
+ expiresInMinutes: alepha1.TNumber;
1989
1989
  }>>;
1990
1990
  }
1991
1991
  //#endregion
@@ -1996,10 +1996,10 @@ declare class UserNotifications {
1996
1996
  * Requires the intent ID from Phase 1, the verification code,
1997
1997
  * and the new password.
1998
1998
  */
1999
- declare const completePasswordResetRequestSchema: alepha23.TObject<{
2000
- intentId: alepha23.TString;
2001
- code: alepha23.TString;
2002
- newPassword: alepha23.TString;
1999
+ declare const completePasswordResetRequestSchema: alepha1.TObject<{
2000
+ intentId: alepha1.TString;
2001
+ code: alepha1.TString;
2002
+ newPassword: alepha1.TString;
2003
2003
  }>;
2004
2004
  type CompletePasswordResetRequest = Static<typeof completePasswordResetRequestSchema>;
2005
2005
  //#endregion
@@ -2010,9 +2010,9 @@ type CompletePasswordResetRequest = Static<typeof completePasswordResetRequestSc
2010
2010
  * Contains the intent ID needed for Phase 2 completion,
2011
2011
  * along with expiration time.
2012
2012
  */
2013
- declare const passwordResetIntentResponseSchema: alepha23.TObject<{
2014
- intentId: alepha23.TString;
2015
- expiresAt: alepha23.TString;
2013
+ declare const passwordResetIntentResponseSchema: alepha1.TObject<{
2014
+ intentId: alepha1.TString;
2015
+ expiresAt: alepha1.TString;
2016
2016
  }>;
2017
2017
  type PasswordResetIntentResponse = Static<typeof passwordResetIntentResponseSchema>;
2018
2018
  //#endregion
@@ -2028,54 +2028,54 @@ interface PasswordResetIntent {
2028
2028
  expiresAt: string;
2029
2029
  }
2030
2030
  declare class CredentialService {
2031
- protected readonly log: alepha_logger1.Logger;
2031
+ protected readonly log: alepha_logger0.Logger;
2032
2032
  protected readonly cryptoProvider: CryptoProvider;
2033
2033
  protected readonly dateTimeProvider: DateTimeProvider;
2034
2034
  protected readonly verificationController: alepha_server_links0.HttpVirtualClient<VerificationController>;
2035
2035
  protected readonly userNotifications: UserNotifications;
2036
2036
  protected readonly userRealmProvider: UserRealmProvider;
2037
2037
  protected readonly intentCache: alepha_cache0.CachePrimitiveFn<PasswordResetIntent, any[]>;
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>;
2038
+ users(userRealmName?: string): Repository$1<alepha1.TObject<{
2039
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2040
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2041
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2042
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2043
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2044
+ username: alepha1.TOptional<alepha1.TString>;
2045
+ email: alepha1.TOptional<alepha1.TString>;
2046
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2047
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2048
+ firstName: alepha1.TOptional<alepha1.TString>;
2049
+ lastName: alepha1.TOptional<alepha1.TString>;
2050
+ picture: alepha1.TOptional<alepha1.TString>;
2051
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2052
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2053
2053
  }>>;
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">;
2054
+ sessions(userRealmName?: string): Repository$1<alepha1.TObject<{
2055
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2056
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2057
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2058
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2059
+ refreshToken: alepha1.TString;
2060
+ userId: PgAttr<alepha1.TString, typeof PG_REF>;
2061
+ expiresAt: alepha1.TString;
2062
+ ip: alepha1.TOptional<alepha1.TString>;
2063
+ userAgent: alepha1.TOptional<alepha1.TObject<{
2064
+ os: alepha1.TString;
2065
+ browser: alepha1.TString;
2066
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2067
2067
  }>>;
2068
2068
  }>>;
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>>;
2069
+ identities(userRealmName?: string): Repository$1<alepha1.TObject<{
2070
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2071
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2072
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2073
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2074
+ userId: PgAttr<alepha1.TString, typeof PG_REF>;
2075
+ password: alepha1.TOptional<alepha1.TString>;
2076
+ provider: alepha1.TString;
2077
+ providerUserId: alepha1.TOptional<alepha1.TString>;
2078
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
2079
2079
  }>>;
2080
2080
  /**
2081
2081
  * Phase 1: Create a password reset intent.
@@ -2112,11 +2112,11 @@ declare class CredentialService {
2112
2112
  }
2113
2113
  //#endregion
2114
2114
  //#region ../../src/api/users/schemas/completeRegistrationRequestSchema.d.ts
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>;
2115
+ declare const completeRegistrationRequestSchema: alepha1.TObject<{
2116
+ intentId: alepha1.TString;
2117
+ emailCode: alepha1.TOptional<alepha1.TString>;
2118
+ phoneCode: alepha1.TOptional<alepha1.TString>;
2119
+ captchaToken: alepha1.TOptional<alepha1.TString>;
2120
2120
  }>;
2121
2121
  type CompleteRegistrationRequest = Static<typeof completeRegistrationRequestSchema>;
2122
2122
  //#endregion
@@ -2125,24 +2125,24 @@ type CompleteRegistrationRequest = Static<typeof completeRegistrationRequestSche
2125
2125
  * Schema for user registration request body.
2126
2126
  * Password is always required, other fields depend on realm settings.
2127
2127
  */
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>;
2128
+ declare const registerRequestSchema: alepha1.TObject<{
2129
+ password: alepha1.TString;
2130
+ username: alepha1.TOptional<alepha1.TString>;
2131
+ email: alepha1.TOptional<alepha1.TString>;
2132
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2133
+ firstName: alepha1.TOptional<alepha1.TString>;
2134
+ lastName: alepha1.TOptional<alepha1.TString>;
2135
+ picture: alepha1.TOptional<alepha1.TString>;
2136
2136
  }>;
2137
2137
  type RegisterRequest = Static<typeof registerRequestSchema>;
2138
2138
  //#endregion
2139
2139
  //#region ../../src/api/users/schemas/registrationIntentResponseSchema.d.ts
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;
2140
+ declare const registrationIntentResponseSchema: alepha1.TObject<{
2141
+ intentId: alepha1.TString;
2142
+ expectCaptcha: alepha1.TBoolean;
2143
+ expectEmailVerification: alepha1.TBoolean;
2144
+ expectPhoneVerification: alepha1.TBoolean;
2145
+ expiresAt: alepha1.TString;
2146
2146
  }>;
2147
2147
  type RegistrationIntentResponse = Static<typeof registrationIntentResponseSchema>;
2148
2148
  //#endregion
@@ -2169,7 +2169,7 @@ interface RegistrationIntent {
2169
2169
  expiresAt: string;
2170
2170
  }
2171
2171
  declare class RegistrationService {
2172
- protected readonly log: alepha_logger1.Logger;
2172
+ protected readonly log: alepha_logger0.Logger;
2173
2173
  protected readonly dateTimeProvider: DateTimeProvider;
2174
2174
  protected readonly cryptoProvider: CryptoProvider;
2175
2175
  protected readonly verificationController: alepha_server_links0.HttpVirtualClient<VerificationController>;
@@ -2213,70 +2213,70 @@ declare class RegistrationService {
2213
2213
  }
2214
2214
  //#endregion
2215
2215
  //#region ../../src/api/users/schemas/createUserSchema.d.ts
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>>;
2216
+ declare const createUserSchema: alepha1.TObject<{
2217
+ username: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2218
+ email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2219
+ phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2220
+ firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2221
+ lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2222
+ picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2223
+ enabled: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
2224
+ emailVerified: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
2225
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2226
+ id: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
2227
+ version: alepha1.TOptional<PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
2228
+ createdAt: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
2229
+ updatedAt: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
2230
2230
  }>;
2231
2231
  type CreateUser = Static<typeof createUserSchema>;
2232
2232
  //#endregion
2233
2233
  //#region ../../src/api/users/schemas/updateUserSchema.d.ts
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>>;
2234
+ declare const updateUserSchema: alepha1.TObject<{
2235
+ email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2236
+ phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2237
+ firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2238
+ lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2239
+ picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2240
+ enabled: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
2241
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2242
+ realm: alepha1.TOptional<PgAttr<alepha1.TString, typeof PG_DEFAULT>>;
2243
2243
  }>;
2244
2244
  type UpdateUser = Static<typeof updateUserSchema>;
2245
2245
  //#endregion
2246
2246
  //#region ../../src/api/users/schemas/userQuerySchema.d.ts
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>;
2247
+ declare const userQuerySchema: alepha1.TObject<{
2248
+ page: alepha1.TOptional<alepha1.TInteger>;
2249
+ size: alepha1.TOptional<alepha1.TInteger>;
2250
+ sort: alepha1.TOptional<alepha1.TString>;
2251
+ email: alepha1.TOptional<alepha1.TString>;
2252
+ enabled: alepha1.TOptional<alepha1.TBoolean>;
2253
+ emailVerified: alepha1.TOptional<alepha1.TBoolean>;
2254
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2255
+ query: alepha1.TOptional<alepha1.TString>;
2256
2256
  }>;
2257
2257
  type UserQuery = Static<typeof userQuerySchema>;
2258
2258
  //#endregion
2259
2259
  //#region ../../src/api/users/services/UserService.d.ts
2260
2260
  declare class UserService {
2261
- protected readonly log: alepha_logger1.Logger;
2261
+ protected readonly log: alepha_logger0.Logger;
2262
2262
  protected readonly verificationController: alepha_server_links0.HttpVirtualClient<VerificationController>;
2263
2263
  protected readonly userNotifications: UserNotifications;
2264
2264
  protected readonly userRealmProvider: UserRealmProvider;
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>;
2265
+ users(userRealmName?: string): alepha_orm179.Repository<alepha1.TObject<{
2266
+ id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2267
+ version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2268
+ createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2269
+ updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2270
+ realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
2271
+ username: alepha1.TOptional<alepha1.TString>;
2272
+ email: alepha1.TOptional<alepha1.TString>;
2273
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2274
+ roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
2275
+ firstName: alepha1.TOptional<alepha1.TString>;
2276
+ lastName: alepha1.TOptional<alepha1.TString>;
2277
+ picture: alepha1.TOptional<alepha1.TString>;
2278
+ enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2279
+ emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2280
2280
  }>>;
2281
2281
  /**
2282
2282
  * Request email verification for a user.
@@ -2328,282 +2328,282 @@ declare class UserController {
2328
2328
  * Phase 1: Create a registration intent.
2329
2329
  * Validates data, creates verification sessions, and stores intent in cache.
2330
2330
  */
2331
- readonly createRegistrationIntent: alepha_server0.ActionPrimitiveFn<{
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>;
2331
+ readonly createRegistrationIntent: alepha_server14.ActionPrimitiveFn<{
2332
+ body: alepha1.TObject<{
2333
+ password: alepha1.TString;
2334
+ username: alepha1.TOptional<alepha1.TString>;
2335
+ email: alepha1.TOptional<alepha1.TString>;
2336
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2337
+ firstName: alepha1.TOptional<alepha1.TString>;
2338
+ lastName: alepha1.TOptional<alepha1.TString>;
2339
+ picture: alepha1.TOptional<alepha1.TString>;
2340
2340
  }>;
2341
- query: alepha23.TObject<{
2342
- userRealmName: alepha23.TOptional<alepha23.TString>;
2341
+ query: alepha1.TObject<{
2342
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2343
2343
  }>;
2344
- response: alepha23.TObject<{
2345
- intentId: alepha23.TString;
2346
- expectCaptcha: alepha23.TBoolean;
2347
- expectEmailVerification: alepha23.TBoolean;
2348
- expectPhoneVerification: alepha23.TBoolean;
2349
- expiresAt: alepha23.TString;
2344
+ response: alepha1.TObject<{
2345
+ intentId: alepha1.TString;
2346
+ expectCaptcha: alepha1.TBoolean;
2347
+ expectEmailVerification: alepha1.TBoolean;
2348
+ expectPhoneVerification: alepha1.TBoolean;
2349
+ expiresAt: alepha1.TString;
2350
2350
  }>;
2351
2351
  }>;
2352
2352
  /**
2353
2353
  * Find users with pagination and filtering.
2354
2354
  */
2355
- readonly findUsers: alepha_server0.ActionPrimitiveFn<{
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>;
2355
+ readonly findUsers: alepha_server14.ActionPrimitiveFn<{
2356
+ query: alepha1.TObject<{
2357
+ page: alepha1.TOptional<alepha1.TInteger>;
2358
+ size: alepha1.TOptional<alepha1.TInteger>;
2359
+ sort: alepha1.TOptional<alepha1.TString>;
2360
+ email: alepha1.TOptional<alepha1.TString>;
2361
+ enabled: alepha1.TOptional<alepha1.TBoolean>;
2362
+ emailVerified: alepha1.TOptional<alepha1.TBoolean>;
2363
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2364
+ query: alepha1.TOptional<alepha1.TString>;
2365
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2366
2366
  }>;
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>;
2367
+ response: alepha1.TPage<alepha1.TObject<{
2368
+ id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2369
+ version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2370
+ createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2371
+ updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2372
+ realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
2373
+ username: alepha1.TOptional<alepha1.TString>;
2374
+ email: alepha1.TOptional<alepha1.TString>;
2375
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2376
+ roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
2377
+ firstName: alepha1.TOptional<alepha1.TString>;
2378
+ lastName: alepha1.TOptional<alepha1.TString>;
2379
+ picture: alepha1.TOptional<alepha1.TString>;
2380
+ enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2381
+ emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2382
2382
  }>>;
2383
2383
  }>;
2384
2384
  /**
2385
2385
  * Get a user by ID.
2386
2386
  */
2387
- readonly getUser: alepha_server0.ActionPrimitiveFn<{
2388
- params: alepha23.TObject<{
2389
- id: alepha23.TString;
2387
+ readonly getUser: alepha_server14.ActionPrimitiveFn<{
2388
+ params: alepha1.TObject<{
2389
+ id: alepha1.TString;
2390
2390
  }>;
2391
- query: alepha23.TObject<{
2392
- userRealmName: alepha23.TOptional<alepha23.TString>;
2391
+ query: alepha1.TObject<{
2392
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2393
2393
  }>;
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>;
2394
+ response: alepha1.TObject<{
2395
+ id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2396
+ version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2397
+ createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2398
+ updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2399
+ realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
2400
+ username: alepha1.TOptional<alepha1.TString>;
2401
+ email: alepha1.TOptional<alepha1.TString>;
2402
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2403
+ roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
2404
+ firstName: alepha1.TOptional<alepha1.TString>;
2405
+ lastName: alepha1.TOptional<alepha1.TString>;
2406
+ picture: alepha1.TOptional<alepha1.TString>;
2407
+ enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2408
+ emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2409
2409
  }>;
2410
2410
  }>;
2411
2411
  /**
2412
2412
  * Create a new user.
2413
2413
  */
2414
- readonly createUser: alepha_server0.ActionPrimitiveFn<{
2415
- query: alepha23.TObject<{
2416
- userRealmName: alepha23.TOptional<alepha23.TString>;
2414
+ readonly createUser: alepha_server14.ActionPrimitiveFn<{
2415
+ query: alepha1.TObject<{
2416
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2417
2417
  }>;
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>>;
2418
+ body: alepha1.TObject<{
2419
+ username: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2420
+ email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2421
+ phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2422
+ firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2423
+ lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2424
+ picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2425
+ enabled: alepha1.TOptional<alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>>;
2426
+ emailVerified: alepha1.TOptional<alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>>;
2427
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2428
+ id: alepha1.TOptional<alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>>;
2429
+ version: alepha1.TOptional<alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>>;
2430
+ createdAt: alepha1.TOptional<alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>>;
2431
+ updatedAt: alepha1.TOptional<alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>>;
2432
2432
  }>;
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>;
2433
+ response: alepha1.TObject<{
2434
+ id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2435
+ version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2436
+ createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2437
+ updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2438
+ realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
2439
+ username: alepha1.TOptional<alepha1.TString>;
2440
+ email: alepha1.TOptional<alepha1.TString>;
2441
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2442
+ roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
2443
+ firstName: alepha1.TOptional<alepha1.TString>;
2444
+ lastName: alepha1.TOptional<alepha1.TString>;
2445
+ picture: alepha1.TOptional<alepha1.TString>;
2446
+ enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2447
+ emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2448
2448
  }>;
2449
2449
  }>;
2450
2450
  /**
2451
2451
  * Phase 2: Complete registration using an intent.
2452
2452
  * Validates verification codes and creates the user.
2453
2453
  */
2454
- readonly createUserFromIntent: alepha_server0.ActionPrimitiveFn<{
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>;
2454
+ readonly createUserFromIntent: alepha_server14.ActionPrimitiveFn<{
2455
+ body: alepha1.TObject<{
2456
+ intentId: alepha1.TString;
2457
+ emailCode: alepha1.TOptional<alepha1.TString>;
2458
+ phoneCode: alepha1.TOptional<alepha1.TString>;
2459
+ captchaToken: alepha1.TOptional<alepha1.TString>;
2460
2460
  }>;
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>;
2461
+ response: alepha1.TObject<{
2462
+ id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2463
+ version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2464
+ createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2465
+ updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2466
+ realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
2467
+ username: alepha1.TOptional<alepha1.TString>;
2468
+ email: alepha1.TOptional<alepha1.TString>;
2469
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2470
+ roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
2471
+ firstName: alepha1.TOptional<alepha1.TString>;
2472
+ lastName: alepha1.TOptional<alepha1.TString>;
2473
+ picture: alepha1.TOptional<alepha1.TString>;
2474
+ enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2475
+ emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2476
2476
  }>;
2477
2477
  }>;
2478
2478
  /**
2479
2479
  * Update a user.
2480
2480
  */
2481
- readonly updateUser: alepha_server0.ActionPrimitiveFn<{
2482
- params: alepha23.TObject<{
2483
- id: alepha23.TString;
2481
+ readonly updateUser: alepha_server14.ActionPrimitiveFn<{
2482
+ params: alepha1.TObject<{
2483
+ id: alepha1.TString;
2484
2484
  }>;
2485
- query: alepha23.TObject<{
2486
- userRealmName: alepha23.TOptional<alepha23.TString>;
2485
+ query: alepha1.TObject<{
2486
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2487
2487
  }>;
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>>;
2488
+ body: alepha1.TObject<{
2489
+ email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2490
+ phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2491
+ firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2492
+ lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2493
+ picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2494
+ enabled: alepha1.TOptional<alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>>;
2495
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2496
+ realm: alepha1.TOptional<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>>;
2497
2497
  }>;
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>;
2498
+ response: alepha1.TObject<{
2499
+ id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2500
+ version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2501
+ createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2502
+ updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2503
+ realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
2504
+ username: alepha1.TOptional<alepha1.TString>;
2505
+ email: alepha1.TOptional<alepha1.TString>;
2506
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2507
+ roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
2508
+ firstName: alepha1.TOptional<alepha1.TString>;
2509
+ lastName: alepha1.TOptional<alepha1.TString>;
2510
+ picture: alepha1.TOptional<alepha1.TString>;
2511
+ enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2512
+ emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
2513
2513
  }>;
2514
2514
  }>;
2515
2515
  /**
2516
2516
  * Delete a user.
2517
2517
  */
2518
- readonly deleteUser: alepha_server0.ActionPrimitiveFn<{
2519
- params: alepha23.TObject<{
2520
- id: alepha23.TString;
2518
+ readonly deleteUser: alepha_server14.ActionPrimitiveFn<{
2519
+ params: alepha1.TObject<{
2520
+ id: alepha1.TString;
2521
2521
  }>;
2522
- query: alepha23.TObject<{
2523
- userRealmName: alepha23.TOptional<alepha23.TString>;
2522
+ query: alepha1.TObject<{
2523
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2524
2524
  }>;
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
+ response: alepha1.TObject<{
2526
+ ok: alepha1.TBoolean;
2527
+ id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
2528
+ count: alepha1.TOptional<alepha1.TNumber>;
2529
2529
  }>;
2530
2530
  }>;
2531
2531
  /**
2532
2532
  * Phase 1: Create a password reset intent.
2533
2533
  * Validates email, sends verification code, and stores intent in cache.
2534
2534
  */
2535
- readonly createPasswordResetIntent: alepha_server0.ActionPrimitiveFn<{
2536
- query: alepha23.TObject<{
2537
- userRealmName: alepha23.TOptional<alepha23.TString>;
2535
+ readonly createPasswordResetIntent: alepha_server14.ActionPrimitiveFn<{
2536
+ query: alepha1.TObject<{
2537
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2538
2538
  }>;
2539
- body: alepha23.TObject<{
2540
- email: alepha23.TString;
2539
+ body: alepha1.TObject<{
2540
+ email: alepha1.TString;
2541
2541
  }>;
2542
- response: alepha23.TObject<{
2543
- intentId: alepha23.TString;
2544
- expiresAt: alepha23.TString;
2542
+ response: alepha1.TObject<{
2543
+ intentId: alepha1.TString;
2544
+ expiresAt: alepha1.TString;
2545
2545
  }>;
2546
2546
  }>;
2547
2547
  /**
2548
2548
  * Phase 2: Complete password reset using an intent.
2549
2549
  * Validates verification code, updates password, and invalidates sessions.
2550
2550
  */
2551
- readonly completePasswordReset: alepha_server0.ActionPrimitiveFn<{
2552
- body: alepha23.TObject<{
2553
- intentId: alepha23.TString;
2554
- code: alepha23.TString;
2555
- newPassword: alepha23.TString;
2551
+ readonly completePasswordReset: alepha_server14.ActionPrimitiveFn<{
2552
+ body: alepha1.TObject<{
2553
+ intentId: alepha1.TString;
2554
+ code: alepha1.TString;
2555
+ newPassword: alepha1.TString;
2556
2556
  }>;
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
+ response: alepha1.TObject<{
2558
+ ok: alepha1.TBoolean;
2559
+ id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
2560
+ count: alepha1.TOptional<alepha1.TNumber>;
2561
2561
  }>;
2562
2562
  }>;
2563
2563
  /**
2564
2564
  * @deprecated Use createPasswordResetIntent instead
2565
2565
  */
2566
- requestPasswordReset: alepha_server0.ActionPrimitiveFn<{
2567
- query: alepha23.TObject<{
2568
- userRealmName: alepha23.TOptional<alepha23.TString>;
2566
+ requestPasswordReset: alepha_server14.ActionPrimitiveFn<{
2567
+ query: alepha1.TObject<{
2568
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2569
2569
  }>;
2570
- body: alepha23.TObject<{
2571
- email: alepha23.TString;
2570
+ body: alepha1.TObject<{
2571
+ email: alepha1.TString;
2572
2572
  }>;
2573
- response: alepha23.TObject<{
2574
- success: alepha23.TBoolean;
2575
- message: alepha23.TString;
2573
+ response: alepha1.TObject<{
2574
+ success: alepha1.TBoolean;
2575
+ message: alepha1.TString;
2576
2576
  }>;
2577
2577
  }>;
2578
2578
  /**
2579
2579
  * @deprecated Use completePasswordReset instead
2580
2580
  */
2581
- validateResetToken: alepha_server0.ActionPrimitiveFn<{
2582
- query: alepha23.TObject<{
2583
- email: alepha23.TString;
2584
- token: alepha23.TString;
2585
- userRealmName: alepha23.TOptional<alepha23.TString>;
2581
+ validateResetToken: alepha_server14.ActionPrimitiveFn<{
2582
+ query: alepha1.TObject<{
2583
+ email: alepha1.TString;
2584
+ token: alepha1.TString;
2585
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2586
2586
  }>;
2587
- response: alepha23.TObject<{
2588
- valid: alepha23.TBoolean;
2589
- email: alepha23.TOptional<alepha23.TString>;
2587
+ response: alepha1.TObject<{
2588
+ valid: alepha1.TBoolean;
2589
+ email: alepha1.TOptional<alepha1.TString>;
2590
2590
  }>;
2591
2591
  }>;
2592
2592
  /**
2593
2593
  * @deprecated Use completePasswordReset instead
2594
2594
  */
2595
- resetPassword: alepha_server0.ActionPrimitiveFn<{
2596
- query: alepha23.TObject<{
2597
- userRealmName: alepha23.TOptional<alepha23.TString>;
2595
+ resetPassword: alepha_server14.ActionPrimitiveFn<{
2596
+ query: alepha1.TObject<{
2597
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2598
2598
  }>;
2599
- body: alepha23.TObject<{
2600
- email: alepha23.TString;
2601
- token: alepha23.TString;
2602
- newPassword: alepha23.TString;
2599
+ body: alepha1.TObject<{
2600
+ email: alepha1.TString;
2601
+ token: alepha1.TString;
2602
+ newPassword: alepha1.TString;
2603
2603
  }>;
2604
- response: alepha23.TObject<{
2605
- success: alepha23.TBoolean;
2606
- message: alepha23.TString;
2604
+ response: alepha1.TObject<{
2605
+ success: alepha1.TBoolean;
2606
+ message: alepha1.TString;
2607
2607
  }>;
2608
2608
  }>;
2609
2609
  /**
@@ -2612,47 +2612,47 @@ declare class UserController {
2612
2612
  * @param method - The verification method: "code" (default) sends a 6-digit code, "link" sends a clickable verification link.
2613
2613
  * @param verifyUrl - Required when method is "link". The base URL for the verification link. Token and email will be appended as query params.
2614
2614
  */
2615
- requestEmailVerification: alepha_server0.ActionPrimitiveFn<{
2616
- query: alepha23.TObject<{
2617
- userRealmName: alepha23.TOptional<alepha23.TString>;
2618
- method: alepha23.TOptional<alepha23.TUnsafe<"link" | "code">>;
2619
- verifyUrl: alepha23.TOptional<alepha23.TString>;
2615
+ requestEmailVerification: alepha_server14.ActionPrimitiveFn<{
2616
+ query: alepha1.TObject<{
2617
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2618
+ method: alepha1.TOptional<alepha1.TUnsafe<"link" | "code">>;
2619
+ verifyUrl: alepha1.TOptional<alepha1.TString>;
2620
2620
  }>;
2621
- body: alepha23.TObject<{
2622
- email: alepha23.TString;
2621
+ body: alepha1.TObject<{
2622
+ email: alepha1.TString;
2623
2623
  }>;
2624
- response: alepha23.TObject<{
2625
- success: alepha23.TBoolean;
2626
- message: alepha23.TString;
2624
+ response: alepha1.TObject<{
2625
+ success: alepha1.TBoolean;
2626
+ message: alepha1.TString;
2627
2627
  }>;
2628
2628
  }>;
2629
2629
  /**
2630
2630
  * Verify email with a valid token.
2631
2631
  * Updates the user's emailVerified status.
2632
2632
  */
2633
- verifyEmail: alepha_server0.ActionPrimitiveFn<{
2634
- query: alepha23.TObject<{
2635
- userRealmName: alepha23.TOptional<alepha23.TString>;
2633
+ verifyEmail: alepha_server14.ActionPrimitiveFn<{
2634
+ query: alepha1.TObject<{
2635
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2636
2636
  }>;
2637
- body: alepha23.TObject<{
2638
- email: alepha23.TString;
2639
- token: alepha23.TString;
2637
+ body: alepha1.TObject<{
2638
+ email: alepha1.TString;
2639
+ token: alepha1.TString;
2640
2640
  }>;
2641
- response: alepha23.TObject<{
2642
- success: alepha23.TBoolean;
2643
- message: alepha23.TString;
2641
+ response: alepha1.TObject<{
2642
+ success: alepha1.TBoolean;
2643
+ message: alepha1.TString;
2644
2644
  }>;
2645
2645
  }>;
2646
2646
  /**
2647
2647
  * Check if an email is verified.
2648
2648
  */
2649
- checkEmailVerification: alepha_server0.ActionPrimitiveFn<{
2650
- query: alepha23.TObject<{
2651
- email: alepha23.TString;
2652
- userRealmName: alepha23.TOptional<alepha23.TString>;
2649
+ checkEmailVerification: alepha_server14.ActionPrimitiveFn<{
2650
+ query: alepha1.TObject<{
2651
+ email: alepha1.TString;
2652
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2653
2653
  }>;
2654
- response: alepha23.TObject<{
2655
- verified: alepha23.TBoolean;
2654
+ response: alepha1.TObject<{
2655
+ verified: alepha1.TBoolean;
2656
2656
  }>;
2657
2657
  }>;
2658
2658
  }
@@ -2670,166 +2670,166 @@ declare class UserRealmController {
2670
2670
  * Get realm configuration settings.
2671
2671
  * This endpoint is not exposed in the API documentation.
2672
2672
  */
2673
- readonly getRealmConfig: alepha_server0.ActionPrimitiveFn<{
2674
- query: alepha23.TObject<{
2675
- userRealmName: alepha23.TOptional<alepha23.TString>;
2673
+ readonly getRealmConfig: alepha_server14.ActionPrimitiveFn<{
2674
+ query: alepha1.TObject<{
2675
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2676
2676
  }>;
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;
2677
+ response: alepha1.TObject<{
2678
+ settings: alepha1.TObject<{
2679
+ displayName: alepha1.TOptional<alepha1.TString>;
2680
+ description: alepha1.TOptional<alepha1.TString>;
2681
+ logoUrl: alepha1.TOptional<alepha1.TString>;
2682
+ registrationAllowed: alepha1.TBoolean;
2683
+ emailEnabled: alepha1.TBoolean;
2684
+ emailRequired: alepha1.TBoolean;
2685
+ usernameEnabled: alepha1.TBoolean;
2686
+ usernameRequired: alepha1.TBoolean;
2687
+ phoneEnabled: alepha1.TBoolean;
2688
+ phoneRequired: alepha1.TBoolean;
2689
+ verifyEmailRequired: alepha1.TBoolean;
2690
+ verifyPhoneRequired: alepha1.TBoolean;
2691
+ firstNameLastNameEnabled: alepha1.TBoolean;
2692
+ firstNameLastNameRequired: alepha1.TBoolean;
2693
+ resetPasswordAllowed: alepha1.TBoolean;
2694
+ passwordPolicy: alepha1.TObject<{
2695
+ minLength: alepha1.TInteger;
2696
+ requireUppercase: alepha1.TBoolean;
2697
+ requireLowercase: alepha1.TBoolean;
2698
+ requireNumbers: alepha1.TBoolean;
2699
+ requireSpecialCharacters: alepha1.TBoolean;
2700
2700
  }>;
2701
2701
  }>;
2702
- realmName: alepha23.TString;
2703
- authenticationMethods: alepha23.TArray<alepha23.TObject<{
2704
- name: alepha23.TString;
2705
- type: alepha23.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
2702
+ realmName: alepha1.TString;
2703
+ authenticationMethods: alepha1.TArray<alepha1.TObject<{
2704
+ name: alepha1.TString;
2705
+ type: alepha1.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
2706
2706
  }>>;
2707
2707
  }>;
2708
2708
  }>;
2709
- readonly checkUsernameAvailability: alepha_server0.ActionPrimitiveFn<{
2710
- query: alepha23.TObject<{
2711
- userRealmName: alepha23.TOptional<alepha23.TString>;
2709
+ readonly checkUsernameAvailability: alepha_server14.ActionPrimitiveFn<{
2710
+ query: alepha1.TObject<{
2711
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2712
2712
  }>;
2713
- body: alepha23.TObject<{
2714
- username: alepha23.TString;
2713
+ body: alepha1.TObject<{
2714
+ username: alepha1.TString;
2715
2715
  }>;
2716
- response: alepha23.TObject<{
2717
- available: alepha23.TBoolean;
2716
+ response: alepha1.TObject<{
2717
+ available: alepha1.TBoolean;
2718
2718
  }>;
2719
2719
  }>;
2720
2720
  }
2721
2721
  //#endregion
2722
2722
  //#region ../../src/api/users/schemas/identityResourceSchema.d.ts
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>>;
2723
+ declare const identityResourceSchema: alepha1.TObject<{
2724
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2725
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2726
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2727
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2728
+ userId: PgAttr<alepha1.TString, typeof PG_REF>;
2729
+ provider: alepha1.TString;
2730
+ providerUserId: alepha1.TOptional<alepha1.TString>;
2731
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
2732
2732
  }>;
2733
2733
  type IdentityResource = Static<typeof identityResourceSchema>;
2734
2734
  //#endregion
2735
2735
  //#region ../../src/api/users/schemas/loginSchema.d.ts
2736
- declare const loginSchema: alepha23.TObject<{
2737
- username: alepha23.TString;
2738
- password: alepha23.TString;
2736
+ declare const loginSchema: alepha1.TObject<{
2737
+ username: alepha1.TString;
2738
+ password: alepha1.TString;
2739
2739
  }>;
2740
2740
  type LoginInput = Static<typeof loginSchema>;
2741
2741
  //#endregion
2742
2742
  //#region ../../src/api/users/schemas/registerSchema.d.ts
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>;
2743
+ declare const registerSchema: alepha1.TObject<{
2744
+ username: alepha1.TString;
2745
+ email: alepha1.TString;
2746
+ password: alepha1.TString;
2747
+ confirmPassword: alepha1.TString;
2748
+ firstName: alepha1.TOptional<alepha1.TString>;
2749
+ lastName: alepha1.TOptional<alepha1.TString>;
2750
2750
  }>;
2751
2751
  type RegisterInput = Static<typeof registerSchema>;
2752
2752
  //#endregion
2753
2753
  //#region ../../src/api/users/schemas/resetPasswordSchema.d.ts
2754
- declare const resetPasswordRequestSchema: alepha23.TObject<{
2755
- email: alepha23.TString;
2754
+ declare const resetPasswordRequestSchema: alepha1.TObject<{
2755
+ email: alepha1.TString;
2756
2756
  }>;
2757
- declare const resetPasswordSchema: alepha23.TObject<{
2758
- token: alepha23.TString;
2759
- password: alepha23.TString;
2760
- confirmPassword: alepha23.TString;
2757
+ declare const resetPasswordSchema: alepha1.TObject<{
2758
+ token: alepha1.TString;
2759
+ password: alepha1.TString;
2760
+ confirmPassword: alepha1.TString;
2761
2761
  }>;
2762
2762
  type ResetPasswordRequest = Static<typeof resetPasswordRequestSchema>;
2763
2763
  type ResetPasswordInput = Static<typeof resetPasswordSchema>;
2764
2764
  //#endregion
2765
2765
  //#region ../../src/api/users/schemas/sessionResourceSchema.d.ts
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">;
2766
+ declare const sessionResourceSchema: alepha1.TObject<{
2767
+ id: alepha1.TString;
2768
+ version: alepha1.TNumber;
2769
+ createdAt: alepha1.TString;
2770
+ updatedAt: alepha1.TString;
2771
+ refreshToken: alepha1.TString;
2772
+ userId: alepha1.TString;
2773
+ expiresAt: alepha1.TString;
2774
+ ip: alepha1.TOptional<alepha1.TString>;
2775
+ userAgent: alepha1.TOptional<alepha1.TObject<{
2776
+ os: alepha1.TString;
2777
+ browser: alepha1.TString;
2778
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2779
2779
  }>>;
2780
2780
  }>;
2781
2781
  type SessionResource = Static<typeof sessionResourceSchema>;
2782
2782
  //#endregion
2783
2783
  //#region ../../src/api/users/schemas/userRealmConfigSchema.d.ts
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;
2784
+ declare const userRealmConfigSchema: alepha1.TObject<{
2785
+ settings: alepha1.TObject<{
2786
+ displayName: alepha1.TOptional<alepha1.TString>;
2787
+ description: alepha1.TOptional<alepha1.TString>;
2788
+ logoUrl: alepha1.TOptional<alepha1.TString>;
2789
+ registrationAllowed: alepha1.TBoolean;
2790
+ emailEnabled: alepha1.TBoolean;
2791
+ emailRequired: alepha1.TBoolean;
2792
+ usernameEnabled: alepha1.TBoolean;
2793
+ usernameRequired: alepha1.TBoolean;
2794
+ phoneEnabled: alepha1.TBoolean;
2795
+ phoneRequired: alepha1.TBoolean;
2796
+ verifyEmailRequired: alepha1.TBoolean;
2797
+ verifyPhoneRequired: alepha1.TBoolean;
2798
+ firstNameLastNameEnabled: alepha1.TBoolean;
2799
+ firstNameLastNameRequired: alepha1.TBoolean;
2800
+ resetPasswordAllowed: alepha1.TBoolean;
2801
+ passwordPolicy: alepha1.TObject<{
2802
+ minLength: alepha1.TInteger;
2803
+ requireUppercase: alepha1.TBoolean;
2804
+ requireLowercase: alepha1.TBoolean;
2805
+ requireNumbers: alepha1.TBoolean;
2806
+ requireSpecialCharacters: alepha1.TBoolean;
2807
2807
  }>;
2808
2808
  }>;
2809
- realmName: alepha23.TString;
2810
- authenticationMethods: alepha23.TArray<alepha23.TObject<{
2811
- name: alepha23.TString;
2812
- type: alepha23.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
2809
+ realmName: alepha1.TString;
2810
+ authenticationMethods: alepha1.TArray<alepha1.TObject<{
2811
+ name: alepha1.TString;
2812
+ type: alepha1.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
2813
2813
  }>>;
2814
2814
  }>;
2815
2815
  type UserRealmConfig = Static<typeof userRealmConfigSchema>;
2816
2816
  //#endregion
2817
2817
  //#region ../../src/api/users/schemas/userResourceSchema.d.ts
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>;
2818
+ declare const userResourceSchema: alepha1.TObject<{
2819
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2820
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2821
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2822
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2823
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2824
+ username: alepha1.TOptional<alepha1.TString>;
2825
+ email: alepha1.TOptional<alepha1.TString>;
2826
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2827
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2828
+ firstName: alepha1.TOptional<alepha1.TString>;
2829
+ lastName: alepha1.TOptional<alepha1.TString>;
2830
+ picture: alepha1.TOptional<alepha1.TString>;
2831
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2832
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2833
2833
  }>;
2834
2834
  type UserResource = Static<typeof userResourceSchema>;
2835
2835
  //#endregion
@@ -2839,50 +2839,50 @@ declare class SessionService {
2839
2839
  protected readonly fsp: FileSystemProvider;
2840
2840
  protected readonly dateTimeProvider: DateTimeProvider;
2841
2841
  protected readonly cryptoProvider: CryptoProvider;
2842
- protected readonly log: alepha_logger1.Logger;
2842
+ protected readonly log: alepha_logger0.Logger;
2843
2843
  protected readonly userRealmProvider: UserRealmProvider;
2844
2844
  protected readonly fileController: alepha_server_links0.HttpVirtualClient<FileController>;
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>;
2845
+ users(userRealmName?: string): Repository$1<alepha1.TObject<{
2846
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2847
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2848
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2849
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2850
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2851
+ username: alepha1.TOptional<alepha1.TString>;
2852
+ email: alepha1.TOptional<alepha1.TString>;
2853
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2854
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2855
+ firstName: alepha1.TOptional<alepha1.TString>;
2856
+ lastName: alepha1.TOptional<alepha1.TString>;
2857
+ picture: alepha1.TOptional<alepha1.TString>;
2858
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2859
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2860
2860
  }>>;
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">;
2861
+ sessions(userRealmName?: string): Repository$1<alepha1.TObject<{
2862
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2863
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2864
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2865
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2866
+ refreshToken: alepha1.TString;
2867
+ userId: PgAttr<alepha1.TString, typeof PG_REF>;
2868
+ expiresAt: alepha1.TString;
2869
+ ip: alepha1.TOptional<alepha1.TString>;
2870
+ userAgent: alepha1.TOptional<alepha1.TObject<{
2871
+ os: alepha1.TString;
2872
+ browser: alepha1.TString;
2873
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2874
2874
  }>>;
2875
2875
  }>>;
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>>;
2876
+ identities(userRealmName?: string): Repository$1<alepha1.TObject<{
2877
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2878
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2879
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2880
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2881
+ userId: PgAttr<alepha1.TString, typeof PG_REF>;
2882
+ password: alepha1.TOptional<alepha1.TString>;
2883
+ provider: alepha1.TString;
2884
+ providerUserId: alepha1.TOptional<alepha1.TString>;
2885
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
2886
2886
  }>>;
2887
2887
  /**
2888
2888
  * Random delay to prevent timing attacks (50-200ms)
@@ -2898,56 +2898,56 @@ declare class SessionService {
2898
2898
  sessionId: string;
2899
2899
  }>;
2900
2900
  refreshSession(refreshToken: string, userRealmName?: string): Promise<{
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>;
2901
+ user: PgStatic<alepha1.TObject<{
2902
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2903
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2904
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2905
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2906
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2907
+ username: alepha1.TOptional<alepha1.TString>;
2908
+ email: alepha1.TOptional<alepha1.TString>;
2909
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2910
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2911
+ firstName: alepha1.TOptional<alepha1.TString>;
2912
+ lastName: alepha1.TOptional<alepha1.TString>;
2913
+ picture: alepha1.TOptional<alepha1.TString>;
2914
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2915
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2916
+ }>, PgRelationMap<alepha1.TObject<{
2917
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2918
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2919
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2920
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2921
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2922
+ username: alepha1.TOptional<alepha1.TString>;
2923
+ email: alepha1.TOptional<alepha1.TString>;
2924
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2925
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2926
+ firstName: alepha1.TOptional<alepha1.TString>;
2927
+ lastName: alepha1.TOptional<alepha1.TString>;
2928
+ picture: alepha1.TOptional<alepha1.TString>;
2929
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2930
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2931
2931
  }>>>;
2932
2932
  expiresIn: number;
2933
2933
  sessionId: string;
2934
2934
  }>;
2935
2935
  deleteSession(refreshToken: string, userRealmName?: string): Promise<void>;
2936
2936
  link(provider: string, profile: OAuth2Profile, userRealmName?: string): Promise<{
2937
- email?: string | undefined;
2938
2937
  username?: string | undefined;
2938
+ email?: string | undefined;
2939
2939
  phoneNumber?: string | undefined;
2940
2940
  firstName?: string | undefined;
2941
2941
  lastName?: string | undefined;
2942
2942
  picture?: string | undefined;
2943
+ enabled: boolean;
2944
+ emailVerified: boolean;
2945
+ roles: string[];
2943
2946
  id: string;
2944
2947
  version: number;
2945
2948
  createdAt: string;
2946
2949
  updatedAt: string;
2947
2950
  realm: string;
2948
- roles: string[];
2949
- enabled: boolean;
2950
- emailVerified: boolean;
2951
2951
  } | {
2952
2952
  sub: string;
2953
2953
  email?: string;
@@ -2989,7 +2989,7 @@ declare class SessionService {
2989
2989
  *
2990
2990
  * @module alepha.api.users
2991
2991
  */
2992
- declare const AlephaApiUsers: alepha23.Service<alepha23.Module>;
2992
+ declare const AlephaApiUsers: alepha1.Service<alepha1.Module>;
2993
2993
  //#endregion
2994
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 };
2995
2995
  //# sourceMappingURL=index.d.ts.map