alepha 0.14.3 → 0.14.4

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 (114) hide show
  1. package/README.md +1 -1
  2. package/dist/api/audits/index.d.ts +338 -417
  3. package/dist/api/audits/index.d.ts.map +1 -1
  4. package/dist/api/files/index.d.ts +1 -80
  5. package/dist/api/files/index.d.ts.map +1 -1
  6. package/dist/api/jobs/index.d.ts +156 -235
  7. package/dist/api/jobs/index.d.ts.map +1 -1
  8. package/dist/api/notifications/index.d.ts +170 -249
  9. package/dist/api/notifications/index.d.ts.map +1 -1
  10. package/dist/api/parameters/index.d.ts +266 -345
  11. package/dist/api/parameters/index.d.ts.map +1 -1
  12. package/dist/api/users/index.d.ts +755 -834
  13. package/dist/api/users/index.d.ts.map +1 -1
  14. package/dist/api/verifications/index.d.ts +125 -125
  15. package/dist/api/verifications/index.d.ts.map +1 -1
  16. package/dist/cli/index.d.ts +116 -20
  17. package/dist/cli/index.d.ts.map +1 -1
  18. package/dist/cli/index.js +212 -124
  19. package/dist/cli/index.js.map +1 -1
  20. package/dist/command/index.d.ts +6 -11
  21. package/dist/command/index.d.ts.map +1 -1
  22. package/dist/command/index.js +2 -2
  23. package/dist/command/index.js.map +1 -1
  24. package/dist/core/index.browser.js +26 -4
  25. package/dist/core/index.browser.js.map +1 -1
  26. package/dist/core/index.d.ts +16 -1
  27. package/dist/core/index.d.ts.map +1 -1
  28. package/dist/core/index.js +26 -4
  29. package/dist/core/index.js.map +1 -1
  30. package/dist/core/index.native.js +26 -4
  31. package/dist/core/index.native.js.map +1 -1
  32. package/dist/logger/index.d.ts +1 -1
  33. package/dist/logger/index.d.ts.map +1 -1
  34. package/dist/logger/index.js +12 -2
  35. package/dist/logger/index.js.map +1 -1
  36. package/dist/mcp/index.d.ts.map +1 -1
  37. package/dist/mcp/index.js +1 -1
  38. package/dist/mcp/index.js.map +1 -1
  39. package/dist/orm/index.d.ts +37 -173
  40. package/dist/orm/index.d.ts.map +1 -1
  41. package/dist/orm/index.js +193 -422
  42. package/dist/orm/index.js.map +1 -1
  43. package/dist/server/auth/index.d.ts +167 -167
  44. package/dist/server/cache/index.d.ts +12 -0
  45. package/dist/server/cache/index.d.ts.map +1 -1
  46. package/dist/server/cache/index.js +55 -2
  47. package/dist/server/cache/index.js.map +1 -1
  48. package/dist/server/compress/index.d.ts +6 -0
  49. package/dist/server/compress/index.d.ts.map +1 -1
  50. package/dist/server/compress/index.js +36 -1
  51. package/dist/server/compress/index.js.map +1 -1
  52. package/dist/server/core/index.browser.js +2 -2
  53. package/dist/server/core/index.browser.js.map +1 -1
  54. package/dist/server/core/index.d.ts +10 -10
  55. package/dist/server/core/index.d.ts.map +1 -1
  56. package/dist/server/core/index.js +6 -3
  57. package/dist/server/core/index.js.map +1 -1
  58. package/dist/server/links/index.d.ts +39 -39
  59. package/dist/server/links/index.d.ts.map +1 -1
  60. package/dist/server/security/index.d.ts +9 -9
  61. package/dist/server/static/index.d.ts.map +1 -1
  62. package/dist/server/static/index.js +4 -0
  63. package/dist/server/static/index.js.map +1 -1
  64. package/dist/server/swagger/index.d.ts.map +1 -1
  65. package/dist/server/swagger/index.js +2 -3
  66. package/dist/server/swagger/index.js.map +1 -1
  67. package/dist/vite/index.d.ts +101 -106
  68. package/dist/vite/index.d.ts.map +1 -1
  69. package/dist/vite/index.js +571 -508
  70. package/dist/vite/index.js.map +1 -1
  71. package/package.json +1 -1
  72. package/src/cli/apps/AlephaCli.ts +0 -2
  73. package/src/cli/atoms/buildOptions.ts +88 -0
  74. package/src/cli/commands/build.ts +32 -69
  75. package/src/cli/commands/db.ts +0 -4
  76. package/src/cli/commands/dev.ts +16 -4
  77. package/src/cli/commands/gen/env.ts +53 -0
  78. package/src/cli/commands/gen/openapi.ts +1 -1
  79. package/src/cli/commands/gen/resource.ts +15 -0
  80. package/src/cli/commands/gen.ts +7 -1
  81. package/src/cli/commands/init.ts +0 -1
  82. package/src/cli/commands/test.ts +0 -1
  83. package/src/cli/commands/verify.ts +1 -1
  84. package/src/cli/defineConfig.ts +49 -7
  85. package/src/cli/index.ts +0 -1
  86. package/src/cli/services/AlephaCliUtils.ts +36 -25
  87. package/src/command/helpers/Runner.spec.ts +2 -2
  88. package/src/command/helpers/Runner.ts +1 -1
  89. package/src/command/primitives/$command.ts +0 -6
  90. package/src/command/providers/CliProvider.ts +1 -3
  91. package/src/core/Alepha.ts +42 -0
  92. package/src/logger/index.ts +15 -3
  93. package/src/mcp/transports/StdioMcpTransport.ts +1 -1
  94. package/src/orm/index.ts +2 -8
  95. package/src/queue/core/providers/WorkerProvider.spec.ts +48 -32
  96. package/src/server/cache/providers/ServerCacheProvider.spec.ts +183 -0
  97. package/src/server/cache/providers/ServerCacheProvider.ts +94 -9
  98. package/src/server/compress/providers/ServerCompressProvider.ts +61 -2
  99. package/src/server/core/helpers/ServerReply.ts +2 -2
  100. package/src/server/core/providers/ServerProvider.ts +11 -1
  101. package/src/server/static/providers/ServerStaticProvider.ts +10 -0
  102. package/src/server/swagger/providers/ServerSwaggerProvider.ts +5 -8
  103. package/src/vite/helpers/importViteReact.ts +13 -0
  104. package/src/vite/index.ts +1 -21
  105. package/src/vite/plugins/viteAlephaDev.ts +16 -1
  106. package/src/vite/plugins/viteAlephaSsrPreload.ts +222 -0
  107. package/src/vite/tasks/buildClient.ts +11 -0
  108. package/src/vite/tasks/buildServer.ts +47 -3
  109. package/src/vite/tasks/devServer.ts +69 -0
  110. package/src/vite/tasks/index.ts +2 -1
  111. package/src/cli/assets/viteConfigTs.ts +0 -14
  112. package/src/cli/commands/run.ts +0 -24
  113. package/src/vite/plugins/viteAlepha.ts +0 -37
  114. package/src/vite/plugins/viteAlephaBuild.ts +0 -281
@@ -1,24 +1,20 @@
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
5
  import * as alepha_server0 from "alepha/server";
6
- import * as alepha_orm24 from "alepha/orm";
6
+ import * as alepha_orm0 from "alepha/orm";
7
7
  import { Page as Page$1, Repository } from "alepha/orm";
8
8
  import { AuditService } from "alepha/api/audits";
9
9
  import * as alepha_logger5 from "alepha/logger";
10
10
  import * as alepha_bucket0 from "alepha/bucket";
11
- import * as alepha_server_links0 from "alepha/server/links";
11
+ import * as alepha_server_links2 from "alepha/server/links";
12
12
  import * as alepha_cache0 from "alepha/cache";
13
13
  import { DateTime, DateTimeProvider } from "alepha/datetime";
14
14
  import { CryptoProvider, RealmPrimitive, RealmPrimitiveOptions, UserAccount } from "alepha/security";
15
15
  import { OAuth2Profile, ServerAuthProvider, WithLinkFn, WithLoginFn } from "alepha/server/auth";
16
16
  import { FileSystemProvider } from "alepha/file";
17
17
  import { FileController } from "alepha/api/files";
18
- import "bun";
19
- import "bun:sqlite";
20
- import "drizzle-orm/bun-sql";
21
- import "drizzle-orm/bun-sqlite";
22
18
  import "drizzle-orm/d1";
23
19
  import * as drizzle_orm0 from "drizzle-orm";
24
20
  import { BuildExtraConfigColumns, SQL, SQLWrapper } from "drizzle-orm";
@@ -27,34 +23,34 @@ import { LockConfig, LockStrength, PgColumn, PgColumnBuilderBase, PgDatabase, Pg
27
23
  import { PgTransactionConfig } from "drizzle-orm/pg-core/session";
28
24
  import * as DrizzleKit from "drizzle-kit/api";
29
25
  import "alepha/retry";
30
- import "alepha/lock";
31
26
  import "drizzle-orm/sqlite-core";
27
+ import "alepha/lock";
32
28
  import "drizzle-orm/postgres-js";
33
29
  import "postgres";
34
30
 
35
31
  //#region ../../src/api/users/atoms/realmAuthSettingsAtom.d.ts
36
- declare const realmAuthSettingsAtom: alepha23.Atom<alepha23.TObject<{
37
- displayName: alepha23.TOptional<alepha23.TString>;
38
- description: alepha23.TOptional<alepha23.TString>;
39
- logoUrl: alepha23.TOptional<alepha23.TString>;
40
- registrationAllowed: alepha23.TBoolean;
41
- emailEnabled: alepha23.TBoolean;
42
- emailRequired: alepha23.TBoolean;
43
- usernameEnabled: alepha23.TBoolean;
44
- usernameRequired: alepha23.TBoolean;
45
- phoneEnabled: alepha23.TBoolean;
46
- phoneRequired: alepha23.TBoolean;
47
- verifyEmailRequired: alepha23.TBoolean;
48
- verifyPhoneRequired: alepha23.TBoolean;
49
- firstNameLastNameEnabled: alepha23.TBoolean;
50
- firstNameLastNameRequired: alepha23.TBoolean;
51
- resetPasswordAllowed: alepha23.TBoolean;
52
- passwordPolicy: alepha23.TObject<{
53
- minLength: alepha23.TInteger;
54
- requireUppercase: alepha23.TBoolean;
55
- requireLowercase: alepha23.TBoolean;
56
- requireNumbers: alepha23.TBoolean;
57
- requireSpecialCharacters: alepha23.TBoolean;
32
+ declare const realmAuthSettingsAtom: alepha1.Atom<alepha1.TObject<{
33
+ displayName: alepha1.TOptional<alepha1.TString>;
34
+ description: alepha1.TOptional<alepha1.TString>;
35
+ logoUrl: alepha1.TOptional<alepha1.TString>;
36
+ registrationAllowed: alepha1.TBoolean;
37
+ emailEnabled: alepha1.TBoolean;
38
+ emailRequired: alepha1.TBoolean;
39
+ usernameEnabled: alepha1.TBoolean;
40
+ usernameRequired: alepha1.TBoolean;
41
+ phoneEnabled: alepha1.TBoolean;
42
+ phoneRequired: alepha1.TBoolean;
43
+ verifyEmailRequired: alepha1.TBoolean;
44
+ verifyPhoneRequired: alepha1.TBoolean;
45
+ firstNameLastNameEnabled: alepha1.TBoolean;
46
+ firstNameLastNameRequired: alepha1.TBoolean;
47
+ resetPasswordAllowed: alepha1.TBoolean;
48
+ passwordPolicy: alepha1.TObject<{
49
+ minLength: alepha1.TInteger;
50
+ requireUppercase: alepha1.TBoolean;
51
+ requireLowercase: alepha1.TBoolean;
52
+ requireNumbers: alepha1.TBoolean;
53
+ requireSpecialCharacters: alepha1.TBoolean;
58
54
  }>;
59
55
  }>, "alepha.api.users.realmAuthSettings">;
60
56
  type RealmAuthSettings = Static<typeof realmAuthSettingsAtom.schema>;
@@ -946,11 +942,11 @@ declare class DrizzleKitProvider {
946
942
  */
947
943
  importDrizzleKit(): typeof DrizzleKit;
948
944
  }
949
- declare const devMigrationsSchema: alepha23.TObject<{
950
- id: alepha23.TNumber;
951
- name: alepha23.TString;
952
- snapshot: alepha23.TString;
953
- created_at: alepha23.TString;
945
+ declare const devMigrationsSchema: alepha1.TObject<{
946
+ id: alepha1.TNumber;
947
+ name: alepha1.TString;
948
+ snapshot: alepha1.TString;
949
+ created_at: alepha1.TString;
954
950
  }>;
955
951
  type DevMigrations = Static<typeof devMigrationsSchema>;
956
952
  //#endregion
@@ -1075,7 +1071,7 @@ declare class QueryManager {
1075
1071
  createPagination<T>(entities: T[], limit?: number, offset?: number, sort?: Array<{
1076
1072
  column: string;
1077
1073
  direction: "asc" | "desc";
1078
- }>): alepha23.Page<T>;
1074
+ }>): alepha1.Page<T>;
1079
1075
  }
1080
1076
  interface PgJoin {
1081
1077
  table: string;
@@ -1383,86 +1379,11 @@ interface StatementOptions {
1383
1379
  now?: DateTime | string;
1384
1380
  }
1385
1381
  //#endregion
1386
- //#region ../../src/orm/providers/drivers/BunPostgresProvider.d.ts
1387
- declare module "alepha" {
1388
- interface Env extends Partial<Static<typeof envSchema$1>> {}
1389
- }
1390
- declare const envSchema$1: alepha23.TObject<{
1391
- /**
1392
- * Main configuration for database connection.
1393
- * Accept a string in the format of a Postgres connection URL.
1394
- * Example: postgres://user:password@localhost:5432/database
1395
- * or
1396
- * Example: postgres://user:password@localhost:5432/database?sslmode=require
1397
- */
1398
- DATABASE_URL: alepha23.TOptional<alepha23.TString>;
1399
- /**
1400
- * In addition to the DATABASE_URL, you can specify the postgres schema name.
1401
- */
1402
- POSTGRES_SCHEMA: alepha23.TOptional<alepha23.TString>;
1403
- }>;
1404
- /**
1405
- * Bun PostgreSQL provider using Drizzle ORM with Bun's native SQL client.
1406
- *
1407
- * This provider uses Bun's built-in SQL class for PostgreSQL connections,
1408
- * which provides excellent performance on the Bun runtime.
1409
- *
1410
- * @example
1411
- * ```ts
1412
- * // Set DATABASE_URL environment variable
1413
- * // DATABASE_URL=postgres://user:password@localhost:5432/database
1414
- *
1415
- * // Or configure programmatically
1416
- * alepha.with({
1417
- * provide: DatabaseProvider,
1418
- * use: BunPostgresProvider,
1419
- * });
1420
- * ```
1421
- */
1422
- //#endregion
1423
- //#region ../../src/orm/providers/drivers/BunSqliteProvider.d.ts
1424
- /**
1425
- * Configuration options for the Bun SQLite database provider.
1426
- */
1427
- declare const bunSqliteOptions: alepha23.Atom<alepha23.TObject<{
1428
- path: alepha23.TOptional<alepha23.TString>;
1429
- }>, "alepha.postgres.bun-sqlite.options">;
1430
- type BunSqliteProviderOptions = Static<typeof bunSqliteOptions.schema>;
1431
- declare module "alepha" {
1432
- interface State {
1433
- [bunSqliteOptions.key]: BunSqliteProviderOptions;
1434
- }
1435
- }
1436
- /**
1437
- * Bun SQLite provider using Drizzle ORM with Bun's native SQLite client.
1438
- *
1439
- * This provider uses Bun's built-in `bun:sqlite` for SQLite connections,
1440
- * which provides excellent performance on the Bun runtime.
1441
- *
1442
- * @example
1443
- * ```ts
1444
- * // Set DATABASE_URL environment variable
1445
- * // DATABASE_URL=sqlite://./my-database.db
1446
- *
1447
- * // Or configure programmatically
1448
- * alepha.with({
1449
- * provide: DatabaseProvider,
1450
- * use: BunSqliteProvider,
1451
- * });
1452
- *
1453
- * // Or use options atom
1454
- * alepha.store.mut(bunSqliteOptions, (old) => ({
1455
- * ...old,
1456
- * path: ":memory:",
1457
- * }));
1458
- * ```
1459
- */
1460
- //#endregion
1461
1382
  //#region ../../src/orm/providers/drivers/NodePostgresProvider.d.ts
1462
1383
  declare module "alepha" {
1463
1384
  interface Env extends Partial<Static<typeof envSchema>> {}
1464
1385
  }
1465
- declare const envSchema: alepha23.TObject<{
1386
+ declare const envSchema: alepha1.TObject<{
1466
1387
  /**
1467
1388
  * Main configuration for database connection.
1468
1389
  * Accept a string in the format of a Postgres connection URL.
@@ -1470,21 +1391,21 @@ declare const envSchema: alepha23.TObject<{
1470
1391
  * or
1471
1392
  * Example: postgres://user:password@localhost:5432/database?sslmode=require
1472
1393
  */
1473
- DATABASE_URL: alepha23.TOptional<alepha23.TString>;
1394
+ DATABASE_URL: alepha1.TOptional<alepha1.TString>;
1474
1395
  /**
1475
1396
  * In addition to the DATABASE_URL, you can specify the postgres schema name.
1476
1397
  *
1477
1398
  * It will monkey patch drizzle tables.
1478
1399
  */
1479
- POSTGRES_SCHEMA: alepha23.TOptional<alepha23.TString>;
1400
+ POSTGRES_SCHEMA: alepha1.TOptional<alepha1.TString>;
1480
1401
  }>;
1481
1402
  //#endregion
1482
1403
  //#region ../../src/orm/providers/drivers/NodeSqliteProvider.d.ts
1483
1404
  /**
1484
1405
  * Configuration options for the Node.js SQLite database provider.
1485
1406
  */
1486
- declare const nodeSqliteOptions: alepha23.Atom<alepha23.TObject<{
1487
- path: alepha23.TOptional<alepha23.TString>;
1407
+ declare const nodeSqliteOptions: alepha1.Atom<alepha1.TObject<{
1408
+ path: alepha1.TOptional<alepha1.TString>;
1488
1409
  }>, "alepha.postgres.node-sqlite.options">;
1489
1410
  type NodeSqliteProviderOptions = Static<typeof nodeSqliteOptions.schema>;
1490
1411
  declare module "alepha" {
@@ -1568,54 +1489,54 @@ declare module "alepha" {
1568
1489
  }
1569
1490
  //#endregion
1570
1491
  //#region ../../src/api/users/entities/identities.d.ts
1571
- declare const identities: alepha_orm24.EntityPrimitive<alepha23.TObject<{
1572
- id: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_PRIMARY_KEY>, typeof alepha_orm24.PG_DEFAULT>;
1573
- version: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TInteger, typeof alepha_orm24.PG_VERSION>, typeof alepha_orm24.PG_DEFAULT>;
1574
- createdAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_CREATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
1575
- updatedAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_UPDATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
1576
- userId: alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_REF>;
1577
- password: alepha23.TOptional<alepha23.TString>;
1578
- provider: alepha23.TString;
1579
- providerUserId: alepha23.TOptional<alepha23.TString>;
1580
- providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
1492
+ declare const identities: alepha_orm0.EntityPrimitive<alepha1.TObject<{
1493
+ id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
1494
+ version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
1495
+ createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1496
+ updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1497
+ userId: alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_REF>;
1498
+ password: alepha1.TOptional<alepha1.TString>;
1499
+ provider: alepha1.TString;
1500
+ providerUserId: alepha1.TOptional<alepha1.TString>;
1501
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
1581
1502
  }>>;
1582
1503
  type IdentityEntity = Static<typeof identities.schema>;
1583
1504
  //#endregion
1584
1505
  //#region ../../src/api/users/entities/sessions.d.ts
1585
- declare const sessions: alepha_orm24.EntityPrimitive<alepha23.TObject<{
1586
- id: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_PRIMARY_KEY>, typeof alepha_orm24.PG_DEFAULT>;
1587
- version: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TInteger, typeof alepha_orm24.PG_VERSION>, typeof alepha_orm24.PG_DEFAULT>;
1588
- createdAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_CREATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
1589
- updatedAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_UPDATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
1590
- refreshToken: alepha23.TString;
1591
- userId: alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_REF>;
1592
- expiresAt: alepha23.TString;
1593
- ip: alepha23.TOptional<alepha23.TString>;
1594
- userAgent: alepha23.TOptional<alepha23.TObject<{
1595
- os: alepha23.TString;
1596
- browser: alepha23.TString;
1597
- device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
1506
+ declare const sessions: alepha_orm0.EntityPrimitive<alepha1.TObject<{
1507
+ id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
1508
+ version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
1509
+ createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1510
+ updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1511
+ refreshToken: alepha1.TString;
1512
+ userId: alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_REF>;
1513
+ expiresAt: alepha1.TString;
1514
+ ip: alepha1.TOptional<alepha1.TString>;
1515
+ userAgent: alepha1.TOptional<alepha1.TObject<{
1516
+ os: alepha1.TString;
1517
+ browser: alepha1.TString;
1518
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
1598
1519
  }>>;
1599
1520
  }>>;
1600
1521
  type SessionEntity = Static<typeof sessions.schema>;
1601
1522
  //#endregion
1602
1523
  //#region ../../src/api/users/entities/users.d.ts
1603
1524
  declare const DEFAULT_USER_REALM_NAME = "default";
1604
- declare const users: alepha_orm24.EntityPrimitive<alepha23.TObject<{
1605
- id: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_PRIMARY_KEY>, typeof alepha_orm24.PG_DEFAULT>;
1606
- version: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TInteger, typeof alepha_orm24.PG_VERSION>, typeof alepha_orm24.PG_DEFAULT>;
1607
- createdAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_CREATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
1608
- updatedAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_UPDATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
1609
- realm: alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_DEFAULT>;
1610
- username: alepha23.TOptional<alepha23.TString>;
1611
- email: alepha23.TOptional<alepha23.TString>;
1612
- phoneNumber: alepha23.TOptional<alepha23.TString>;
1613
- roles: alepha_orm24.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm24.PG_DEFAULT>;
1614
- firstName: alepha23.TOptional<alepha23.TString>;
1615
- lastName: alepha23.TOptional<alepha23.TString>;
1616
- picture: alepha23.TOptional<alepha23.TString>;
1617
- enabled: alepha_orm24.PgAttr<alepha23.TBoolean, typeof alepha_orm24.PG_DEFAULT>;
1618
- emailVerified: alepha_orm24.PgAttr<alepha23.TBoolean, typeof alepha_orm24.PG_DEFAULT>;
1525
+ declare const users: alepha_orm0.EntityPrimitive<alepha1.TObject<{
1526
+ id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
1527
+ version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
1528
+ createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1529
+ updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1530
+ realm: alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_DEFAULT>;
1531
+ username: alepha1.TOptional<alepha1.TString>;
1532
+ email: alepha1.TOptional<alepha1.TString>;
1533
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
1534
+ roles: alepha_orm0.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm0.PG_DEFAULT>;
1535
+ firstName: alepha1.TOptional<alepha1.TString>;
1536
+ lastName: alepha1.TOptional<alepha1.TString>;
1537
+ picture: alepha1.TOptional<alepha1.TString>;
1538
+ enabled: alepha_orm0.PgAttr<alepha1.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
1539
+ emailVerified: alepha_orm0.PgAttr<alepha1.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
1619
1540
  }>>;
1620
1541
  type UserEntity = Static<typeof users.schema>;
1621
1542
  //#endregion
@@ -1682,51 +1603,51 @@ interface UserRealm {
1682
1603
  }
1683
1604
  declare class UserRealmProvider {
1684
1605
  protected readonly alepha: Alepha;
1685
- protected readonly defaultIdentities: Repository<alepha23.TObject<{
1686
- id: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_PRIMARY_KEY>, typeof alepha_orm24.PG_DEFAULT>;
1687
- version: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TInteger, typeof alepha_orm24.PG_VERSION>, typeof alepha_orm24.PG_DEFAULT>;
1688
- createdAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_CREATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
1689
- updatedAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_UPDATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
1690
- userId: alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_REF>;
1691
- password: alepha23.TOptional<alepha23.TString>;
1692
- provider: alepha23.TString;
1693
- providerUserId: alepha23.TOptional<alepha23.TString>;
1694
- providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
1606
+ protected readonly defaultIdentities: Repository<alepha1.TObject<{
1607
+ id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
1608
+ version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
1609
+ createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1610
+ updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1611
+ userId: alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_REF>;
1612
+ password: alepha1.TOptional<alepha1.TString>;
1613
+ provider: alepha1.TString;
1614
+ providerUserId: alepha1.TOptional<alepha1.TString>;
1615
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
1695
1616
  }>>;
1696
- protected readonly defaultSessions: Repository<alepha23.TObject<{
1697
- id: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_PRIMARY_KEY>, typeof alepha_orm24.PG_DEFAULT>;
1698
- version: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TInteger, typeof alepha_orm24.PG_VERSION>, typeof alepha_orm24.PG_DEFAULT>;
1699
- createdAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_CREATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
1700
- updatedAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_UPDATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
1701
- refreshToken: alepha23.TString;
1702
- userId: alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_REF>;
1703
- expiresAt: alepha23.TString;
1704
- ip: alepha23.TOptional<alepha23.TString>;
1705
- userAgent: alepha23.TOptional<alepha23.TObject<{
1706
- os: alepha23.TString;
1707
- browser: alepha23.TString;
1708
- device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
1617
+ protected readonly defaultSessions: Repository<alepha1.TObject<{
1618
+ id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
1619
+ version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
1620
+ createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1621
+ updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1622
+ refreshToken: alepha1.TString;
1623
+ userId: alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_REF>;
1624
+ expiresAt: alepha1.TString;
1625
+ ip: alepha1.TOptional<alepha1.TString>;
1626
+ userAgent: alepha1.TOptional<alepha1.TObject<{
1627
+ os: alepha1.TString;
1628
+ browser: alepha1.TString;
1629
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
1709
1630
  }>>;
1710
1631
  }>>;
1711
- protected readonly defaultUsers: Repository<alepha23.TObject<{
1712
- id: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_PRIMARY_KEY>, typeof alepha_orm24.PG_DEFAULT>;
1713
- version: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TInteger, typeof alepha_orm24.PG_VERSION>, typeof alepha_orm24.PG_DEFAULT>;
1714
- createdAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_CREATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
1715
- updatedAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_UPDATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
1716
- realm: alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_DEFAULT>;
1717
- username: alepha23.TOptional<alepha23.TString>;
1718
- email: alepha23.TOptional<alepha23.TString>;
1719
- phoneNumber: alepha23.TOptional<alepha23.TString>;
1720
- roles: alepha_orm24.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm24.PG_DEFAULT>;
1721
- firstName: alepha23.TOptional<alepha23.TString>;
1722
- lastName: alepha23.TOptional<alepha23.TString>;
1723
- picture: alepha23.TOptional<alepha23.TString>;
1724
- enabled: alepha_orm24.PgAttr<alepha23.TBoolean, typeof alepha_orm24.PG_DEFAULT>;
1725
- emailVerified: alepha_orm24.PgAttr<alepha23.TBoolean, typeof alepha_orm24.PG_DEFAULT>;
1632
+ protected readonly defaultUsers: Repository<alepha1.TObject<{
1633
+ id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
1634
+ version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
1635
+ createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1636
+ updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1637
+ realm: alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_DEFAULT>;
1638
+ username: alepha1.TOptional<alepha1.TString>;
1639
+ email: alepha1.TOptional<alepha1.TString>;
1640
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
1641
+ roles: alepha_orm0.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm0.PG_DEFAULT>;
1642
+ firstName: alepha1.TOptional<alepha1.TString>;
1643
+ lastName: alepha1.TOptional<alepha1.TString>;
1644
+ picture: alepha1.TOptional<alepha1.TString>;
1645
+ enabled: alepha_orm0.PgAttr<alepha1.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
1646
+ emailVerified: alepha_orm0.PgAttr<alepha1.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
1726
1647
  }>>;
1727
1648
  protected realms: Map<string, UserRealm>;
1728
1649
  avatars: alepha_bucket0.BucketPrimitive;
1729
- protected readonly onConfigure: alepha23.HookPrimitive<"configure">;
1650
+ protected readonly onConfigure: alepha1.HookPrimitive<"configure">;
1730
1651
  register(userRealmName: string, userRealmOptions?: UserRealmOptions): UserRealm;
1731
1652
  /**
1732
1653
  * Gets a registered realm by name, auto-creating default if needed.
@@ -1738,12 +1659,12 @@ declare class UserRealmProvider {
1738
1659
  }
1739
1660
  //#endregion
1740
1661
  //#region ../../src/api/users/schemas/identityQuerySchema.d.ts
1741
- declare const identityQuerySchema: alepha23.TObject<{
1742
- page: alepha23.TOptional<alepha23.TInteger>;
1743
- size: alepha23.TOptional<alepha23.TInteger>;
1744
- sort: alepha23.TOptional<alepha23.TString>;
1745
- userId: alepha23.TOptional<alepha23.TString>;
1746
- provider: alepha23.TOptional<alepha23.TString>;
1662
+ declare const identityQuerySchema: alepha1.TObject<{
1663
+ page: alepha1.TOptional<alepha1.TInteger>;
1664
+ size: alepha1.TOptional<alepha1.TInteger>;
1665
+ sort: alepha1.TOptional<alepha1.TString>;
1666
+ userId: alepha1.TOptional<alepha1.TString>;
1667
+ provider: alepha1.TOptional<alepha1.TString>;
1747
1668
  }>;
1748
1669
  type IdentityQuery = Static<typeof identityQuerySchema>;
1749
1670
  //#endregion
@@ -1752,16 +1673,16 @@ declare class IdentityService {
1752
1673
  protected readonly log: alepha_logger5.Logger;
1753
1674
  protected readonly userRealmProvider: UserRealmProvider;
1754
1675
  protected readonly auditService: AuditService;
1755
- identities(userRealmName?: string): alepha_orm24.Repository<alepha23.TObject<{
1756
- id: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_PRIMARY_KEY>, typeof alepha_orm24.PG_DEFAULT>;
1757
- version: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TInteger, typeof alepha_orm24.PG_VERSION>, typeof alepha_orm24.PG_DEFAULT>;
1758
- createdAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_CREATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
1759
- updatedAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_UPDATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
1760
- userId: alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_REF>;
1761
- password: alepha23.TOptional<alepha23.TString>;
1762
- provider: alepha23.TString;
1763
- providerUserId: alepha23.TOptional<alepha23.TString>;
1764
- providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
1676
+ identities(userRealmName?: string): alepha_orm0.Repository<alepha1.TObject<{
1677
+ id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
1678
+ version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
1679
+ createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1680
+ updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1681
+ userId: alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_REF>;
1682
+ password: alepha1.TOptional<alepha1.TString>;
1683
+ provider: alepha1.TString;
1684
+ providerUserId: alepha1.TOptional<alepha1.TString>;
1685
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
1765
1686
  }>>;
1766
1687
  /**
1767
1688
  * Find identities with pagination and filtering.
@@ -1786,70 +1707,70 @@ declare class AdminIdentityController {
1786
1707
  * Find identities with pagination and filtering.
1787
1708
  */
1788
1709
  readonly findIdentities: alepha_server0.ActionPrimitiveFn<{
1789
- query: alepha23.TObject<{
1790
- page: alepha23.TOptional<alepha23.TInteger>;
1791
- size: alepha23.TOptional<alepha23.TInteger>;
1792
- sort: alepha23.TOptional<alepha23.TString>;
1793
- userId: alepha23.TOptional<alepha23.TString>;
1794
- provider: alepha23.TOptional<alepha23.TString>;
1795
- userRealmName: alepha23.TOptional<alepha23.TString>;
1710
+ query: alepha1.TObject<{
1711
+ page: alepha1.TOptional<alepha1.TInteger>;
1712
+ size: alepha1.TOptional<alepha1.TInteger>;
1713
+ sort: alepha1.TOptional<alepha1.TString>;
1714
+ userId: alepha1.TOptional<alepha1.TString>;
1715
+ provider: alepha1.TOptional<alepha1.TString>;
1716
+ userRealmName: alepha1.TOptional<alepha1.TString>;
1796
1717
  }>;
1797
- response: alepha23.TPage<alepha23.TObject<{
1798
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1799
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
1800
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1801
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1802
- userId: PgAttr<alepha23.TString, typeof PG_REF>;
1803
- provider: alepha23.TString;
1804
- providerUserId: alepha23.TOptional<alepha23.TString>;
1805
- providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
1718
+ response: alepha1.TPage<alepha1.TObject<{
1719
+ userId: PgAttr<alepha1.TString, typeof PG_REF>;
1720
+ provider: alepha1.TString;
1721
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1722
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
1723
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1724
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1725
+ providerUserId: alepha1.TOptional<alepha1.TString>;
1726
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
1806
1727
  }>>;
1807
1728
  }>;
1808
1729
  /**
1809
1730
  * Get an identity by ID.
1810
1731
  */
1811
1732
  readonly getIdentity: alepha_server0.ActionPrimitiveFn<{
1812
- params: alepha23.TObject<{
1813
- id: alepha23.TString;
1733
+ params: alepha1.TObject<{
1734
+ id: alepha1.TString;
1814
1735
  }>;
1815
- query: alepha23.TObject<{
1816
- userRealmName: alepha23.TOptional<alepha23.TString>;
1736
+ query: alepha1.TObject<{
1737
+ userRealmName: alepha1.TOptional<alepha1.TString>;
1817
1738
  }>;
1818
- response: alepha23.TObject<{
1819
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1820
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
1821
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1822
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1823
- userId: PgAttr<alepha23.TString, typeof PG_REF>;
1824
- provider: alepha23.TString;
1825
- providerUserId: alepha23.TOptional<alepha23.TString>;
1826
- providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
1739
+ response: alepha1.TObject<{
1740
+ userId: PgAttr<alepha1.TString, typeof PG_REF>;
1741
+ provider: alepha1.TString;
1742
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1743
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
1744
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1745
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1746
+ providerUserId: alepha1.TOptional<alepha1.TString>;
1747
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
1827
1748
  }>;
1828
1749
  }>;
1829
1750
  /**
1830
1751
  * Delete an identity.
1831
1752
  */
1832
1753
  readonly deleteIdentity: alepha_server0.ActionPrimitiveFn<{
1833
- params: alepha23.TObject<{
1834
- id: alepha23.TString;
1754
+ params: alepha1.TObject<{
1755
+ id: alepha1.TString;
1835
1756
  }>;
1836
- query: alepha23.TObject<{
1837
- userRealmName: alepha23.TOptional<alepha23.TString>;
1757
+ query: alepha1.TObject<{
1758
+ userRealmName: alepha1.TOptional<alepha1.TString>;
1838
1759
  }>;
1839
- response: alepha23.TObject<{
1840
- ok: alepha23.TBoolean;
1841
- id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
1842
- count: alepha23.TOptional<alepha23.TNumber>;
1760
+ response: alepha1.TObject<{
1761
+ ok: alepha1.TBoolean;
1762
+ id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
1763
+ count: alepha1.TOptional<alepha1.TNumber>;
1843
1764
  }>;
1844
1765
  }>;
1845
1766
  }
1846
1767
  //#endregion
1847
1768
  //#region ../../src/api/users/schemas/sessionQuerySchema.d.ts
1848
- declare const sessionQuerySchema: alepha23.TObject<{
1849
- page: alepha23.TOptional<alepha23.TInteger>;
1850
- size: alepha23.TOptional<alepha23.TInteger>;
1851
- sort: alepha23.TOptional<alepha23.TString>;
1852
- userId: alepha23.TOptional<alepha23.TString>;
1769
+ declare const sessionQuerySchema: alepha1.TObject<{
1770
+ page: alepha1.TOptional<alepha1.TInteger>;
1771
+ size: alepha1.TOptional<alepha1.TInteger>;
1772
+ sort: alepha1.TOptional<alepha1.TString>;
1773
+ userId: alepha1.TOptional<alepha1.TString>;
1853
1774
  }>;
1854
1775
  type SessionQuery = Static<typeof sessionQuerySchema>;
1855
1776
  //#endregion
@@ -1857,19 +1778,19 @@ type SessionQuery = Static<typeof sessionQuerySchema>;
1857
1778
  declare class SessionCrudService {
1858
1779
  protected readonly log: alepha_logger5.Logger;
1859
1780
  protected readonly userRealmProvider: UserRealmProvider;
1860
- sessions(userRealmName?: string): alepha_orm24.Repository<alepha23.TObject<{
1861
- id: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_PRIMARY_KEY>, typeof alepha_orm24.PG_DEFAULT>;
1862
- version: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TInteger, typeof alepha_orm24.PG_VERSION>, typeof alepha_orm24.PG_DEFAULT>;
1863
- createdAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_CREATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
1864
- updatedAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_UPDATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
1865
- refreshToken: alepha23.TString;
1866
- userId: alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_REF>;
1867
- expiresAt: alepha23.TString;
1868
- ip: alepha23.TOptional<alepha23.TString>;
1869
- userAgent: alepha23.TOptional<alepha23.TObject<{
1870
- os: alepha23.TString;
1871
- browser: alepha23.TString;
1872
- device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
1781
+ sessions(userRealmName?: string): alepha_orm0.Repository<alepha1.TObject<{
1782
+ id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
1783
+ version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
1784
+ createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1785
+ updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1786
+ refreshToken: alepha1.TString;
1787
+ userId: alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_REF>;
1788
+ expiresAt: alepha1.TString;
1789
+ ip: alepha1.TOptional<alepha1.TString>;
1790
+ userAgent: alepha1.TOptional<alepha1.TObject<{
1791
+ os: alepha1.TString;
1792
+ browser: alepha1.TString;
1793
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
1873
1794
  }>>;
1874
1795
  }>>;
1875
1796
  /**
@@ -1895,26 +1816,26 @@ declare class AdminSessionController {
1895
1816
  * Find sessions with pagination and filtering.
1896
1817
  */
1897
1818
  readonly findSessions: alepha_server0.ActionPrimitiveFn<{
1898
- query: alepha23.TObject<{
1899
- page: alepha23.TOptional<alepha23.TInteger>;
1900
- size: alepha23.TOptional<alepha23.TInteger>;
1901
- sort: alepha23.TOptional<alepha23.TString>;
1902
- userId: alepha23.TOptional<alepha23.TString>;
1903
- userRealmName: alepha23.TOptional<alepha23.TString>;
1819
+ query: alepha1.TObject<{
1820
+ page: alepha1.TOptional<alepha1.TInteger>;
1821
+ size: alepha1.TOptional<alepha1.TInteger>;
1822
+ sort: alepha1.TOptional<alepha1.TString>;
1823
+ userId: alepha1.TOptional<alepha1.TString>;
1824
+ userRealmName: alepha1.TOptional<alepha1.TString>;
1904
1825
  }>;
1905
- response: alepha23.TPage<alepha23.TObject<{
1906
- id: alepha23.TString;
1907
- version: alepha23.TNumber;
1908
- createdAt: alepha23.TString;
1909
- updatedAt: alepha23.TString;
1910
- refreshToken: alepha23.TString;
1911
- userId: alepha23.TString;
1912
- expiresAt: alepha23.TString;
1913
- ip: alepha23.TOptional<alepha23.TString>;
1914
- userAgent: alepha23.TOptional<alepha23.TObject<{
1915
- os: alepha23.TString;
1916
- browser: alepha23.TString;
1917
- device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
1826
+ response: alepha1.TPage<alepha1.TObject<{
1827
+ id: alepha1.TString;
1828
+ version: alepha1.TNumber;
1829
+ createdAt: alepha1.TString;
1830
+ updatedAt: alepha1.TString;
1831
+ refreshToken: alepha1.TString;
1832
+ userId: alepha1.TString;
1833
+ expiresAt: alepha1.TString;
1834
+ ip: alepha1.TOptional<alepha1.TString>;
1835
+ userAgent: alepha1.TOptional<alepha1.TObject<{
1836
+ os: alepha1.TString;
1837
+ browser: alepha1.TString;
1838
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
1918
1839
  }>>;
1919
1840
  }>>;
1920
1841
  }>;
@@ -1922,25 +1843,25 @@ declare class AdminSessionController {
1922
1843
  * Get a session by ID.
1923
1844
  */
1924
1845
  readonly getSession: alepha_server0.ActionPrimitiveFn<{
1925
- params: alepha23.TObject<{
1926
- id: alepha23.TString;
1846
+ params: alepha1.TObject<{
1847
+ id: alepha1.TString;
1927
1848
  }>;
1928
- query: alepha23.TObject<{
1929
- userRealmName: alepha23.TOptional<alepha23.TString>;
1849
+ query: alepha1.TObject<{
1850
+ userRealmName: alepha1.TOptional<alepha1.TString>;
1930
1851
  }>;
1931
- response: alepha23.TObject<{
1932
- id: alepha23.TString;
1933
- version: alepha23.TNumber;
1934
- createdAt: alepha23.TString;
1935
- updatedAt: alepha23.TString;
1936
- refreshToken: alepha23.TString;
1937
- userId: alepha23.TString;
1938
- expiresAt: alepha23.TString;
1939
- ip: alepha23.TOptional<alepha23.TString>;
1940
- userAgent: alepha23.TOptional<alepha23.TObject<{
1941
- os: alepha23.TString;
1942
- browser: alepha23.TString;
1943
- device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
1852
+ response: alepha1.TObject<{
1853
+ id: alepha1.TString;
1854
+ version: alepha1.TNumber;
1855
+ createdAt: alepha1.TString;
1856
+ updatedAt: alepha1.TString;
1857
+ refreshToken: alepha1.TString;
1858
+ userId: alepha1.TString;
1859
+ expiresAt: alepha1.TString;
1860
+ ip: alepha1.TOptional<alepha1.TString>;
1861
+ userAgent: alepha1.TOptional<alepha1.TObject<{
1862
+ os: alepha1.TString;
1863
+ browser: alepha1.TString;
1864
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
1944
1865
  }>>;
1945
1866
  }>;
1946
1867
  }>;
@@ -1948,115 +1869,115 @@ declare class AdminSessionController {
1948
1869
  * Delete a session.
1949
1870
  */
1950
1871
  readonly deleteSession: alepha_server0.ActionPrimitiveFn<{
1951
- params: alepha23.TObject<{
1952
- id: alepha23.TString;
1872
+ params: alepha1.TObject<{
1873
+ id: alepha1.TString;
1953
1874
  }>;
1954
- query: alepha23.TObject<{
1955
- userRealmName: alepha23.TOptional<alepha23.TString>;
1875
+ query: alepha1.TObject<{
1876
+ userRealmName: alepha1.TOptional<alepha1.TString>;
1956
1877
  }>;
1957
- response: alepha23.TObject<{
1958
- ok: alepha23.TBoolean;
1959
- id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
1960
- count: alepha23.TOptional<alepha23.TNumber>;
1878
+ response: alepha1.TObject<{
1879
+ ok: alepha1.TBoolean;
1880
+ id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
1881
+ count: alepha1.TOptional<alepha1.TNumber>;
1961
1882
  }>;
1962
1883
  }>;
1963
1884
  }
1964
1885
  //#endregion
1965
1886
  //#region ../../src/api/users/notifications/UserNotifications.d.ts
1966
1887
  declare class UserNotifications {
1967
- readonly passwordReset: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1968
- email: alepha23.TString;
1969
- code: alepha23.TString;
1970
- expiresInMinutes: alepha23.TNumber;
1888
+ readonly passwordReset: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1889
+ email: alepha1.TString;
1890
+ code: alepha1.TString;
1891
+ expiresInMinutes: alepha1.TNumber;
1971
1892
  }>>;
1972
- readonly emailVerification: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1973
- email: alepha23.TString;
1974
- code: alepha23.TString;
1975
- expiresInMinutes: alepha23.TNumber;
1893
+ readonly emailVerification: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1894
+ email: alepha1.TString;
1895
+ code: alepha1.TString;
1896
+ expiresInMinutes: alepha1.TNumber;
1976
1897
  }>>;
1977
- readonly phoneVerification: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1978
- phoneNumber: alepha23.TString;
1979
- code: alepha23.TString;
1980
- expiresInMinutes: alepha23.TNumber;
1898
+ readonly phoneVerification: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1899
+ phoneNumber: alepha1.TString;
1900
+ code: alepha1.TString;
1901
+ expiresInMinutes: alepha1.TNumber;
1981
1902
  }>>;
1982
- readonly passwordResetLink: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1983
- email: alepha23.TString;
1984
- resetUrl: alepha23.TString;
1985
- expiresInMinutes: alepha23.TNumber;
1903
+ readonly passwordResetLink: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1904
+ email: alepha1.TString;
1905
+ resetUrl: alepha1.TString;
1906
+ expiresInMinutes: alepha1.TNumber;
1986
1907
  }>>;
1987
- readonly emailVerificationLink: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1988
- email: alepha23.TString;
1989
- verifyUrl: alepha23.TString;
1990
- expiresInMinutes: alepha23.TNumber;
1908
+ readonly emailVerificationLink: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1909
+ email: alepha1.TString;
1910
+ verifyUrl: alepha1.TString;
1911
+ expiresInMinutes: alepha1.TNumber;
1991
1912
  }>>;
1992
1913
  }
1993
1914
  //#endregion
1994
1915
  //#region ../../src/api/users/schemas/createUserSchema.d.ts
1995
- declare const createUserSchema: alepha23.TObject<{
1996
- id: alepha23.TOptional<PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
1997
- version: alepha23.TOptional<PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
1998
- email: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
1999
- createdAt: alepha23.TOptional<PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
2000
- updatedAt: alepha23.TOptional<PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
2001
- username: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2002
- phoneNumber: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2003
- roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2004
- firstName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2005
- lastName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2006
- picture: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2007
- enabled: alepha23.TOptional<PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>>;
2008
- emailVerified: alepha23.TOptional<PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>>;
1916
+ declare const createUserSchema: alepha1.TObject<{
1917
+ id: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
1918
+ version: alepha1.TOptional<PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
1919
+ email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
1920
+ createdAt: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
1921
+ updatedAt: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
1922
+ username: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
1923
+ phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
1924
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
1925
+ firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
1926
+ lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
1927
+ picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
1928
+ enabled: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
1929
+ emailVerified: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
2009
1930
  }>;
2010
1931
  type CreateUser = Static<typeof createUserSchema>;
2011
1932
  //#endregion
2012
1933
  //#region ../../src/api/users/schemas/updateUserSchema.d.ts
2013
- declare const updateUserSchema: alepha23.TObject<{
2014
- email: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2015
- realm: alepha23.TOptional<PgAttr<alepha23.TString, typeof PG_DEFAULT>>;
2016
- phoneNumber: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2017
- roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2018
- firstName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2019
- lastName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2020
- picture: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2021
- enabled: alepha23.TOptional<PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>>;
1934
+ declare const updateUserSchema: alepha1.TObject<{
1935
+ email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
1936
+ realm: alepha1.TOptional<PgAttr<alepha1.TString, typeof PG_DEFAULT>>;
1937
+ phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
1938
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
1939
+ firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
1940
+ lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
1941
+ picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
1942
+ enabled: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
2022
1943
  }>;
2023
1944
  type UpdateUser = Static<typeof updateUserSchema>;
2024
1945
  //#endregion
2025
1946
  //#region ../../src/api/users/schemas/userQuerySchema.d.ts
2026
- declare const userQuerySchema: alepha23.TObject<{
2027
- page: alepha23.TOptional<alepha23.TInteger>;
2028
- size: alepha23.TOptional<alepha23.TInteger>;
2029
- sort: alepha23.TOptional<alepha23.TString>;
2030
- email: alepha23.TOptional<alepha23.TString>;
2031
- enabled: alepha23.TOptional<alepha23.TBoolean>;
2032
- emailVerified: alepha23.TOptional<alepha23.TBoolean>;
2033
- roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2034
- query: alepha23.TOptional<alepha23.TString>;
1947
+ declare const userQuerySchema: alepha1.TObject<{
1948
+ page: alepha1.TOptional<alepha1.TInteger>;
1949
+ size: alepha1.TOptional<alepha1.TInteger>;
1950
+ sort: alepha1.TOptional<alepha1.TString>;
1951
+ email: alepha1.TOptional<alepha1.TString>;
1952
+ enabled: alepha1.TOptional<alepha1.TBoolean>;
1953
+ emailVerified: alepha1.TOptional<alepha1.TBoolean>;
1954
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
1955
+ query: alepha1.TOptional<alepha1.TString>;
2035
1956
  }>;
2036
1957
  type UserQuery = Static<typeof userQuerySchema>;
2037
1958
  //#endregion
2038
1959
  //#region ../../src/api/users/services/UserService.d.ts
2039
1960
  declare class UserService {
2040
1961
  protected readonly log: alepha_logger5.Logger;
2041
- protected readonly verificationController: alepha_server_links0.HttpVirtualClient<VerificationController>;
1962
+ protected readonly verificationController: alepha_server_links2.HttpVirtualClient<VerificationController>;
2042
1963
  protected readonly userNotifications: UserNotifications;
2043
1964
  protected readonly userRealmProvider: UserRealmProvider;
2044
1965
  protected readonly auditService: AuditService;
2045
- users(userRealmName?: string): alepha_orm24.Repository<alepha23.TObject<{
2046
- id: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_PRIMARY_KEY>, typeof alepha_orm24.PG_DEFAULT>;
2047
- version: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TInteger, typeof alepha_orm24.PG_VERSION>, typeof alepha_orm24.PG_DEFAULT>;
2048
- createdAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_CREATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
2049
- updatedAt: alepha_orm24.PgAttr<alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_UPDATED_AT>, typeof alepha_orm24.PG_DEFAULT>;
2050
- realm: alepha_orm24.PgAttr<alepha23.TString, typeof alepha_orm24.PG_DEFAULT>;
2051
- username: alepha23.TOptional<alepha23.TString>;
2052
- email: alepha23.TOptional<alepha23.TString>;
2053
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2054
- roles: alepha_orm24.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm24.PG_DEFAULT>;
2055
- firstName: alepha23.TOptional<alepha23.TString>;
2056
- lastName: alepha23.TOptional<alepha23.TString>;
2057
- picture: alepha23.TOptional<alepha23.TString>;
2058
- enabled: alepha_orm24.PgAttr<alepha23.TBoolean, typeof alepha_orm24.PG_DEFAULT>;
2059
- emailVerified: alepha_orm24.PgAttr<alepha23.TBoolean, typeof alepha_orm24.PG_DEFAULT>;
1966
+ users(userRealmName?: string): alepha_orm0.Repository<alepha1.TObject<{
1967
+ id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
1968
+ version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
1969
+ createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1970
+ updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1971
+ realm: alepha_orm0.PgAttr<alepha1.TString, typeof alepha_orm0.PG_DEFAULT>;
1972
+ username: alepha1.TOptional<alepha1.TString>;
1973
+ email: alepha1.TOptional<alepha1.TString>;
1974
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
1975
+ roles: alepha_orm0.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm0.PG_DEFAULT>;
1976
+ firstName: alepha1.TOptional<alepha1.TString>;
1977
+ lastName: alepha1.TOptional<alepha1.TString>;
1978
+ picture: alepha1.TOptional<alepha1.TString>;
1979
+ enabled: alepha_orm0.PgAttr<alepha1.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
1980
+ emailVerified: alepha_orm0.PgAttr<alepha1.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
2060
1981
  }>>;
2061
1982
  /**
2062
1983
  * Request email verification for a user.
@@ -2106,151 +2027,151 @@ declare class AdminUserController {
2106
2027
  * Find users with pagination and filtering.
2107
2028
  */
2108
2029
  readonly findUsers: alepha_server0.ActionPrimitiveFn<{
2109
- query: alepha23.TObject<{
2110
- page: alepha23.TOptional<alepha23.TInteger>;
2111
- size: alepha23.TOptional<alepha23.TInteger>;
2112
- sort: alepha23.TOptional<alepha23.TString>;
2113
- email: alepha23.TOptional<alepha23.TString>;
2114
- enabled: alepha23.TOptional<alepha23.TBoolean>;
2115
- emailVerified: alepha23.TOptional<alepha23.TBoolean>;
2116
- roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2117
- query: alepha23.TOptional<alepha23.TString>;
2118
- userRealmName: alepha23.TOptional<alepha23.TString>;
2030
+ query: alepha1.TObject<{
2031
+ page: alepha1.TOptional<alepha1.TInteger>;
2032
+ size: alepha1.TOptional<alepha1.TInteger>;
2033
+ sort: alepha1.TOptional<alepha1.TString>;
2034
+ email: alepha1.TOptional<alepha1.TString>;
2035
+ enabled: alepha1.TOptional<alepha1.TBoolean>;
2036
+ emailVerified: alepha1.TOptional<alepha1.TBoolean>;
2037
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2038
+ query: alepha1.TOptional<alepha1.TString>;
2039
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2119
2040
  }>;
2120
- response: alepha23.TPage<alepha23.TObject<{
2121
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2122
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2123
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2124
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2125
- realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2126
- username: alepha23.TOptional<alepha23.TString>;
2127
- email: alepha23.TOptional<alepha23.TString>;
2128
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2129
- roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2130
- firstName: alepha23.TOptional<alepha23.TString>;
2131
- lastName: alepha23.TOptional<alepha23.TString>;
2132
- picture: alepha23.TOptional<alepha23.TString>;
2133
- enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2134
- emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2041
+ response: alepha1.TPage<alepha1.TObject<{
2042
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2043
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2044
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2045
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2046
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2047
+ username: alepha1.TOptional<alepha1.TString>;
2048
+ email: alepha1.TOptional<alepha1.TString>;
2049
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2050
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2051
+ firstName: alepha1.TOptional<alepha1.TString>;
2052
+ lastName: alepha1.TOptional<alepha1.TString>;
2053
+ picture: alepha1.TOptional<alepha1.TString>;
2054
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2055
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2135
2056
  }>>;
2136
2057
  }>;
2137
2058
  /**
2138
2059
  * Get a user by ID.
2139
2060
  */
2140
2061
  readonly getUser: alepha_server0.ActionPrimitiveFn<{
2141
- params: alepha23.TObject<{
2142
- id: alepha23.TString;
2062
+ params: alepha1.TObject<{
2063
+ id: alepha1.TString;
2143
2064
  }>;
2144
- query: alepha23.TObject<{
2145
- userRealmName: alepha23.TOptional<alepha23.TString>;
2065
+ query: alepha1.TObject<{
2066
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2146
2067
  }>;
2147
- response: alepha23.TObject<{
2148
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2149
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2150
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2151
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2152
- realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2153
- username: alepha23.TOptional<alepha23.TString>;
2154
- email: alepha23.TOptional<alepha23.TString>;
2155
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2156
- roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2157
- firstName: alepha23.TOptional<alepha23.TString>;
2158
- lastName: alepha23.TOptional<alepha23.TString>;
2159
- picture: alepha23.TOptional<alepha23.TString>;
2160
- enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2161
- emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2068
+ response: alepha1.TObject<{
2069
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2070
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2071
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2072
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2073
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2074
+ username: alepha1.TOptional<alepha1.TString>;
2075
+ email: alepha1.TOptional<alepha1.TString>;
2076
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2077
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2078
+ firstName: alepha1.TOptional<alepha1.TString>;
2079
+ lastName: alepha1.TOptional<alepha1.TString>;
2080
+ picture: alepha1.TOptional<alepha1.TString>;
2081
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2082
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2162
2083
  }>;
2163
2084
  }>;
2164
2085
  /**
2165
2086
  * Create a new user.
2166
2087
  */
2167
2088
  readonly createUser: alepha_server0.ActionPrimitiveFn<{
2168
- query: alepha23.TObject<{
2169
- userRealmName: alepha23.TOptional<alepha23.TString>;
2089
+ query: alepha1.TObject<{
2090
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2170
2091
  }>;
2171
- body: alepha23.TObject<{
2172
- id: alepha23.TOptional<PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
2173
- version: alepha23.TOptional<PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
2174
- email: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2175
- createdAt: alepha23.TOptional<PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
2176
- updatedAt: alepha23.TOptional<PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
2177
- username: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2178
- phoneNumber: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2179
- roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2180
- firstName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2181
- lastName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2182
- picture: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2183
- enabled: alepha23.TOptional<PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>>;
2184
- emailVerified: alepha23.TOptional<PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>>;
2092
+ body: alepha1.TObject<{
2093
+ id: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
2094
+ version: alepha1.TOptional<PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
2095
+ email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2096
+ createdAt: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
2097
+ updatedAt: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
2098
+ username: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2099
+ phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2100
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2101
+ firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2102
+ lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2103
+ picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2104
+ enabled: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
2105
+ emailVerified: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
2185
2106
  }>;
2186
- response: alepha23.TObject<{
2187
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2188
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2189
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2190
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2191
- realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2192
- username: alepha23.TOptional<alepha23.TString>;
2193
- email: alepha23.TOptional<alepha23.TString>;
2194
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2195
- roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2196
- firstName: alepha23.TOptional<alepha23.TString>;
2197
- lastName: alepha23.TOptional<alepha23.TString>;
2198
- picture: alepha23.TOptional<alepha23.TString>;
2199
- enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2200
- emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2107
+ response: alepha1.TObject<{
2108
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2109
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2110
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2111
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2112
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2113
+ username: alepha1.TOptional<alepha1.TString>;
2114
+ email: alepha1.TOptional<alepha1.TString>;
2115
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2116
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2117
+ firstName: alepha1.TOptional<alepha1.TString>;
2118
+ lastName: alepha1.TOptional<alepha1.TString>;
2119
+ picture: alepha1.TOptional<alepha1.TString>;
2120
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2121
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2201
2122
  }>;
2202
2123
  }>;
2203
2124
  /**
2204
2125
  * Update a user.
2205
2126
  */
2206
2127
  readonly updateUser: alepha_server0.ActionPrimitiveFn<{
2207
- params: alepha23.TObject<{
2208
- id: alepha23.TString;
2128
+ params: alepha1.TObject<{
2129
+ id: alepha1.TString;
2209
2130
  }>;
2210
- query: alepha23.TObject<{
2211
- userRealmName: alepha23.TOptional<alepha23.TString>;
2131
+ query: alepha1.TObject<{
2132
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2212
2133
  }>;
2213
- body: alepha23.TObject<{
2214
- email: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2215
- realm: alepha23.TOptional<PgAttr<alepha23.TString, typeof PG_DEFAULT>>;
2216
- phoneNumber: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2217
- roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2218
- firstName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2219
- lastName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2220
- picture: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2221
- enabled: alepha23.TOptional<PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>>;
2134
+ body: alepha1.TObject<{
2135
+ email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2136
+ realm: alepha1.TOptional<PgAttr<alepha1.TString, typeof PG_DEFAULT>>;
2137
+ phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2138
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2139
+ firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2140
+ lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2141
+ picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2142
+ enabled: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
2222
2143
  }>;
2223
- response: alepha23.TObject<{
2224
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2225
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2226
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2227
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2228
- realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2229
- username: alepha23.TOptional<alepha23.TString>;
2230
- email: alepha23.TOptional<alepha23.TString>;
2231
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2232
- roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2233
- firstName: alepha23.TOptional<alepha23.TString>;
2234
- lastName: alepha23.TOptional<alepha23.TString>;
2235
- picture: alepha23.TOptional<alepha23.TString>;
2236
- enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2237
- emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2144
+ response: alepha1.TObject<{
2145
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2146
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2147
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2148
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2149
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2150
+ username: alepha1.TOptional<alepha1.TString>;
2151
+ email: alepha1.TOptional<alepha1.TString>;
2152
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2153
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2154
+ firstName: alepha1.TOptional<alepha1.TString>;
2155
+ lastName: alepha1.TOptional<alepha1.TString>;
2156
+ picture: alepha1.TOptional<alepha1.TString>;
2157
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2158
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2238
2159
  }>;
2239
2160
  }>;
2240
2161
  /**
2241
2162
  * Delete a user.
2242
2163
  */
2243
2164
  readonly deleteUser: alepha_server0.ActionPrimitiveFn<{
2244
- params: alepha23.TObject<{
2245
- id: alepha23.TString;
2165
+ params: alepha1.TObject<{
2166
+ id: alepha1.TString;
2246
2167
  }>;
2247
- query: alepha23.TObject<{
2248
- userRealmName: alepha23.TOptional<alepha23.TString>;
2168
+ query: alepha1.TObject<{
2169
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2249
2170
  }>;
2250
- response: alepha23.TObject<{
2251
- ok: alepha23.TBoolean;
2252
- id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
2253
- count: alepha23.TOptional<alepha23.TNumber>;
2171
+ response: alepha1.TObject<{
2172
+ ok: alepha1.TBoolean;
2173
+ id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
2174
+ count: alepha1.TOptional<alepha1.TNumber>;
2254
2175
  }>;
2255
2176
  }>;
2256
2177
  }
@@ -2262,10 +2183,10 @@ declare class AdminUserController {
2262
2183
  * Requires the intent ID from Phase 1, the verification code,
2263
2184
  * and the new password.
2264
2185
  */
2265
- declare const completePasswordResetRequestSchema: alepha23.TObject<{
2266
- intentId: alepha23.TString;
2267
- code: alepha23.TString;
2268
- newPassword: alepha23.TString;
2186
+ declare const completePasswordResetRequestSchema: alepha1.TObject<{
2187
+ intentId: alepha1.TString;
2188
+ code: alepha1.TString;
2189
+ newPassword: alepha1.TString;
2269
2190
  }>;
2270
2191
  type CompletePasswordResetRequest = Static<typeof completePasswordResetRequestSchema>;
2271
2192
  //#endregion
@@ -2276,9 +2197,9 @@ type CompletePasswordResetRequest = Static<typeof completePasswordResetRequestSc
2276
2197
  * Contains the intent ID needed for Phase 2 completion,
2277
2198
  * along with expiration time.
2278
2199
  */
2279
- declare const passwordResetIntentResponseSchema: alepha23.TObject<{
2280
- intentId: alepha23.TString;
2281
- expiresAt: alepha23.TString;
2200
+ declare const passwordResetIntentResponseSchema: alepha1.TObject<{
2201
+ intentId: alepha1.TString;
2202
+ expiresAt: alepha1.TString;
2282
2203
  }>;
2283
2204
  type PasswordResetIntentResponse = Static<typeof passwordResetIntentResponseSchema>;
2284
2205
  //#endregion
@@ -2297,52 +2218,52 @@ declare class CredentialService {
2297
2218
  protected readonly log: alepha_logger5.Logger;
2298
2219
  protected readonly cryptoProvider: CryptoProvider;
2299
2220
  protected readonly dateTimeProvider: DateTimeProvider;
2300
- protected readonly verificationController: alepha_server_links0.HttpVirtualClient<VerificationController>;
2221
+ protected readonly verificationController: alepha_server_links2.HttpVirtualClient<VerificationController>;
2301
2222
  protected readonly userNotifications: UserNotifications;
2302
2223
  protected readonly userRealmProvider: UserRealmProvider;
2303
2224
  protected readonly auditService: AuditService;
2304
2225
  protected readonly intentCache: alepha_cache0.CachePrimitiveFn<PasswordResetIntent, any[]>;
2305
- users(userRealmName?: string): Repository$1<alepha23.TObject<{
2306
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2307
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2308
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2309
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2310
- realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2311
- username: alepha23.TOptional<alepha23.TString>;
2312
- email: alepha23.TOptional<alepha23.TString>;
2313
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2314
- roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2315
- firstName: alepha23.TOptional<alepha23.TString>;
2316
- lastName: alepha23.TOptional<alepha23.TString>;
2317
- picture: alepha23.TOptional<alepha23.TString>;
2318
- enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2319
- emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2226
+ users(userRealmName?: string): Repository$1<alepha1.TObject<{
2227
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2228
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2229
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2230
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2231
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2232
+ username: alepha1.TOptional<alepha1.TString>;
2233
+ email: alepha1.TOptional<alepha1.TString>;
2234
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2235
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2236
+ firstName: alepha1.TOptional<alepha1.TString>;
2237
+ lastName: alepha1.TOptional<alepha1.TString>;
2238
+ picture: alepha1.TOptional<alepha1.TString>;
2239
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2240
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2320
2241
  }>>;
2321
- sessions(userRealmName?: string): Repository$1<alepha23.TObject<{
2322
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2323
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2324
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2325
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2326
- refreshToken: alepha23.TString;
2327
- userId: PgAttr<alepha23.TString, typeof PG_REF>;
2328
- expiresAt: alepha23.TString;
2329
- ip: alepha23.TOptional<alepha23.TString>;
2330
- userAgent: alepha23.TOptional<alepha23.TObject<{
2331
- os: alepha23.TString;
2332
- browser: alepha23.TString;
2333
- device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2242
+ sessions(userRealmName?: string): Repository$1<alepha1.TObject<{
2243
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2244
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2245
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2246
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2247
+ refreshToken: alepha1.TString;
2248
+ userId: PgAttr<alepha1.TString, typeof PG_REF>;
2249
+ expiresAt: alepha1.TString;
2250
+ ip: alepha1.TOptional<alepha1.TString>;
2251
+ userAgent: alepha1.TOptional<alepha1.TObject<{
2252
+ os: alepha1.TString;
2253
+ browser: alepha1.TString;
2254
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2334
2255
  }>>;
2335
2256
  }>>;
2336
- identities(userRealmName?: string): Repository$1<alepha23.TObject<{
2337
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2338
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2339
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2340
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2341
- userId: PgAttr<alepha23.TString, typeof PG_REF>;
2342
- password: alepha23.TOptional<alepha23.TString>;
2343
- provider: alepha23.TString;
2344
- providerUserId: alepha23.TOptional<alepha23.TString>;
2345
- providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
2257
+ identities(userRealmName?: string): Repository$1<alepha1.TObject<{
2258
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2259
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2260
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2261
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2262
+ userId: PgAttr<alepha1.TString, typeof PG_REF>;
2263
+ password: alepha1.TOptional<alepha1.TString>;
2264
+ provider: alepha1.TString;
2265
+ providerUserId: alepha1.TOptional<alepha1.TString>;
2266
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
2346
2267
  }>>;
2347
2268
  /**
2348
2269
  * Phase 1: Create a password reset intent.
@@ -2379,11 +2300,11 @@ declare class CredentialService {
2379
2300
  }
2380
2301
  //#endregion
2381
2302
  //#region ../../src/api/users/schemas/completeRegistrationRequestSchema.d.ts
2382
- declare const completeRegistrationRequestSchema: alepha23.TObject<{
2383
- intentId: alepha23.TString;
2384
- emailCode: alepha23.TOptional<alepha23.TString>;
2385
- phoneCode: alepha23.TOptional<alepha23.TString>;
2386
- captchaToken: alepha23.TOptional<alepha23.TString>;
2303
+ declare const completeRegistrationRequestSchema: alepha1.TObject<{
2304
+ intentId: alepha1.TString;
2305
+ emailCode: alepha1.TOptional<alepha1.TString>;
2306
+ phoneCode: alepha1.TOptional<alepha1.TString>;
2307
+ captchaToken: alepha1.TOptional<alepha1.TString>;
2387
2308
  }>;
2388
2309
  type CompleteRegistrationRequest = Static<typeof completeRegistrationRequestSchema>;
2389
2310
  //#endregion
@@ -2392,24 +2313,24 @@ type CompleteRegistrationRequest = Static<typeof completeRegistrationRequestSche
2392
2313
  * Schema for user registration request body.
2393
2314
  * Password is always required, other fields depend on realm settings.
2394
2315
  */
2395
- declare const registerRequestSchema: alepha23.TObject<{
2396
- password: alepha23.TString;
2397
- username: alepha23.TOptional<alepha23.TString>;
2398
- email: alepha23.TOptional<alepha23.TString>;
2399
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2400
- firstName: alepha23.TOptional<alepha23.TString>;
2401
- lastName: alepha23.TOptional<alepha23.TString>;
2402
- picture: alepha23.TOptional<alepha23.TString>;
2316
+ declare const registerRequestSchema: alepha1.TObject<{
2317
+ password: alepha1.TString;
2318
+ username: alepha1.TOptional<alepha1.TString>;
2319
+ email: alepha1.TOptional<alepha1.TString>;
2320
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2321
+ firstName: alepha1.TOptional<alepha1.TString>;
2322
+ lastName: alepha1.TOptional<alepha1.TString>;
2323
+ picture: alepha1.TOptional<alepha1.TString>;
2403
2324
  }>;
2404
2325
  type RegisterRequest = Static<typeof registerRequestSchema>;
2405
2326
  //#endregion
2406
2327
  //#region ../../src/api/users/schemas/registrationIntentResponseSchema.d.ts
2407
- declare const registrationIntentResponseSchema: alepha23.TObject<{
2408
- intentId: alepha23.TString;
2409
- expectCaptcha: alepha23.TBoolean;
2410
- expectEmailVerification: alepha23.TBoolean;
2411
- expectPhoneVerification: alepha23.TBoolean;
2412
- expiresAt: alepha23.TString;
2328
+ declare const registrationIntentResponseSchema: alepha1.TObject<{
2329
+ intentId: alepha1.TString;
2330
+ expectCaptcha: alepha1.TBoolean;
2331
+ expectEmailVerification: alepha1.TBoolean;
2332
+ expectPhoneVerification: alepha1.TBoolean;
2333
+ expiresAt: alepha1.TString;
2413
2334
  }>;
2414
2335
  type RegistrationIntentResponse = Static<typeof registrationIntentResponseSchema>;
2415
2336
  //#endregion
@@ -2439,7 +2360,7 @@ declare class RegistrationService {
2439
2360
  protected readonly log: alepha_logger5.Logger;
2440
2361
  protected readonly dateTimeProvider: DateTimeProvider;
2441
2362
  protected readonly cryptoProvider: CryptoProvider;
2442
- protected readonly verificationController: alepha_server_links0.HttpVirtualClient<VerificationController>;
2363
+ protected readonly verificationController: alepha_server_links2.HttpVirtualClient<VerificationController>;
2443
2364
  protected readonly userNotifications: UserNotifications;
2444
2365
  protected readonly userRealmProvider: UserRealmProvider;
2445
2366
  protected readonly auditService: AuditService;
@@ -2492,24 +2413,24 @@ declare class UserController {
2492
2413
  * Validates data, creates verification sessions, and stores intent in cache.
2493
2414
  */
2494
2415
  readonly createRegistrationIntent: alepha_server0.ActionPrimitiveFn<{
2495
- body: alepha23.TObject<{
2496
- password: alepha23.TString;
2497
- username: alepha23.TOptional<alepha23.TString>;
2498
- email: alepha23.TOptional<alepha23.TString>;
2499
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2500
- firstName: alepha23.TOptional<alepha23.TString>;
2501
- lastName: alepha23.TOptional<alepha23.TString>;
2502
- picture: alepha23.TOptional<alepha23.TString>;
2416
+ body: alepha1.TObject<{
2417
+ password: alepha1.TString;
2418
+ username: alepha1.TOptional<alepha1.TString>;
2419
+ email: alepha1.TOptional<alepha1.TString>;
2420
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2421
+ firstName: alepha1.TOptional<alepha1.TString>;
2422
+ lastName: alepha1.TOptional<alepha1.TString>;
2423
+ picture: alepha1.TOptional<alepha1.TString>;
2503
2424
  }>;
2504
- query: alepha23.TObject<{
2505
- userRealmName: alepha23.TOptional<alepha23.TString>;
2425
+ query: alepha1.TObject<{
2426
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2506
2427
  }>;
2507
- response: alepha23.TObject<{
2508
- intentId: alepha23.TString;
2509
- expectCaptcha: alepha23.TBoolean;
2510
- expectEmailVerification: alepha23.TBoolean;
2511
- expectPhoneVerification: alepha23.TBoolean;
2512
- expiresAt: alepha23.TString;
2428
+ response: alepha1.TObject<{
2429
+ intentId: alepha1.TString;
2430
+ expectCaptcha: alepha1.TBoolean;
2431
+ expectEmailVerification: alepha1.TBoolean;
2432
+ expectPhoneVerification: alepha1.TBoolean;
2433
+ expiresAt: alepha1.TString;
2513
2434
  }>;
2514
2435
  }>;
2515
2436
  /**
@@ -2517,27 +2438,27 @@ declare class UserController {
2517
2438
  * Validates verification codes and creates the user.
2518
2439
  */
2519
2440
  readonly createUserFromIntent: alepha_server0.ActionPrimitiveFn<{
2520
- body: alepha23.TObject<{
2521
- intentId: alepha23.TString;
2522
- emailCode: alepha23.TOptional<alepha23.TString>;
2523
- phoneCode: alepha23.TOptional<alepha23.TString>;
2524
- captchaToken: alepha23.TOptional<alepha23.TString>;
2441
+ body: alepha1.TObject<{
2442
+ intentId: alepha1.TString;
2443
+ emailCode: alepha1.TOptional<alepha1.TString>;
2444
+ phoneCode: alepha1.TOptional<alepha1.TString>;
2445
+ captchaToken: alepha1.TOptional<alepha1.TString>;
2525
2446
  }>;
2526
- response: alepha23.TObject<{
2527
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2528
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2529
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2530
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2531
- realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2532
- username: alepha23.TOptional<alepha23.TString>;
2533
- email: alepha23.TOptional<alepha23.TString>;
2534
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2535
- roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2536
- firstName: alepha23.TOptional<alepha23.TString>;
2537
- lastName: alepha23.TOptional<alepha23.TString>;
2538
- picture: alepha23.TOptional<alepha23.TString>;
2539
- enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2540
- emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2447
+ response: alepha1.TObject<{
2448
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2449
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2450
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2451
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2452
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2453
+ username: alepha1.TOptional<alepha1.TString>;
2454
+ email: alepha1.TOptional<alepha1.TString>;
2455
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2456
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2457
+ firstName: alepha1.TOptional<alepha1.TString>;
2458
+ lastName: alepha1.TOptional<alepha1.TString>;
2459
+ picture: alepha1.TOptional<alepha1.TString>;
2460
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2461
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2541
2462
  }>;
2542
2463
  }>;
2543
2464
  /**
@@ -2545,15 +2466,15 @@ declare class UserController {
2545
2466
  * Validates email, sends verification code, and stores intent in cache.
2546
2467
  */
2547
2468
  readonly createPasswordResetIntent: alepha_server0.ActionPrimitiveFn<{
2548
- query: alepha23.TObject<{
2549
- userRealmName: alepha23.TOptional<alepha23.TString>;
2469
+ query: alepha1.TObject<{
2470
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2550
2471
  }>;
2551
- body: alepha23.TObject<{
2552
- email: alepha23.TString;
2472
+ body: alepha1.TObject<{
2473
+ email: alepha1.TString;
2553
2474
  }>;
2554
- response: alepha23.TObject<{
2555
- intentId: alepha23.TString;
2556
- expiresAt: alepha23.TString;
2475
+ response: alepha1.TObject<{
2476
+ intentId: alepha1.TString;
2477
+ expiresAt: alepha1.TString;
2557
2478
  }>;
2558
2479
  }>;
2559
2480
  /**
@@ -2561,61 +2482,61 @@ declare class UserController {
2561
2482
  * Validates verification code, updates password, and invalidates sessions.
2562
2483
  */
2563
2484
  readonly completePasswordReset: alepha_server0.ActionPrimitiveFn<{
2564
- body: alepha23.TObject<{
2565
- intentId: alepha23.TString;
2566
- code: alepha23.TString;
2567
- newPassword: alepha23.TString;
2485
+ body: alepha1.TObject<{
2486
+ intentId: alepha1.TString;
2487
+ code: alepha1.TString;
2488
+ newPassword: alepha1.TString;
2568
2489
  }>;
2569
- response: alepha23.TObject<{
2570
- ok: alepha23.TBoolean;
2571
- id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
2572
- count: alepha23.TOptional<alepha23.TNumber>;
2490
+ response: alepha1.TObject<{
2491
+ ok: alepha1.TBoolean;
2492
+ id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
2493
+ count: alepha1.TOptional<alepha1.TNumber>;
2573
2494
  }>;
2574
2495
  }>;
2575
2496
  /**
2576
2497
  * @deprecated Use createPasswordResetIntent instead
2577
2498
  */
2578
2499
  requestPasswordReset: alepha_server0.ActionPrimitiveFn<{
2579
- query: alepha23.TObject<{
2580
- userRealmName: alepha23.TOptional<alepha23.TString>;
2500
+ query: alepha1.TObject<{
2501
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2581
2502
  }>;
2582
- body: alepha23.TObject<{
2583
- email: alepha23.TString;
2503
+ body: alepha1.TObject<{
2504
+ email: alepha1.TString;
2584
2505
  }>;
2585
- response: alepha23.TObject<{
2586
- success: alepha23.TBoolean;
2587
- message: alepha23.TString;
2506
+ response: alepha1.TObject<{
2507
+ success: alepha1.TBoolean;
2508
+ message: alepha1.TString;
2588
2509
  }>;
2589
2510
  }>;
2590
2511
  /**
2591
2512
  * @deprecated Use completePasswordReset instead
2592
2513
  */
2593
2514
  validateResetToken: alepha_server0.ActionPrimitiveFn<{
2594
- query: alepha23.TObject<{
2595
- email: alepha23.TString;
2596
- token: alepha23.TString;
2597
- userRealmName: alepha23.TOptional<alepha23.TString>;
2515
+ query: alepha1.TObject<{
2516
+ email: alepha1.TString;
2517
+ token: alepha1.TString;
2518
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2598
2519
  }>;
2599
- response: alepha23.TObject<{
2600
- valid: alepha23.TBoolean;
2601
- email: alepha23.TOptional<alepha23.TString>;
2520
+ response: alepha1.TObject<{
2521
+ valid: alepha1.TBoolean;
2522
+ email: alepha1.TOptional<alepha1.TString>;
2602
2523
  }>;
2603
2524
  }>;
2604
2525
  /**
2605
2526
  * @deprecated Use completePasswordReset instead
2606
2527
  */
2607
2528
  resetPassword: alepha_server0.ActionPrimitiveFn<{
2608
- query: alepha23.TObject<{
2609
- userRealmName: alepha23.TOptional<alepha23.TString>;
2529
+ query: alepha1.TObject<{
2530
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2610
2531
  }>;
2611
- body: alepha23.TObject<{
2612
- email: alepha23.TString;
2613
- token: alepha23.TString;
2614
- newPassword: alepha23.TString;
2532
+ body: alepha1.TObject<{
2533
+ email: alepha1.TString;
2534
+ token: alepha1.TString;
2535
+ newPassword: alepha1.TString;
2615
2536
  }>;
2616
- response: alepha23.TObject<{
2617
- success: alepha23.TBoolean;
2618
- message: alepha23.TString;
2537
+ response: alepha1.TObject<{
2538
+ success: alepha1.TBoolean;
2539
+ message: alepha1.TString;
2619
2540
  }>;
2620
2541
  }>;
2621
2542
  /**
@@ -2625,17 +2546,17 @@ declare class UserController {
2625
2546
  * @param verifyUrl - Required when method is "link". The base URL for the verification link. Token and email will be appended as query params.
2626
2547
  */
2627
2548
  requestEmailVerification: alepha_server0.ActionPrimitiveFn<{
2628
- query: alepha23.TObject<{
2629
- userRealmName: alepha23.TOptional<alepha23.TString>;
2630
- method: alepha23.TOptional<alepha23.TUnsafe<"link" | "code">>;
2631
- verifyUrl: alepha23.TOptional<alepha23.TString>;
2549
+ query: alepha1.TObject<{
2550
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2551
+ method: alepha1.TOptional<alepha1.TUnsafe<"link" | "code">>;
2552
+ verifyUrl: alepha1.TOptional<alepha1.TString>;
2632
2553
  }>;
2633
- body: alepha23.TObject<{
2634
- email: alepha23.TString;
2554
+ body: alepha1.TObject<{
2555
+ email: alepha1.TString;
2635
2556
  }>;
2636
- response: alepha23.TObject<{
2637
- success: alepha23.TBoolean;
2638
- message: alepha23.TString;
2557
+ response: alepha1.TObject<{
2558
+ success: alepha1.TBoolean;
2559
+ message: alepha1.TString;
2639
2560
  }>;
2640
2561
  }>;
2641
2562
  /**
@@ -2643,28 +2564,28 @@ declare class UserController {
2643
2564
  * Updates the user's emailVerified status.
2644
2565
  */
2645
2566
  verifyEmail: alepha_server0.ActionPrimitiveFn<{
2646
- query: alepha23.TObject<{
2647
- userRealmName: alepha23.TOptional<alepha23.TString>;
2567
+ query: alepha1.TObject<{
2568
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2648
2569
  }>;
2649
- body: alepha23.TObject<{
2650
- email: alepha23.TString;
2651
- token: alepha23.TString;
2570
+ body: alepha1.TObject<{
2571
+ email: alepha1.TString;
2572
+ token: alepha1.TString;
2652
2573
  }>;
2653
- response: alepha23.TObject<{
2654
- success: alepha23.TBoolean;
2655
- message: alepha23.TString;
2574
+ response: alepha1.TObject<{
2575
+ success: alepha1.TBoolean;
2576
+ message: alepha1.TString;
2656
2577
  }>;
2657
2578
  }>;
2658
2579
  /**
2659
2580
  * Check if an email is verified.
2660
2581
  */
2661
2582
  checkEmailVerification: alepha_server0.ActionPrimitiveFn<{
2662
- query: alepha23.TObject<{
2663
- email: alepha23.TString;
2664
- userRealmName: alepha23.TOptional<alepha23.TString>;
2583
+ query: alepha1.TObject<{
2584
+ email: alepha1.TString;
2585
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2665
2586
  }>;
2666
- response: alepha23.TObject<{
2667
- verified: alepha23.TBoolean;
2587
+ response: alepha1.TObject<{
2588
+ verified: alepha1.TBoolean;
2668
2589
  }>;
2669
2590
  }>;
2670
2591
  }
@@ -2684,165 +2605,165 @@ declare class UserRealmController {
2684
2605
  * This endpoint is not exposed in the API documentation.
2685
2606
  */
2686
2607
  readonly getRealmConfig: alepha_server0.ActionPrimitiveFn<{
2687
- query: alepha23.TObject<{
2688
- userRealmName: alepha23.TOptional<alepha23.TString>;
2608
+ query: alepha1.TObject<{
2609
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2689
2610
  }>;
2690
- response: alepha23.TObject<{
2691
- settings: alepha23.TObject<{
2692
- displayName: alepha23.TOptional<alepha23.TString>;
2693
- description: alepha23.TOptional<alepha23.TString>;
2694
- logoUrl: alepha23.TOptional<alepha23.TString>;
2695
- registrationAllowed: alepha23.TBoolean;
2696
- emailEnabled: alepha23.TBoolean;
2697
- emailRequired: alepha23.TBoolean;
2698
- usernameEnabled: alepha23.TBoolean;
2699
- usernameRequired: alepha23.TBoolean;
2700
- phoneEnabled: alepha23.TBoolean;
2701
- phoneRequired: alepha23.TBoolean;
2702
- verifyEmailRequired: alepha23.TBoolean;
2703
- verifyPhoneRequired: alepha23.TBoolean;
2704
- firstNameLastNameEnabled: alepha23.TBoolean;
2705
- firstNameLastNameRequired: alepha23.TBoolean;
2706
- resetPasswordAllowed: alepha23.TBoolean;
2707
- passwordPolicy: alepha23.TObject<{
2708
- minLength: alepha23.TInteger;
2709
- requireUppercase: alepha23.TBoolean;
2710
- requireLowercase: alepha23.TBoolean;
2711
- requireNumbers: alepha23.TBoolean;
2712
- requireSpecialCharacters: alepha23.TBoolean;
2611
+ response: alepha1.TObject<{
2612
+ settings: alepha1.TObject<{
2613
+ displayName: alepha1.TOptional<alepha1.TString>;
2614
+ description: alepha1.TOptional<alepha1.TString>;
2615
+ logoUrl: alepha1.TOptional<alepha1.TString>;
2616
+ registrationAllowed: alepha1.TBoolean;
2617
+ emailEnabled: alepha1.TBoolean;
2618
+ emailRequired: alepha1.TBoolean;
2619
+ usernameEnabled: alepha1.TBoolean;
2620
+ usernameRequired: alepha1.TBoolean;
2621
+ phoneEnabled: alepha1.TBoolean;
2622
+ phoneRequired: alepha1.TBoolean;
2623
+ verifyEmailRequired: alepha1.TBoolean;
2624
+ verifyPhoneRequired: alepha1.TBoolean;
2625
+ firstNameLastNameEnabled: alepha1.TBoolean;
2626
+ firstNameLastNameRequired: alepha1.TBoolean;
2627
+ resetPasswordAllowed: alepha1.TBoolean;
2628
+ passwordPolicy: alepha1.TObject<{
2629
+ minLength: alepha1.TInteger;
2630
+ requireUppercase: alepha1.TBoolean;
2631
+ requireLowercase: alepha1.TBoolean;
2632
+ requireNumbers: alepha1.TBoolean;
2633
+ requireSpecialCharacters: alepha1.TBoolean;
2713
2634
  }>;
2714
2635
  }>;
2715
- realmName: alepha23.TString;
2716
- authenticationMethods: alepha23.TArray<alepha23.TObject<{
2717
- name: alepha23.TString;
2718
- type: alepha23.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
2636
+ realmName: alepha1.TString;
2637
+ authenticationMethods: alepha1.TArray<alepha1.TObject<{
2638
+ name: alepha1.TString;
2639
+ type: alepha1.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
2719
2640
  }>>;
2720
2641
  }>;
2721
2642
  }>;
2722
2643
  readonly checkUsernameAvailability: alepha_server0.ActionPrimitiveFn<{
2723
- query: alepha23.TObject<{
2724
- userRealmName: alepha23.TOptional<alepha23.TString>;
2644
+ query: alepha1.TObject<{
2645
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2725
2646
  }>;
2726
- body: alepha23.TObject<{
2727
- username: alepha23.TString;
2647
+ body: alepha1.TObject<{
2648
+ username: alepha1.TString;
2728
2649
  }>;
2729
- response: alepha23.TObject<{
2730
- available: alepha23.TBoolean;
2650
+ response: alepha1.TObject<{
2651
+ available: alepha1.TBoolean;
2731
2652
  }>;
2732
2653
  }>;
2733
2654
  }
2734
2655
  //#endregion
2735
2656
  //#region ../../src/api/users/schemas/identityResourceSchema.d.ts
2736
- declare const identityResourceSchema: alepha23.TObject<{
2737
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2738
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2739
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2740
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2741
- userId: PgAttr<alepha23.TString, typeof PG_REF>;
2742
- provider: alepha23.TString;
2743
- providerUserId: alepha23.TOptional<alepha23.TString>;
2744
- providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
2657
+ declare const identityResourceSchema: alepha1.TObject<{
2658
+ userId: PgAttr<alepha1.TString, typeof PG_REF>;
2659
+ provider: alepha1.TString;
2660
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2661
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2662
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2663
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2664
+ providerUserId: alepha1.TOptional<alepha1.TString>;
2665
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
2745
2666
  }>;
2746
2667
  type IdentityResource = Static<typeof identityResourceSchema>;
2747
2668
  //#endregion
2748
2669
  //#region ../../src/api/users/schemas/loginSchema.d.ts
2749
- declare const loginSchema: alepha23.TObject<{
2750
- username: alepha23.TString;
2751
- password: alepha23.TString;
2670
+ declare const loginSchema: alepha1.TObject<{
2671
+ username: alepha1.TString;
2672
+ password: alepha1.TString;
2752
2673
  }>;
2753
2674
  type LoginInput = Static<typeof loginSchema>;
2754
2675
  //#endregion
2755
2676
  //#region ../../src/api/users/schemas/registerSchema.d.ts
2756
- declare const registerSchema: alepha23.TObject<{
2757
- username: alepha23.TString;
2758
- email: alepha23.TString;
2759
- password: alepha23.TString;
2760
- confirmPassword: alepha23.TString;
2761
- firstName: alepha23.TOptional<alepha23.TString>;
2762
- lastName: alepha23.TOptional<alepha23.TString>;
2677
+ declare const registerSchema: alepha1.TObject<{
2678
+ username: alepha1.TString;
2679
+ email: alepha1.TString;
2680
+ password: alepha1.TString;
2681
+ confirmPassword: alepha1.TString;
2682
+ firstName: alepha1.TOptional<alepha1.TString>;
2683
+ lastName: alepha1.TOptional<alepha1.TString>;
2763
2684
  }>;
2764
2685
  type RegisterInput = Static<typeof registerSchema>;
2765
2686
  //#endregion
2766
2687
  //#region ../../src/api/users/schemas/resetPasswordSchema.d.ts
2767
- declare const resetPasswordRequestSchema: alepha23.TObject<{
2768
- email: alepha23.TString;
2688
+ declare const resetPasswordRequestSchema: alepha1.TObject<{
2689
+ email: alepha1.TString;
2769
2690
  }>;
2770
- declare const resetPasswordSchema: alepha23.TObject<{
2771
- token: alepha23.TString;
2772
- password: alepha23.TString;
2773
- confirmPassword: alepha23.TString;
2691
+ declare const resetPasswordSchema: alepha1.TObject<{
2692
+ token: alepha1.TString;
2693
+ password: alepha1.TString;
2694
+ confirmPassword: alepha1.TString;
2774
2695
  }>;
2775
2696
  type ResetPasswordRequest = Static<typeof resetPasswordRequestSchema>;
2776
2697
  type ResetPasswordInput = Static<typeof resetPasswordSchema>;
2777
2698
  //#endregion
2778
2699
  //#region ../../src/api/users/schemas/sessionResourceSchema.d.ts
2779
- declare const sessionResourceSchema: alepha23.TObject<{
2780
- id: alepha23.TString;
2781
- version: alepha23.TNumber;
2782
- createdAt: alepha23.TString;
2783
- updatedAt: alepha23.TString;
2784
- refreshToken: alepha23.TString;
2785
- userId: alepha23.TString;
2786
- expiresAt: alepha23.TString;
2787
- ip: alepha23.TOptional<alepha23.TString>;
2788
- userAgent: alepha23.TOptional<alepha23.TObject<{
2789
- os: alepha23.TString;
2790
- browser: alepha23.TString;
2791
- device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2700
+ declare const sessionResourceSchema: alepha1.TObject<{
2701
+ id: alepha1.TString;
2702
+ version: alepha1.TNumber;
2703
+ createdAt: alepha1.TString;
2704
+ updatedAt: alepha1.TString;
2705
+ refreshToken: alepha1.TString;
2706
+ userId: alepha1.TString;
2707
+ expiresAt: alepha1.TString;
2708
+ ip: alepha1.TOptional<alepha1.TString>;
2709
+ userAgent: alepha1.TOptional<alepha1.TObject<{
2710
+ os: alepha1.TString;
2711
+ browser: alepha1.TString;
2712
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2792
2713
  }>>;
2793
2714
  }>;
2794
2715
  type SessionResource = Static<typeof sessionResourceSchema>;
2795
2716
  //#endregion
2796
2717
  //#region ../../src/api/users/schemas/userRealmConfigSchema.d.ts
2797
- declare const userRealmConfigSchema: alepha23.TObject<{
2798
- settings: alepha23.TObject<{
2799
- displayName: alepha23.TOptional<alepha23.TString>;
2800
- description: alepha23.TOptional<alepha23.TString>;
2801
- logoUrl: alepha23.TOptional<alepha23.TString>;
2802
- registrationAllowed: alepha23.TBoolean;
2803
- emailEnabled: alepha23.TBoolean;
2804
- emailRequired: alepha23.TBoolean;
2805
- usernameEnabled: alepha23.TBoolean;
2806
- usernameRequired: alepha23.TBoolean;
2807
- phoneEnabled: alepha23.TBoolean;
2808
- phoneRequired: alepha23.TBoolean;
2809
- verifyEmailRequired: alepha23.TBoolean;
2810
- verifyPhoneRequired: alepha23.TBoolean;
2811
- firstNameLastNameEnabled: alepha23.TBoolean;
2812
- firstNameLastNameRequired: alepha23.TBoolean;
2813
- resetPasswordAllowed: alepha23.TBoolean;
2814
- passwordPolicy: alepha23.TObject<{
2815
- minLength: alepha23.TInteger;
2816
- requireUppercase: alepha23.TBoolean;
2817
- requireLowercase: alepha23.TBoolean;
2818
- requireNumbers: alepha23.TBoolean;
2819
- requireSpecialCharacters: alepha23.TBoolean;
2718
+ declare const userRealmConfigSchema: alepha1.TObject<{
2719
+ settings: alepha1.TObject<{
2720
+ displayName: alepha1.TOptional<alepha1.TString>;
2721
+ description: alepha1.TOptional<alepha1.TString>;
2722
+ logoUrl: alepha1.TOptional<alepha1.TString>;
2723
+ registrationAllowed: alepha1.TBoolean;
2724
+ emailEnabled: alepha1.TBoolean;
2725
+ emailRequired: alepha1.TBoolean;
2726
+ usernameEnabled: alepha1.TBoolean;
2727
+ usernameRequired: alepha1.TBoolean;
2728
+ phoneEnabled: alepha1.TBoolean;
2729
+ phoneRequired: alepha1.TBoolean;
2730
+ verifyEmailRequired: alepha1.TBoolean;
2731
+ verifyPhoneRequired: alepha1.TBoolean;
2732
+ firstNameLastNameEnabled: alepha1.TBoolean;
2733
+ firstNameLastNameRequired: alepha1.TBoolean;
2734
+ resetPasswordAllowed: alepha1.TBoolean;
2735
+ passwordPolicy: alepha1.TObject<{
2736
+ minLength: alepha1.TInteger;
2737
+ requireUppercase: alepha1.TBoolean;
2738
+ requireLowercase: alepha1.TBoolean;
2739
+ requireNumbers: alepha1.TBoolean;
2740
+ requireSpecialCharacters: alepha1.TBoolean;
2820
2741
  }>;
2821
2742
  }>;
2822
- realmName: alepha23.TString;
2823
- authenticationMethods: alepha23.TArray<alepha23.TObject<{
2824
- name: alepha23.TString;
2825
- type: alepha23.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
2743
+ realmName: alepha1.TString;
2744
+ authenticationMethods: alepha1.TArray<alepha1.TObject<{
2745
+ name: alepha1.TString;
2746
+ type: alepha1.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
2826
2747
  }>>;
2827
2748
  }>;
2828
2749
  type UserRealmConfig = Static<typeof userRealmConfigSchema>;
2829
2750
  //#endregion
2830
2751
  //#region ../../src/api/users/schemas/userResourceSchema.d.ts
2831
- declare const userResourceSchema: alepha23.TObject<{
2832
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2833
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2834
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2835
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2836
- realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2837
- username: alepha23.TOptional<alepha23.TString>;
2838
- email: alepha23.TOptional<alepha23.TString>;
2839
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2840
- roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2841
- firstName: alepha23.TOptional<alepha23.TString>;
2842
- lastName: alepha23.TOptional<alepha23.TString>;
2843
- picture: alepha23.TOptional<alepha23.TString>;
2844
- enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2845
- emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2752
+ declare const userResourceSchema: alepha1.TObject<{
2753
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2754
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2755
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2756
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2757
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2758
+ username: alepha1.TOptional<alepha1.TString>;
2759
+ email: alepha1.TOptional<alepha1.TString>;
2760
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2761
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2762
+ firstName: alepha1.TOptional<alepha1.TString>;
2763
+ lastName: alepha1.TOptional<alepha1.TString>;
2764
+ picture: alepha1.TOptional<alepha1.TString>;
2765
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2766
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2846
2767
  }>;
2847
2768
  type UserResource = Static<typeof userResourceSchema>;
2848
2769
  //#endregion
@@ -2854,49 +2775,49 @@ declare class SessionService {
2854
2775
  protected readonly cryptoProvider: CryptoProvider;
2855
2776
  protected readonly log: alepha_logger5.Logger;
2856
2777
  protected readonly userRealmProvider: UserRealmProvider;
2857
- protected readonly fileController: alepha_server_links0.HttpVirtualClient<FileController>;
2778
+ protected readonly fileController: alepha_server_links2.HttpVirtualClient<FileController>;
2858
2779
  protected readonly auditService: AuditService;
2859
- users(userRealmName?: string): Repository$1<alepha23.TObject<{
2860
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2861
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2862
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2863
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2864
- realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2865
- username: alepha23.TOptional<alepha23.TString>;
2866
- email: alepha23.TOptional<alepha23.TString>;
2867
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2868
- roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2869
- firstName: alepha23.TOptional<alepha23.TString>;
2870
- lastName: alepha23.TOptional<alepha23.TString>;
2871
- picture: alepha23.TOptional<alepha23.TString>;
2872
- enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2873
- emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2780
+ users(userRealmName?: string): Repository$1<alepha1.TObject<{
2781
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2782
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2783
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2784
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2785
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2786
+ username: alepha1.TOptional<alepha1.TString>;
2787
+ email: alepha1.TOptional<alepha1.TString>;
2788
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2789
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2790
+ firstName: alepha1.TOptional<alepha1.TString>;
2791
+ lastName: alepha1.TOptional<alepha1.TString>;
2792
+ picture: alepha1.TOptional<alepha1.TString>;
2793
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2794
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2874
2795
  }>>;
2875
- sessions(userRealmName?: string): Repository$1<alepha23.TObject<{
2876
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2877
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2878
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2879
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2880
- refreshToken: alepha23.TString;
2881
- userId: PgAttr<alepha23.TString, typeof PG_REF>;
2882
- expiresAt: alepha23.TString;
2883
- ip: alepha23.TOptional<alepha23.TString>;
2884
- userAgent: alepha23.TOptional<alepha23.TObject<{
2885
- os: alepha23.TString;
2886
- browser: alepha23.TString;
2887
- device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2796
+ sessions(userRealmName?: string): Repository$1<alepha1.TObject<{
2797
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2798
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2799
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2800
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2801
+ refreshToken: alepha1.TString;
2802
+ userId: PgAttr<alepha1.TString, typeof PG_REF>;
2803
+ expiresAt: alepha1.TString;
2804
+ ip: alepha1.TOptional<alepha1.TString>;
2805
+ userAgent: alepha1.TOptional<alepha1.TObject<{
2806
+ os: alepha1.TString;
2807
+ browser: alepha1.TString;
2808
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2888
2809
  }>>;
2889
2810
  }>>;
2890
- identities(userRealmName?: string): Repository$1<alepha23.TObject<{
2891
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2892
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2893
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2894
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2895
- userId: PgAttr<alepha23.TString, typeof PG_REF>;
2896
- password: alepha23.TOptional<alepha23.TString>;
2897
- provider: alepha23.TString;
2898
- providerUserId: alepha23.TOptional<alepha23.TString>;
2899
- providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
2811
+ identities(userRealmName?: string): Repository$1<alepha1.TObject<{
2812
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2813
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2814
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2815
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2816
+ userId: PgAttr<alepha1.TString, typeof PG_REF>;
2817
+ password: alepha1.TOptional<alepha1.TString>;
2818
+ provider: alepha1.TString;
2819
+ providerUserId: alepha1.TOptional<alepha1.TString>;
2820
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
2900
2821
  }>>;
2901
2822
  /**
2902
2823
  * Random delay to prevent timing attacks (50-200ms)
@@ -2912,36 +2833,36 @@ declare class SessionService {
2912
2833
  sessionId: string;
2913
2834
  }>;
2914
2835
  refreshSession(refreshToken: string, userRealmName?: string): Promise<{
2915
- user: PgStatic<alepha23.TObject<{
2916
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2917
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2918
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2919
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2920
- realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2921
- username: alepha23.TOptional<alepha23.TString>;
2922
- email: alepha23.TOptional<alepha23.TString>;
2923
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2924
- roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2925
- firstName: alepha23.TOptional<alepha23.TString>;
2926
- lastName: alepha23.TOptional<alepha23.TString>;
2927
- picture: alepha23.TOptional<alepha23.TString>;
2928
- enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2929
- emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2930
- }>, PgRelationMap<alepha23.TObject<{
2931
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2932
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2933
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2934
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2935
- realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2936
- username: alepha23.TOptional<alepha23.TString>;
2937
- email: alepha23.TOptional<alepha23.TString>;
2938
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2939
- roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2940
- firstName: alepha23.TOptional<alepha23.TString>;
2941
- lastName: alepha23.TOptional<alepha23.TString>;
2942
- picture: alepha23.TOptional<alepha23.TString>;
2943
- enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2944
- emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2836
+ user: PgStatic<alepha1.TObject<{
2837
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2838
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2839
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2840
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2841
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2842
+ username: alepha1.TOptional<alepha1.TString>;
2843
+ email: alepha1.TOptional<alepha1.TString>;
2844
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2845
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2846
+ firstName: alepha1.TOptional<alepha1.TString>;
2847
+ lastName: alepha1.TOptional<alepha1.TString>;
2848
+ picture: alepha1.TOptional<alepha1.TString>;
2849
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2850
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2851
+ }>, PgRelationMap<alepha1.TObject<{
2852
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2853
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2854
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2855
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2856
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2857
+ username: alepha1.TOptional<alepha1.TString>;
2858
+ email: alepha1.TOptional<alepha1.TString>;
2859
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2860
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2861
+ firstName: alepha1.TOptional<alepha1.TString>;
2862
+ lastName: alepha1.TOptional<alepha1.TString>;
2863
+ picture: alepha1.TOptional<alepha1.TString>;
2864
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2865
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2945
2866
  }>>>;
2946
2867
  expiresIn: number;
2947
2868
  sessionId: string;
@@ -3003,7 +2924,7 @@ declare class SessionService {
3003
2924
  *
3004
2925
  * @module alepha.api.users
3005
2926
  */
3006
- declare const AlephaApiUsers: alepha23.Service<alepha23.Module>;
2927
+ declare const AlephaApiUsers: alepha1.Service<alepha1.Module>;
3007
2928
  //#endregion
3008
2929
  export { $userRealm, AdminIdentityController, AdminSessionController, AdminUserController, AlephaApiUsers, CompletePasswordResetRequest, CompleteRegistrationRequest, CreateUser, CredentialService, DEFAULT_USER_REALM_NAME, IdentityEntity, IdentityQuery, IdentityResource, IdentityService, LoginInput, PasswordResetIntentResponse, RealmAuthSettings, RegisterInput, RegistrationIntentResponse, RegistrationService, ResetPasswordInput, ResetPasswordRequest, 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 };
3009
2930
  //# sourceMappingURL=index.d.ts.map