@alepha/ui 0.13.5 → 0.13.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { SidebarNode } from "@alepha/ui";
2
2
  import { AuthRouter } from "@alepha/ui/auth";
3
- import * as alepha1543 from "alepha";
3
+ import * as alepha1532 from "alepha";
4
4
  import { Alepha, AlephaError, Async, FileLike, InstantiableClass, LogLevel, LoggerInterface, Page, Page as Page$1, PageQuery, Primitive, Service, Static, StaticEncode, StreamLike, TArray, TFile, TNull, TObject, TOptional, TRecord, TSchema, TStream, TString, TUnion, TVoid } from "alepha";
5
5
  import * as react0 from "react";
6
6
  import { FC, ReactNode } from "react";
@@ -25,28 +25,28 @@ import { PgTransactionConfig } from "drizzle-orm/pg-core/session";
25
25
  import * as DrizzleKit from "drizzle-kit/api";
26
26
 
27
27
  //#region ../../../alepha/src/security/schemas/userAccountInfoSchema.d.ts
28
- declare const userAccountInfoSchema: alepha1543.TObject<{
29
- id: alepha1543.TString;
30
- name: alepha1543.TOptional<alepha1543.TString>;
31
- email: alepha1543.TOptional<alepha1543.TString>;
32
- username: alepha1543.TOptional<alepha1543.TString>;
33
- picture: alepha1543.TOptional<alepha1543.TString>;
34
- sessionId: alepha1543.TOptional<alepha1543.TString>;
35
- organizations: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
36
- roles: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
28
+ declare const userAccountInfoSchema: alepha1532.TObject<{
29
+ id: alepha1532.TString;
30
+ name: alepha1532.TOptional<alepha1532.TString>;
31
+ email: alepha1532.TOptional<alepha1532.TString>;
32
+ username: alepha1532.TOptional<alepha1532.TString>;
33
+ picture: alepha1532.TOptional<alepha1532.TString>;
34
+ sessionId: alepha1532.TOptional<alepha1532.TString>;
35
+ organizations: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
36
+ roles: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
37
37
  }>;
38
38
  type UserAccount = Static<typeof userAccountInfoSchema>;
39
39
  //#endregion
40
40
  //#region ../../../alepha/src/server/schemas/errorSchema.d.ts
41
- declare const errorSchema: alepha1543.TObject<{
42
- error: alepha1543.TString;
43
- status: alepha1543.TInteger;
44
- message: alepha1543.TString;
45
- details: alepha1543.TOptional<alepha1543.TString>;
46
- requestId: alepha1543.TOptional<alepha1543.TString>;
47
- cause: alepha1543.TOptional<alepha1543.TObject<{
48
- name: alepha1543.TString;
49
- message: alepha1543.TString;
41
+ declare const errorSchema: alepha1532.TObject<{
42
+ error: alepha1532.TString;
43
+ status: alepha1532.TInteger;
44
+ message: alepha1532.TString;
45
+ details: alepha1532.TOptional<alepha1532.TString>;
46
+ requestId: alepha1532.TOptional<alepha1532.TString>;
47
+ cause: alepha1532.TOptional<alepha1532.TObject<{
48
+ name: alepha1532.TString;
49
+ message: alepha1532.TString;
50
50
  }>>;
51
51
  }>;
52
52
  type ErrorSchema = Static<typeof errorSchema>;
@@ -285,15 +285,15 @@ interface WebRequestEvent {
285
285
  }
286
286
  //#endregion
287
287
  //#region ../../../alepha/src/logger/schemas/logEntrySchema.d.ts
288
- declare const logEntrySchema: alepha1543.TObject<{
289
- level: alepha1543.TUnsafe<"TRACE" | "SILENT" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
290
- message: alepha1543.TString;
291
- service: alepha1543.TString;
292
- module: alepha1543.TString;
293
- context: alepha1543.TOptional<alepha1543.TString>;
294
- app: alepha1543.TOptional<alepha1543.TString>;
295
- data: alepha1543.TOptional<alepha1543.TAny>;
296
- timestamp: alepha1543.TNumber;
288
+ declare const logEntrySchema: alepha1532.TObject<{
289
+ level: alepha1532.TUnsafe<"TRACE" | "SILENT" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
290
+ message: alepha1532.TString;
291
+ service: alepha1532.TString;
292
+ module: alepha1532.TString;
293
+ context: alepha1532.TOptional<alepha1532.TString>;
294
+ app: alepha1532.TOptional<alepha1532.TString>;
295
+ data: alepha1532.TOptional<alepha1532.TAny>;
296
+ timestamp: alepha1532.TNumber;
297
297
  }>;
298
298
  type LogEntry = Static<typeof logEntrySchema>;
299
299
  //#endregion
@@ -308,8 +308,8 @@ declare class DateTimeProvider {
308
308
  protected readonly timeouts: Timeout[];
309
309
  protected readonly intervals: Interval[];
310
310
  constructor();
311
- protected readonly onStart: alepha1543.HookPrimitive<"start">;
312
- protected readonly onStop: alepha1543.HookPrimitive<"stop">;
311
+ protected readonly onStart: alepha1532.HookPrimitive<"start">;
312
+ protected readonly onStop: alepha1532.HookPrimitive<"stop">;
313
313
  setLocale(locale: string): void;
314
314
  isDateTime(value: unknown): value is DateTime;
315
315
  /**
@@ -441,7 +441,7 @@ declare class Logger implements LoggerInterface {
441
441
  }
442
442
  //#endregion
443
443
  //#region ../../../alepha/src/logger/index.d.ts
444
- declare const envSchema$9: alepha1543.TObject<{
444
+ declare const envSchema$9: alepha1532.TObject<{
445
445
  /**
446
446
  * Default log level for the application.
447
447
  *
@@ -458,14 +458,14 @@ declare const envSchema$9: alepha1543.TObject<{
458
458
  * LOG_LEVEL=my.module.name:debug,info # Set debug level for my.module.name and info for all other modules
459
459
  * LOG_LEVEL=alepha:trace, info # Set trace level for all alepha modules and info for all other modules
460
460
  */
461
- LOG_LEVEL: alepha1543.TOptional<alepha1543.TString>;
461
+ LOG_LEVEL: alepha1532.TOptional<alepha1532.TString>;
462
462
  /**
463
463
  * Built-in log formats.
464
464
  * - "json" - JSON format, useful for structured logging and log aggregation. {@link JsonFormatterProvider}
465
465
  * - "pretty" - Simple text format, human-readable, with colors. {@link SimpleFormatterProvider}
466
466
  * - "raw" - Raw format, no formatting, just the message. {@link RawFormatterProvider}
467
467
  */
468
- LOG_FORMAT: alepha1543.TOptional<alepha1543.TUnsafe<"json" | "pretty" | "raw">>;
468
+ LOG_FORMAT: alepha1532.TOptional<alepha1532.TUnsafe<"json" | "pretty" | "raw">>;
469
469
  }>;
470
470
  declare module "alepha" {
471
471
  interface Env extends Partial<Static<typeof envSchema$9>> {}
@@ -502,8 +502,8 @@ declare class ServerTimingProvider {
502
502
  prefix: string;
503
503
  disabled: boolean;
504
504
  };
505
- readonly onRequest: alepha1543.HookPrimitive<"server:onRequest">;
506
- readonly onResponse: alepha1543.HookPrimitive<"server:onResponse">;
505
+ readonly onRequest: alepha1532.HookPrimitive<"server:onRequest">;
506
+ readonly onResponse: alepha1532.HookPrimitive<"server:onResponse">;
507
507
  protected get handlerName(): string;
508
508
  beginTiming(name: string): void;
509
509
  endTiming(name: string): void;
@@ -567,11 +567,11 @@ declare class ServerProvider {
567
567
  /**
568
568
  * When a Node.js HTTP request is received from outside. (Vercel, AWS Lambda, etc.)
569
569
  */
570
- protected readonly onNodeRequest: alepha1543.HookPrimitive<"node:request">;
570
+ protected readonly onNodeRequest: alepha1532.HookPrimitive<"node:request">;
571
571
  /**
572
572
  * When a Web (Fetch API) request is received from outside. (Netlify, Cloudflare Workers, etc.)
573
573
  */
574
- protected readonly onWebRequest: alepha1543.HookPrimitive<"web:request">;
574
+ protected readonly onWebRequest: alepha1532.HookPrimitive<"web:request">;
575
575
  /**
576
576
  * Handle Node.js HTTP request event.
577
577
  *
@@ -909,26 +909,26 @@ type ServerActionHandler<TConfig extends RequestConfigSchema = RequestConfigSche
909
909
  interface ServerActionRequest<TConfig extends RequestConfigSchema> extends ServerRequest<TConfig> {}
910
910
  //#endregion
911
911
  //#region ../../../alepha/src/server/schemas/okSchema.d.ts
912
- declare const okSchema: alepha1543.TObject<{
913
- ok: alepha1543.TBoolean;
914
- id: alepha1543.TOptional<alepha1543.TUnion<[alepha1543.TString, alepha1543.TInteger]>>;
915
- count: alepha1543.TOptional<alepha1543.TNumber>;
912
+ declare const okSchema: alepha1532.TObject<{
913
+ ok: alepha1532.TBoolean;
914
+ id: alepha1532.TOptional<alepha1532.TUnion<[alepha1532.TString, alepha1532.TInteger]>>;
915
+ count: alepha1532.TOptional<alepha1532.TNumber>;
916
916
  }>;
917
917
  type Ok = Static<typeof okSchema>;
918
918
  //#endregion
919
919
  //#region ../../../alepha/src/server/providers/BunHttpServerProvider.d.ts
920
- declare const envSchema$8: alepha1543.TObject<{
921
- SERVER_PORT: alepha1543.TInteger;
922
- SERVER_HOST: alepha1543.TString;
920
+ declare const envSchema$8: alepha1532.TObject<{
921
+ SERVER_PORT: alepha1532.TInteger;
922
+ SERVER_HOST: alepha1532.TString;
923
923
  }>;
924
924
  declare module "alepha" {
925
925
  interface Env extends Partial<Static<typeof envSchema$8>> {}
926
926
  }
927
927
  //#endregion
928
928
  //#region ../../../alepha/src/server/providers/NodeHttpServerProvider.d.ts
929
- declare const envSchema$7: alepha1543.TObject<{
930
- SERVER_PORT: alepha1543.TInteger;
931
- SERVER_HOST: alepha1543.TString;
929
+ declare const envSchema$7: alepha1532.TObject<{
930
+ SERVER_PORT: alepha1532.TInteger;
931
+ SERVER_HOST: alepha1532.TString;
932
932
  }>;
933
933
  declare module "alepha" {
934
934
  interface Env extends Partial<Static<typeof envSchema$7>> {}
@@ -1012,21 +1012,21 @@ interface UserAccountToken extends UserAccount {
1012
1012
  }
1013
1013
  //#endregion
1014
1014
  //#region ../../../alepha/src/security/schemas/roleSchema.d.ts
1015
- declare const roleSchema: alepha1543.TObject<{
1016
- name: alepha1543.TString;
1017
- description: alepha1543.TOptional<alepha1543.TString>;
1018
- default: alepha1543.TOptional<alepha1543.TBoolean>;
1019
- permissions: alepha1543.TArray<alepha1543.TObject<{
1020
- name: alepha1543.TString;
1021
- ownership: alepha1543.TOptional<alepha1543.TBoolean>;
1022
- exclude: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
1015
+ declare const roleSchema: alepha1532.TObject<{
1016
+ name: alepha1532.TString;
1017
+ description: alepha1532.TOptional<alepha1532.TString>;
1018
+ default: alepha1532.TOptional<alepha1532.TBoolean>;
1019
+ permissions: alepha1532.TArray<alepha1532.TObject<{
1020
+ name: alepha1532.TString;
1021
+ ownership: alepha1532.TOptional<alepha1532.TBoolean>;
1022
+ exclude: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
1023
1023
  }>>;
1024
1024
  }>;
1025
1025
  type Role = Static<typeof roleSchema>;
1026
1026
  //#endregion
1027
1027
  //#region ../../../alepha/src/security/providers/SecurityProvider.d.ts
1028
- declare const envSchema$6: alepha1543.TObject<{
1029
- APP_SECRET: alepha1543.TString;
1028
+ declare const envSchema$6: alepha1532.TObject<{
1029
+ APP_SECRET: alepha1532.TString;
1030
1030
  }>;
1031
1031
  declare module "alepha" {
1032
1032
  interface Env extends Partial<Static<typeof envSchema$6>> {}
@@ -1191,23 +1191,23 @@ declare module "alepha/server" {
1191
1191
  */
1192
1192
  //#endregion
1193
1193
  //#region ../../../alepha/src/server-links/schemas/apiLinksResponseSchema.d.ts
1194
- declare const apiLinkSchema: alepha1543.TObject<{
1195
- name: alepha1543.TString;
1196
- group: alepha1543.TOptional<alepha1543.TString>;
1197
- path: alepha1543.TString;
1198
- method: alepha1543.TOptional<alepha1543.TString>;
1199
- requestBodyType: alepha1543.TOptional<alepha1543.TString>;
1200
- service: alepha1543.TOptional<alepha1543.TString>;
1194
+ declare const apiLinkSchema: alepha1532.TObject<{
1195
+ name: alepha1532.TString;
1196
+ group: alepha1532.TOptional<alepha1532.TString>;
1197
+ path: alepha1532.TString;
1198
+ method: alepha1532.TOptional<alepha1532.TString>;
1199
+ requestBodyType: alepha1532.TOptional<alepha1532.TString>;
1200
+ service: alepha1532.TOptional<alepha1532.TString>;
1201
1201
  }>;
1202
- declare const apiLinksResponseSchema: alepha1543.TObject<{
1203
- prefix: alepha1543.TOptional<alepha1543.TString>;
1204
- links: alepha1543.TArray<alepha1543.TObject<{
1205
- name: alepha1543.TString;
1206
- group: alepha1543.TOptional<alepha1543.TString>;
1207
- path: alepha1543.TString;
1208
- method: alepha1543.TOptional<alepha1543.TString>;
1209
- requestBodyType: alepha1543.TOptional<alepha1543.TString>;
1210
- service: alepha1543.TOptional<alepha1543.TString>;
1202
+ declare const apiLinksResponseSchema: alepha1532.TObject<{
1203
+ prefix: alepha1532.TOptional<alepha1532.TString>;
1204
+ links: alepha1532.TArray<alepha1532.TObject<{
1205
+ name: alepha1532.TString;
1206
+ group: alepha1532.TOptional<alepha1532.TString>;
1207
+ path: alepha1532.TString;
1208
+ method: alepha1532.TOptional<alepha1532.TString>;
1209
+ requestBodyType: alepha1532.TOptional<alepha1532.TString>;
1210
+ service: alepha1532.TOptional<alepha1532.TString>;
1211
1211
  }>>;
1212
1212
  }>;
1213
1213
  type ApiLinksResponse = Static<typeof apiLinksResponseSchema>;
@@ -1548,8 +1548,8 @@ declare class Redirection extends Error {
1548
1548
  }
1549
1549
  //#endregion
1550
1550
  //#region ../../../react/src/core/providers/ReactPageProvider.d.ts
1551
- declare const envSchema$5: alepha1543.TObject<{
1552
- REACT_STRICT_MODE: alepha1543.TBoolean;
1551
+ declare const envSchema$5: alepha1532.TObject<{
1552
+ REACT_STRICT_MODE: alepha1532.TBoolean;
1553
1553
  }>;
1554
1554
  declare module "alepha" {
1555
1555
  interface Env extends Partial<Static<typeof envSchema$5>> {}
@@ -1592,7 +1592,7 @@ declare class ReactPageProvider {
1592
1592
  }, params?: Record<string, any>): string;
1593
1593
  compile(path: string, params?: Record<string, string>): string;
1594
1594
  protected renderView(index: number, path: string, view: ReactNode | undefined, page: PageRoute): ReactNode;
1595
- protected readonly configure: alepha1543.HookPrimitive<"configure">;
1595
+ protected readonly configure: alepha1532.HookPrimitive<"configure">;
1596
1596
  protected map(pages: Array<PagePrimitive>, target: PagePrimitive): PageRouteEntry;
1597
1597
  add(entry: PageRouteEntry): void;
1598
1598
  protected createMatch(page: PageRoute): string;
@@ -1919,14 +1919,14 @@ declare class ReactBrowserRouterProvider extends RouterProvider<BrowserRoute> {
1919
1919
  protected readonly alepha: Alepha;
1920
1920
  protected readonly pageApi: ReactPageProvider;
1921
1921
  add(entry: PageRouteEntry): void;
1922
- protected readonly configure: alepha1543.HookPrimitive<"configure">;
1922
+ protected readonly configure: alepha1532.HookPrimitive<"configure">;
1923
1923
  transition(url: URL, previous?: PreviousLayerData[], meta?: {}): Promise<string | void>;
1924
1924
  root(state: ReactRouterState): ReactNode;
1925
1925
  }
1926
1926
  //#endregion
1927
1927
  //#region ../../../react/src/core/providers/ReactBrowserProvider.d.ts
1928
- declare const envSchema$4: alepha1543.TObject<{
1929
- REACT_ROOT_ID: alepha1543.TString;
1928
+ declare const envSchema$4: alepha1532.TObject<{
1929
+ REACT_ROOT_ID: alepha1532.TString;
1930
1930
  }>;
1931
1931
  declare module "alepha" {
1932
1932
  interface Env extends Partial<Static<typeof envSchema$4>> {}
@@ -1934,8 +1934,8 @@ declare module "alepha" {
1934
1934
  /**
1935
1935
  * React browser renderer configuration atom
1936
1936
  */
1937
- declare const reactBrowserOptions: alepha1543.Atom<alepha1543.TObject<{
1938
- scrollRestoration: alepha1543.TUnsafe<"top" | "manual">;
1937
+ declare const reactBrowserOptions: alepha1532.Atom<alepha1532.TObject<{
1938
+ scrollRestoration: alepha1532.TUnsafe<"top" | "manual">;
1939
1939
  }>, "alepha.react.browser.options">;
1940
1940
  type ReactBrowserRendererOptions = Static<typeof reactBrowserOptions.schema>;
1941
1941
  declare module "alepha" {
@@ -1983,8 +1983,8 @@ declare class ReactBrowserProvider {
1983
1983
  * Get embedded layers from the server.
1984
1984
  */
1985
1985
  protected getHydrationState(): ReactHydrationState | undefined;
1986
- protected readonly onTransitionEnd: alepha1543.HookPrimitive<"react:transition:end">;
1987
- readonly ready: alepha1543.HookPrimitive<"ready">;
1986
+ protected readonly onTransitionEnd: alepha1532.HookPrimitive<"react:transition:end">;
1987
+ readonly ready: alepha1532.HookPrimitive<"ready">;
1988
1988
  }
1989
1989
  interface RouterGoOptions {
1990
1990
  replace?: boolean;
@@ -2546,10 +2546,10 @@ declare class FileDetector {
2546
2546
  }
2547
2547
  //#endregion
2548
2548
  //#region ../../../react/src/core/providers/ReactServerProvider.d.ts
2549
- declare const envSchema$3: alepha1543.TObject<{
2550
- REACT_SSR_ENABLED: alepha1543.TOptional<alepha1543.TBoolean>;
2551
- REACT_ROOT_ID: alepha1543.TString;
2552
- REACT_SERVER_TEMPLATE: alepha1543.TOptional<alepha1543.TString>;
2549
+ declare const envSchema$3: alepha1532.TObject<{
2550
+ REACT_SSR_ENABLED: alepha1532.TOptional<alepha1532.TBoolean>;
2551
+ REACT_ROOT_ID: alepha1532.TString;
2552
+ REACT_SERVER_TEMPLATE: alepha1532.TOptional<alepha1532.TString>;
2553
2553
  }>;
2554
2554
  declare module "alepha" {
2555
2555
  interface Env extends Partial<Static<typeof envSchema$3>> {}
@@ -2560,11 +2560,11 @@ declare module "alepha" {
2560
2560
  /**
2561
2561
  * React server provider configuration atom
2562
2562
  */
2563
- declare const reactServerOptions: alepha1543.Atom<alepha1543.TObject<{
2564
- publicDir: alepha1543.TString;
2565
- staticServer: alepha1543.TObject<{
2566
- disabled: alepha1543.TBoolean;
2567
- path: alepha1543.TString;
2563
+ declare const reactServerOptions: alepha1532.Atom<alepha1532.TObject<{
2564
+ publicDir: alepha1532.TString;
2565
+ staticServer: alepha1532.TObject<{
2566
+ disabled: alepha1532.TBoolean;
2567
+ path: alepha1532.TString;
2568
2568
  }>;
2569
2569
  }>, "alepha.react.server.options">;
2570
2570
  type ReactServerProviderOptions = Static<typeof reactServerOptions.schema>;
@@ -2678,16 +2678,16 @@ declare module "alepha" {
2678
2678
  */
2679
2679
  //#endregion
2680
2680
  //#region ../../../alepha/src/server-auth/schemas/tokensSchema.d.ts
2681
- declare const tokensSchema: alepha1543.TObject<{
2682
- provider: alepha1543.TString;
2683
- access_token: alepha1543.TString;
2684
- issued_at: alepha1543.TNumber;
2685
- expires_in: alepha1543.TOptional<alepha1543.TNumber>;
2686
- refresh_token: alepha1543.TOptional<alepha1543.TString>;
2687
- refresh_token_expires_in: alepha1543.TOptional<alepha1543.TNumber>;
2688
- refresh_expires_in: alepha1543.TOptional<alepha1543.TNumber>;
2689
- id_token: alepha1543.TOptional<alepha1543.TString>;
2690
- scope: alepha1543.TOptional<alepha1543.TString>;
2681
+ declare const tokensSchema: alepha1532.TObject<{
2682
+ provider: alepha1532.TString;
2683
+ access_token: alepha1532.TString;
2684
+ issued_at: alepha1532.TNumber;
2685
+ expires_in: alepha1532.TOptional<alepha1532.TNumber>;
2686
+ refresh_token: alepha1532.TOptional<alepha1532.TString>;
2687
+ refresh_token_expires_in: alepha1532.TOptional<alepha1532.TNumber>;
2688
+ refresh_expires_in: alepha1532.TOptional<alepha1532.TNumber>;
2689
+ id_token: alepha1532.TOptional<alepha1532.TString>;
2690
+ scope: alepha1532.TOptional<alepha1532.TString>;
2691
2691
  }>;
2692
2692
  type Tokens = Static<typeof tokensSchema>;
2693
2693
  //#endregion
@@ -2757,8 +2757,8 @@ declare class ReactAuth {
2757
2757
  protected readonly alepha: Alepha;
2758
2758
  protected readonly httpClient: HttpClient;
2759
2759
  protected readonly linkProvider: LinkProvider;
2760
- protected readonly onBeginTransition: alepha1543.HookPrimitive<"react:transition:begin">;
2761
- protected readonly onFetchRequest: alepha1543.HookPrimitive<"client:onRequest">;
2760
+ protected readonly onBeginTransition: alepha1532.HookPrimitive<"react:transition:begin">;
2761
+ protected readonly onFetchRequest: alepha1532.HookPrimitive<"client:onRequest">;
2762
2762
  /**
2763
2763
  * Get the current authenticated user.
2764
2764
  *
@@ -3690,11 +3690,11 @@ declare class DrizzleKitProvider {
3690
3690
  */
3691
3691
  importDrizzleKit(): typeof DrizzleKit;
3692
3692
  }
3693
- declare const devMigrationsSchema: alepha1543.TObject<{
3694
- id: alepha1543.TNumber;
3695
- name: alepha1543.TString;
3696
- snapshot: alepha1543.TString;
3697
- created_at: alepha1543.TString;
3693
+ declare const devMigrationsSchema: alepha1532.TObject<{
3694
+ id: alepha1532.TNumber;
3695
+ name: alepha1532.TString;
3696
+ snapshot: alepha1532.TString;
3697
+ created_at: alepha1532.TString;
3698
3698
  }>;
3699
3699
  type DevMigrations = Static<typeof devMigrationsSchema>;
3700
3700
  //#endregion
@@ -3891,7 +3891,7 @@ declare class QueryManager {
3891
3891
  createPagination<T$1>(entities: T$1[], limit?: number, offset?: number, sort?: Array<{
3892
3892
  column: string;
3893
3893
  direction: "asc" | "desc";
3894
- }>): alepha1543.Page<T$1>;
3894
+ }>): alepha1532.Page<T$1>;
3895
3895
  }
3896
3896
  interface PgJoin {
3897
3897
  table: string;
@@ -4196,8 +4196,8 @@ interface StatementOptions {
4196
4196
  }
4197
4197
  //#endregion
4198
4198
  //#region ../../../alepha/src/lock/primitives/$lock.d.ts
4199
- declare const envSchema$2: alepha1543.TObject<{
4200
- LOCK_PREFIX_KEY: alepha1543.TString;
4199
+ declare const envSchema$2: alepha1532.TObject<{
4200
+ LOCK_PREFIX_KEY: alepha1532.TString;
4201
4201
  }>;
4202
4202
  declare module "alepha" {
4203
4203
  interface Env extends Partial<Static<typeof envSchema$2>> {}
@@ -4207,7 +4207,7 @@ declare module "alepha" {
4207
4207
  declare module "alepha" {
4208
4208
  interface Env extends Partial<Static<typeof envSchema$1>> {}
4209
4209
  }
4210
- declare const envSchema$1: alepha1543.TObject<{
4210
+ declare const envSchema$1: alepha1532.TObject<{
4211
4211
  /**
4212
4212
  * Main configuration for database connection.
4213
4213
  * Accept a string in the format of a Postgres connection URL.
@@ -4215,21 +4215,21 @@ declare const envSchema$1: alepha1543.TObject<{
4215
4215
  * or
4216
4216
  * Example: postgres://user:password@localhost:5432/database?sslmode=require
4217
4217
  */
4218
- DATABASE_URL: alepha1543.TOptional<alepha1543.TString>;
4218
+ DATABASE_URL: alepha1532.TOptional<alepha1532.TString>;
4219
4219
  /**
4220
4220
  * In addition to the DATABASE_URL, you can specify the postgres schema name.
4221
4221
  *
4222
4222
  * It will monkey patch drizzle tables.
4223
4223
  */
4224
- POSTGRES_SCHEMA: alepha1543.TOptional<alepha1543.TString>;
4224
+ POSTGRES_SCHEMA: alepha1532.TOptional<alepha1532.TString>;
4225
4225
  }>;
4226
4226
  //#endregion
4227
4227
  //#region ../../../alepha/src/orm/providers/drivers/NodeSqliteProvider.d.ts
4228
4228
  /**
4229
4229
  * Configuration options for the Node.js SQLite database provider.
4230
4230
  */
4231
- declare const nodeSqliteOptions: alepha1543.Atom<alepha1543.TObject<{
4232
- path: alepha1543.TOptional<alepha1543.TString>;
4231
+ declare const nodeSqliteOptions: alepha1532.Atom<alepha1532.TObject<{
4232
+ path: alepha1532.TOptional<alepha1532.TString>;
4233
4233
  }>, "alepha.postgres.node-sqlite.options">;
4234
4234
  type NodeSqliteProviderOptions = Static<typeof nodeSqliteOptions.schema>;
4235
4235
  declare module "alepha" {
@@ -4536,8 +4536,8 @@ interface BucketFileOptions {
4536
4536
  /**
4537
4537
  * Local file storage configuration atom
4538
4538
  */
4539
- declare const localFileStorageOptions: alepha1543.Atom<alepha1543.TObject<{
4540
- storagePath: alepha1543.TString;
4539
+ declare const localFileStorageOptions: alepha1532.Atom<alepha1532.TObject<{
4540
+ storagePath: alepha1532.TString;
4541
4541
  }>, "alepha.bucket.local.options">;
4542
4542
  type LocalFileStorageProviderOptions = Static<typeof localFileStorageOptions.schema>;
4543
4543
  declare module "alepha" {
@@ -4581,72 +4581,72 @@ declare module "alepha" {
4581
4581
  */
4582
4582
  //#endregion
4583
4583
  //#region ../../../alepha/src/api-files/entities/files.d.ts
4584
- declare const files: EntityPrimitive<alepha1543.TObject<{
4585
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4586
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4587
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4588
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4589
- blobId: alepha1543.TString;
4590
- creator: alepha1543.TOptional<alepha1543.TString>;
4591
- creatorRealm: alepha1543.TOptional<alepha1543.TString>;
4592
- creatorName: alepha1543.TOptional<alepha1543.TString>;
4593
- bucket: alepha1543.TString;
4594
- expirationDate: alepha1543.TOptional<alepha1543.TString>;
4595
- name: alepha1543.TString;
4596
- size: alepha1543.TNumber;
4597
- mimeType: alepha1543.TString;
4598
- tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
4599
- checksum: alepha1543.TOptional<alepha1543.TString>;
4584
+ declare const files: EntityPrimitive<alepha1532.TObject<{
4585
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4586
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4587
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4588
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4589
+ blobId: alepha1532.TString;
4590
+ creator: alepha1532.TOptional<alepha1532.TString>;
4591
+ creatorRealm: alepha1532.TOptional<alepha1532.TString>;
4592
+ creatorName: alepha1532.TOptional<alepha1532.TString>;
4593
+ bucket: alepha1532.TString;
4594
+ expirationDate: alepha1532.TOptional<alepha1532.TString>;
4595
+ name: alepha1532.TString;
4596
+ size: alepha1532.TNumber;
4597
+ mimeType: alepha1532.TString;
4598
+ tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
4599
+ checksum: alepha1532.TOptional<alepha1532.TString>;
4600
4600
  }>>;
4601
4601
  type FileEntity = Static<typeof files.schema>;
4602
4602
  //#endregion
4603
4603
  //#region ../../../alepha/src/api-files/schemas/fileQuerySchema.d.ts
4604
- declare const fileQuerySchema: alepha1543.TObject<{
4605
- page: alepha1543.TOptional<alepha1543.TInteger>;
4606
- size: alepha1543.TOptional<alepha1543.TInteger>;
4607
- sort: alepha1543.TOptional<alepha1543.TString>;
4608
- bucket: alepha1543.TOptional<alepha1543.TString>;
4609
- tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
4610
- name: alepha1543.TOptional<alepha1543.TString>;
4611
- mimeType: alepha1543.TOptional<alepha1543.TString>;
4612
- creator: alepha1543.TOptional<alepha1543.TString>;
4613
- createdAfter: alepha1543.TOptional<alepha1543.TString>;
4614
- createdBefore: alepha1543.TOptional<alepha1543.TString>;
4604
+ declare const fileQuerySchema: alepha1532.TObject<{
4605
+ page: alepha1532.TOptional<alepha1532.TInteger>;
4606
+ size: alepha1532.TOptional<alepha1532.TInteger>;
4607
+ sort: alepha1532.TOptional<alepha1532.TString>;
4608
+ bucket: alepha1532.TOptional<alepha1532.TString>;
4609
+ tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
4610
+ name: alepha1532.TOptional<alepha1532.TString>;
4611
+ mimeType: alepha1532.TOptional<alepha1532.TString>;
4612
+ creator: alepha1532.TOptional<alepha1532.TString>;
4613
+ createdAfter: alepha1532.TOptional<alepha1532.TString>;
4614
+ createdBefore: alepha1532.TOptional<alepha1532.TString>;
4615
4615
  }>;
4616
4616
  type FileQuery = Static<typeof fileQuerySchema>;
4617
4617
  //#endregion
4618
4618
  //#region ../../../alepha/src/api-files/schemas/fileResourceSchema.d.ts
4619
- declare const fileResourceSchema: alepha1543.TObject<{
4620
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4621
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4622
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4623
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4624
- blobId: alepha1543.TString;
4625
- creator: alepha1543.TOptional<alepha1543.TString>;
4626
- creatorRealm: alepha1543.TOptional<alepha1543.TString>;
4627
- creatorName: alepha1543.TOptional<alepha1543.TString>;
4628
- bucket: alepha1543.TString;
4629
- expirationDate: alepha1543.TOptional<alepha1543.TString>;
4630
- name: alepha1543.TString;
4631
- size: alepha1543.TNumber;
4632
- mimeType: alepha1543.TString;
4633
- tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
4634
- checksum: alepha1543.TOptional<alepha1543.TString>;
4619
+ declare const fileResourceSchema: alepha1532.TObject<{
4620
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4621
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4622
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4623
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4624
+ blobId: alepha1532.TString;
4625
+ creator: alepha1532.TOptional<alepha1532.TString>;
4626
+ creatorRealm: alepha1532.TOptional<alepha1532.TString>;
4627
+ creatorName: alepha1532.TOptional<alepha1532.TString>;
4628
+ bucket: alepha1532.TString;
4629
+ expirationDate: alepha1532.TOptional<alepha1532.TString>;
4630
+ name: alepha1532.TString;
4631
+ size: alepha1532.TNumber;
4632
+ mimeType: alepha1532.TString;
4633
+ tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
4634
+ checksum: alepha1532.TOptional<alepha1532.TString>;
4635
4635
  }>;
4636
4636
  type FileResource = Static<typeof fileResourceSchema>;
4637
4637
  //#endregion
4638
4638
  //#region ../../../alepha/src/api-files/schemas/storageStatsSchema.d.ts
4639
- declare const storageStatsSchema: alepha1543.TObject<{
4640
- totalSize: alepha1543.TNumber;
4641
- totalFiles: alepha1543.TNumber;
4642
- byBucket: alepha1543.TArray<alepha1543.TObject<{
4643
- bucket: alepha1543.TString;
4644
- totalSize: alepha1543.TNumber;
4645
- fileCount: alepha1543.TNumber;
4639
+ declare const storageStatsSchema: alepha1532.TObject<{
4640
+ totalSize: alepha1532.TNumber;
4641
+ totalFiles: alepha1532.TNumber;
4642
+ byBucket: alepha1532.TArray<alepha1532.TObject<{
4643
+ bucket: alepha1532.TString;
4644
+ totalSize: alepha1532.TNumber;
4645
+ fileCount: alepha1532.TNumber;
4646
4646
  }>>;
4647
- byMimeType: alepha1543.TArray<alepha1543.TObject<{
4648
- mimeType: alepha1543.TString;
4649
- fileCount: alepha1543.TNumber;
4647
+ byMimeType: alepha1532.TArray<alepha1532.TObject<{
4648
+ mimeType: alepha1532.TString;
4649
+ fileCount: alepha1532.TNumber;
4650
4650
  }>>;
4651
4651
  }>;
4652
4652
  type StorageStats = Static<typeof storageStatsSchema>;
@@ -4655,27 +4655,27 @@ type StorageStats = Static<typeof storageStatsSchema>;
4655
4655
  declare class FileService {
4656
4656
  protected readonly alepha: Alepha;
4657
4657
  protected readonly log: Logger;
4658
- protected readonly fileRepository: Repository<alepha1543.TObject<{
4659
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4660
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4661
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4662
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4663
- blobId: alepha1543.TString;
4664
- creator: alepha1543.TOptional<alepha1543.TString>;
4665
- creatorRealm: alepha1543.TOptional<alepha1543.TString>;
4666
- creatorName: alepha1543.TOptional<alepha1543.TString>;
4667
- bucket: alepha1543.TString;
4668
- expirationDate: alepha1543.TOptional<alepha1543.TString>;
4669
- name: alepha1543.TString;
4670
- size: alepha1543.TNumber;
4671
- mimeType: alepha1543.TString;
4672
- tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
4673
- checksum: alepha1543.TOptional<alepha1543.TString>;
4658
+ protected readonly fileRepository: Repository<alepha1532.TObject<{
4659
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4660
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4661
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4662
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4663
+ blobId: alepha1532.TString;
4664
+ creator: alepha1532.TOptional<alepha1532.TString>;
4665
+ creatorRealm: alepha1532.TOptional<alepha1532.TString>;
4666
+ creatorName: alepha1532.TOptional<alepha1532.TString>;
4667
+ bucket: alepha1532.TString;
4668
+ expirationDate: alepha1532.TOptional<alepha1532.TString>;
4669
+ name: alepha1532.TString;
4670
+ size: alepha1532.TNumber;
4671
+ mimeType: alepha1532.TString;
4672
+ tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
4673
+ checksum: alepha1532.TOptional<alepha1532.TString>;
4674
4674
  }>>;
4675
4675
  protected readonly dateTimeProvider: DateTimeProvider;
4676
4676
  protected readonly defaultBucket: BucketPrimitive;
4677
- protected onUploadFile: alepha1543.HookPrimitive<"bucket:file:uploaded">;
4678
- protected onDeleteBucketFile: alepha1543.HookPrimitive<"bucket:file:deleted">;
4677
+ protected onUploadFile: alepha1532.HookPrimitive<"bucket:file:uploaded">;
4678
+ protected onDeleteBucketFile: alepha1532.HookPrimitive<"bucket:file:deleted">;
4679
4679
  /**
4680
4680
  * Calculates SHA-256 checksum of a file.
4681
4681
  *
@@ -4809,34 +4809,34 @@ declare class FileController {
4809
4809
  * Supports filtering by bucket and tags.
4810
4810
  */
4811
4811
  readonly findFiles: ActionPrimitiveFn<{
4812
- query: alepha1543.TObject<{
4813
- page: alepha1543.TOptional<alepha1543.TInteger>;
4814
- size: alepha1543.TOptional<alepha1543.TInteger>;
4815
- sort: alepha1543.TOptional<alepha1543.TString>;
4816
- bucket: alepha1543.TOptional<alepha1543.TString>;
4817
- tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
4818
- name: alepha1543.TOptional<alepha1543.TString>;
4819
- mimeType: alepha1543.TOptional<alepha1543.TString>;
4820
- creator: alepha1543.TOptional<alepha1543.TString>;
4821
- createdAfter: alepha1543.TOptional<alepha1543.TString>;
4822
- createdBefore: alepha1543.TOptional<alepha1543.TString>;
4812
+ query: alepha1532.TObject<{
4813
+ page: alepha1532.TOptional<alepha1532.TInteger>;
4814
+ size: alepha1532.TOptional<alepha1532.TInteger>;
4815
+ sort: alepha1532.TOptional<alepha1532.TString>;
4816
+ bucket: alepha1532.TOptional<alepha1532.TString>;
4817
+ tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
4818
+ name: alepha1532.TOptional<alepha1532.TString>;
4819
+ mimeType: alepha1532.TOptional<alepha1532.TString>;
4820
+ creator: alepha1532.TOptional<alepha1532.TString>;
4821
+ createdAfter: alepha1532.TOptional<alepha1532.TString>;
4822
+ createdBefore: alepha1532.TOptional<alepha1532.TString>;
4823
4823
  }>;
4824
- response: alepha1543.TPage<alepha1543.TObject<{
4825
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4826
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4827
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4828
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4829
- blobId: alepha1543.TString;
4830
- creator: alepha1543.TOptional<alepha1543.TString>;
4831
- creatorRealm: alepha1543.TOptional<alepha1543.TString>;
4832
- creatorName: alepha1543.TOptional<alepha1543.TString>;
4833
- bucket: alepha1543.TString;
4834
- expirationDate: alepha1543.TOptional<alepha1543.TString>;
4835
- name: alepha1543.TString;
4836
- size: alepha1543.TNumber;
4837
- mimeType: alepha1543.TString;
4838
- tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
4839
- checksum: alepha1543.TOptional<alepha1543.TString>;
4824
+ response: alepha1532.TPage<alepha1532.TObject<{
4825
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4826
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4827
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4828
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4829
+ blobId: alepha1532.TString;
4830
+ creator: alepha1532.TOptional<alepha1532.TString>;
4831
+ creatorRealm: alepha1532.TOptional<alepha1532.TString>;
4832
+ creatorName: alepha1532.TOptional<alepha1532.TString>;
4833
+ bucket: alepha1532.TString;
4834
+ expirationDate: alepha1532.TOptional<alepha1532.TString>;
4835
+ name: alepha1532.TString;
4836
+ size: alepha1532.TNumber;
4837
+ mimeType: alepha1532.TString;
4838
+ tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
4839
+ checksum: alepha1532.TOptional<alepha1532.TString>;
4840
4840
  }>>;
4841
4841
  }>;
4842
4842
  /**
@@ -4844,13 +4844,13 @@ declare class FileController {
4844
4844
  * Removes the file from the bucket and cleans up the database record.
4845
4845
  */
4846
4846
  readonly deleteFile: ActionPrimitiveFn<{
4847
- params: alepha1543.TObject<{
4848
- id: alepha1543.TString;
4847
+ params: alepha1532.TObject<{
4848
+ id: alepha1532.TString;
4849
4849
  }>;
4850
- response: alepha1543.TObject<{
4851
- ok: alepha1543.TBoolean;
4852
- id: alepha1543.TOptional<alepha1543.TUnion<[alepha1543.TString, alepha1543.TInteger]>>;
4853
- count: alepha1543.TOptional<alepha1543.TNumber>;
4850
+ response: alepha1532.TObject<{
4851
+ ok: alepha1532.TBoolean;
4852
+ id: alepha1532.TOptional<alepha1532.TUnion<[alepha1532.TString, alepha1532.TInteger]>>;
4853
+ count: alepha1532.TOptional<alepha1532.TNumber>;
4854
4854
  }>;
4855
4855
  }>;
4856
4856
  /**
@@ -4859,29 +4859,29 @@ declare class FileController {
4859
4859
  * Optionally specify bucket and expiration date.
4860
4860
  */
4861
4861
  readonly uploadFile: ActionPrimitiveFn<{
4862
- body: alepha1543.TObject<{
4863
- file: alepha1543.TFile;
4862
+ body: alepha1532.TObject<{
4863
+ file: alepha1532.TFile;
4864
4864
  }>;
4865
- query: alepha1543.TObject<{
4866
- expirationDate: alepha1543.TOptional<alepha1543.TString>;
4867
- bucket: alepha1543.TOptional<alepha1543.TString>;
4865
+ query: alepha1532.TObject<{
4866
+ expirationDate: alepha1532.TOptional<alepha1532.TString>;
4867
+ bucket: alepha1532.TOptional<alepha1532.TString>;
4868
4868
  }>;
4869
- response: alepha1543.TObject<{
4870
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4871
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4872
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4873
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4874
- blobId: alepha1543.TString;
4875
- creator: alepha1543.TOptional<alepha1543.TString>;
4876
- creatorRealm: alepha1543.TOptional<alepha1543.TString>;
4877
- creatorName: alepha1543.TOptional<alepha1543.TString>;
4878
- bucket: alepha1543.TString;
4879
- expirationDate: alepha1543.TOptional<alepha1543.TString>;
4880
- name: alepha1543.TString;
4881
- size: alepha1543.TNumber;
4882
- mimeType: alepha1543.TString;
4883
- tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
4884
- checksum: alepha1543.TOptional<alepha1543.TString>;
4869
+ response: alepha1532.TObject<{
4870
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4871
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4872
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4873
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4874
+ blobId: alepha1532.TString;
4875
+ creator: alepha1532.TOptional<alepha1532.TString>;
4876
+ creatorRealm: alepha1532.TOptional<alepha1532.TString>;
4877
+ creatorName: alepha1532.TOptional<alepha1532.TString>;
4878
+ bucket: alepha1532.TString;
4879
+ expirationDate: alepha1532.TOptional<alepha1532.TString>;
4880
+ name: alepha1532.TString;
4881
+ size: alepha1532.TNumber;
4882
+ mimeType: alepha1532.TString;
4883
+ tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
4884
+ checksum: alepha1532.TOptional<alepha1532.TString>;
4885
4885
  }>;
4886
4886
  }>;
4887
4887
  /**
@@ -4889,30 +4889,30 @@ declare class FileController {
4889
4889
  * Allows updating name, tags, and expiration date without modifying file content.
4890
4890
  */
4891
4891
  readonly updateFile: ActionPrimitiveFn<{
4892
- params: alepha1543.TObject<{
4893
- id: alepha1543.TString;
4892
+ params: alepha1532.TObject<{
4893
+ id: alepha1532.TString;
4894
4894
  }>;
4895
- body: alepha1543.TObject<{
4896
- name: alepha1543.TOptional<alepha1543.TString>;
4897
- tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
4898
- expirationDate: alepha1543.TOptional<alepha1543.TString>;
4895
+ body: alepha1532.TObject<{
4896
+ name: alepha1532.TOptional<alepha1532.TString>;
4897
+ tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
4898
+ expirationDate: alepha1532.TOptional<alepha1532.TString>;
4899
4899
  }>;
4900
- response: alepha1543.TObject<{
4901
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4902
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4903
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4904
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4905
- blobId: alepha1543.TString;
4906
- creator: alepha1543.TOptional<alepha1543.TString>;
4907
- creatorRealm: alepha1543.TOptional<alepha1543.TString>;
4908
- creatorName: alepha1543.TOptional<alepha1543.TString>;
4909
- bucket: alepha1543.TString;
4910
- expirationDate: alepha1543.TOptional<alepha1543.TString>;
4911
- name: alepha1543.TString;
4912
- size: alepha1543.TNumber;
4913
- mimeType: alepha1543.TString;
4914
- tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
4915
- checksum: alepha1543.TOptional<alepha1543.TString>;
4900
+ response: alepha1532.TObject<{
4901
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4902
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4903
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4904
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4905
+ blobId: alepha1532.TString;
4906
+ creator: alepha1532.TOptional<alepha1532.TString>;
4907
+ creatorRealm: alepha1532.TOptional<alepha1532.TString>;
4908
+ creatorName: alepha1532.TOptional<alepha1532.TString>;
4909
+ bucket: alepha1532.TString;
4910
+ expirationDate: alepha1532.TOptional<alepha1532.TString>;
4911
+ name: alepha1532.TString;
4912
+ size: alepha1532.TNumber;
4913
+ mimeType: alepha1532.TString;
4914
+ tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
4915
+ checksum: alepha1532.TOptional<alepha1532.TString>;
4916
4916
  }>;
4917
4917
  }>;
4918
4918
  /**
@@ -4921,10 +4921,10 @@ declare class FileController {
4921
4921
  * Cached with ETag support for 1 year (immutable).
4922
4922
  */
4923
4923
  readonly streamFile: ActionPrimitiveFn<{
4924
- params: alepha1543.TObject<{
4925
- id: alepha1543.TString;
4924
+ params: alepha1532.TObject<{
4925
+ id: alepha1532.TString;
4926
4926
  }>;
4927
- response: alepha1543.TFile;
4927
+ response: alepha1532.TFile;
4928
4928
  }>;
4929
4929
  }
4930
4930
  //#endregion
@@ -5226,52 +5226,52 @@ declare class BatchPrimitive<TItem extends TSchema, TResponse = any> extends Pri
5226
5226
  * @returns The number of items cleared
5227
5227
  */
5228
5228
  clearCompleted(status?: "completed" | "failed"): number;
5229
- protected readonly onReady: alepha1543.HookPrimitive<"ready">;
5230
- protected readonly dispose: alepha1543.HookPrimitive<"stop">;
5229
+ protected readonly onReady: alepha1532.HookPrimitive<"ready">;
5230
+ protected readonly dispose: alepha1532.HookPrimitive<"stop">;
5231
5231
  }
5232
5232
  //#endregion
5233
5233
  //#region ../../../alepha/src/api-notifications/entities/notifications.d.ts
5234
- declare const notifications: EntityPrimitive<alepha1543.TObject<{
5235
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5236
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5237
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5238
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5239
- type: alepha1543.TUnsafe<"email" | "sms">;
5240
- template: alepha1543.TString;
5241
- category: alepha1543.TOptional<alepha1543.TString>;
5242
- critical: alepha1543.TOptional<alepha1543.TBoolean>;
5243
- sensitive: alepha1543.TOptional<alepha1543.TBoolean>;
5244
- contact: alepha1543.TString;
5245
- variables: alepha1543.TOptional<alepha1543.TRecord<"^.*$", alepha1543.TAny>>;
5246
- scheduledAt: alepha1543.TOptional<alepha1543.TString>;
5247
- sentAt: alepha1543.TOptional<alepha1543.TString>;
5248
- error: alepha1543.TOptional<alepha1543.TObject<{
5249
- at: alepha1543.TString;
5250
- name: alepha1543.TString;
5251
- message: alepha1543.TString;
5234
+ declare const notifications: EntityPrimitive<alepha1532.TObject<{
5235
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5236
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5237
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5238
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5239
+ type: alepha1532.TUnsafe<"email" | "sms">;
5240
+ template: alepha1532.TString;
5241
+ category: alepha1532.TOptional<alepha1532.TString>;
5242
+ critical: alepha1532.TOptional<alepha1532.TBoolean>;
5243
+ sensitive: alepha1532.TOptional<alepha1532.TBoolean>;
5244
+ contact: alepha1532.TString;
5245
+ variables: alepha1532.TOptional<alepha1532.TRecord<"^.*$", alepha1532.TAny>>;
5246
+ scheduledAt: alepha1532.TOptional<alepha1532.TString>;
5247
+ sentAt: alepha1532.TOptional<alepha1532.TString>;
5248
+ error: alepha1532.TOptional<alepha1532.TObject<{
5249
+ at: alepha1532.TString;
5250
+ name: alepha1532.TString;
5251
+ message: alepha1532.TString;
5252
5252
  }>>;
5253
5253
  }>>;
5254
5254
  type NotificationEntity = Static<typeof notifications.schema>;
5255
5255
  //#endregion
5256
5256
  //#region ../../../alepha/src/api-notifications/schemas/notificationCreateSchema.d.ts
5257
- declare const notificationCreateSchema: alepha1543.TObject<{
5258
- type: alepha1543.TUnsafe<"email" | "sms">;
5259
- template: alepha1543.TString;
5260
- contact: alepha1543.TString;
5261
- variables: alepha1543.TOptional<alepha1543.TRecord<"^.*$", alepha1543.TAny>>;
5257
+ declare const notificationCreateSchema: alepha1532.TObject<{
5258
+ type: alepha1532.TUnsafe<"email" | "sms">;
5259
+ template: alepha1532.TString;
5260
+ contact: alepha1532.TString;
5261
+ variables: alepha1532.TOptional<alepha1532.TRecord<"^.*$", alepha1532.TAny>>;
5262
5262
  }>;
5263
5263
  type NotificationCreate = Static<typeof notificationCreateSchema>;
5264
5264
  //#endregion
5265
5265
  //#region ../../../alepha/src/api-notifications/schemas/notificationQuerySchema.d.ts
5266
- declare const notificationQuerySchema: alepha1543.TObject<{
5267
- page: alepha1543.TOptional<alepha1543.TInteger>;
5268
- size: alepha1543.TOptional<alepha1543.TInteger>;
5269
- sort: alepha1543.TOptional<alepha1543.TString>;
5270
- type: alepha1543.TOptional<alepha1543.TUnsafe<"email" | "sms">>;
5271
- template: alepha1543.TOptional<alepha1543.TString>;
5272
- contact: alepha1543.TOptional<alepha1543.TString>;
5273
- category: alepha1543.TOptional<alepha1543.TString>;
5274
- status: alepha1543.TOptional<alepha1543.TUnsafe<"pending" | "sent" | "failed">>;
5266
+ declare const notificationQuerySchema: alepha1532.TObject<{
5267
+ page: alepha1532.TOptional<alepha1532.TInteger>;
5268
+ size: alepha1532.TOptional<alepha1532.TInteger>;
5269
+ sort: alepha1532.TOptional<alepha1532.TString>;
5270
+ type: alepha1532.TOptional<alepha1532.TUnsafe<"email" | "sms">>;
5271
+ template: alepha1532.TOptional<alepha1532.TString>;
5272
+ contact: alepha1532.TOptional<alepha1532.TString>;
5273
+ category: alepha1532.TOptional<alepha1532.TString>;
5274
+ status: alepha1532.TOptional<alepha1532.TUnsafe<"pending" | "sent" | "failed">>;
5275
5275
  }>;
5276
5276
  type NotificationQuery = Static<typeof notificationQuerySchema>;
5277
5277
  //#endregion
@@ -5406,24 +5406,24 @@ declare module "alepha" {
5406
5406
  declare class NotificationSenderService {
5407
5407
  protected readonly alepha: Alepha;
5408
5408
  protected readonly log: Logger;
5409
- protected readonly notificationRepository: Repository<alepha1543.TObject<{
5410
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5411
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5412
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5413
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5414
- type: alepha1543.TUnsafe<"email" | "sms">;
5415
- template: alepha1543.TString;
5416
- category: alepha1543.TOptional<alepha1543.TString>;
5417
- critical: alepha1543.TOptional<alepha1543.TBoolean>;
5418
- sensitive: alepha1543.TOptional<alepha1543.TBoolean>;
5419
- contact: alepha1543.TString;
5420
- variables: alepha1543.TOptional<alepha1543.TRecord<"^.*$", alepha1543.TAny>>;
5421
- scheduledAt: alepha1543.TOptional<alepha1543.TString>;
5422
- sentAt: alepha1543.TOptional<alepha1543.TString>;
5423
- error: alepha1543.TOptional<alepha1543.TObject<{
5424
- at: alepha1543.TString;
5425
- name: alepha1543.TString;
5426
- message: alepha1543.TString;
5409
+ protected readonly notificationRepository: Repository<alepha1532.TObject<{
5410
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5411
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5412
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5413
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5414
+ type: alepha1532.TUnsafe<"email" | "sms">;
5415
+ template: alepha1532.TString;
5416
+ category: alepha1532.TOptional<alepha1532.TString>;
5417
+ critical: alepha1532.TOptional<alepha1532.TBoolean>;
5418
+ sensitive: alepha1532.TOptional<alepha1532.TBoolean>;
5419
+ contact: alepha1532.TString;
5420
+ variables: alepha1532.TOptional<alepha1532.TRecord<"^.*$", alepha1532.TAny>>;
5421
+ scheduledAt: alepha1532.TOptional<alepha1532.TString>;
5422
+ sentAt: alepha1532.TOptional<alepha1532.TString>;
5423
+ error: alepha1532.TOptional<alepha1532.TObject<{
5424
+ at: alepha1532.TString;
5425
+ name: alepha1532.TString;
5426
+ message: alepha1532.TString;
5427
5427
  }>>;
5428
5428
  }>>;
5429
5429
  protected readonly dateTimeProvider: DateTimeProvider;
@@ -5440,15 +5440,15 @@ declare class NotificationSenderService {
5440
5440
  body: string;
5441
5441
  };
5442
5442
  protected load(notification: NotificationEntity): {
5443
- template: NotificationPrimitive<alepha1543.TObject<alepha1543.TProperties>>;
5443
+ template: NotificationPrimitive<alepha1532.TObject<alepha1532.TProperties>>;
5444
5444
  variables: Record<string, any>;
5445
5445
  contact: string;
5446
5446
  };
5447
5447
  }
5448
5448
  //#endregion
5449
5449
  //#region ../../../alepha/src/api-notifications/services/NotificationService.d.ts
5450
- declare const notificationServiceEnvSchema: alepha1543.TObject<{
5451
- NOTIFICATION_QUEUE: alepha1543.TOptional<alepha1543.TBoolean>;
5450
+ declare const notificationServiceEnvSchema: alepha1532.TObject<{
5451
+ NOTIFICATION_QUEUE: alepha1532.TOptional<alepha1532.TBoolean>;
5452
5452
  }>;
5453
5453
  declare module "alepha" {
5454
5454
  interface Env extends Partial<Static<typeof notificationServiceEnvSchema>> {}
@@ -5459,71 +5459,71 @@ declare class NotificationService {
5459
5459
  protected readonly env: {
5460
5460
  NOTIFICATION_QUEUE?: boolean | undefined;
5461
5461
  };
5462
- protected readonly notificationRepository: Repository<alepha1543.TObject<{
5463
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5464
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5465
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5466
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5467
- type: alepha1543.TUnsafe<"email" | "sms">;
5468
- template: alepha1543.TString;
5469
- category: alepha1543.TOptional<alepha1543.TString>;
5470
- critical: alepha1543.TOptional<alepha1543.TBoolean>;
5471
- sensitive: alepha1543.TOptional<alepha1543.TBoolean>;
5472
- contact: alepha1543.TString;
5473
- variables: alepha1543.TOptional<alepha1543.TRecord<"^.*$", alepha1543.TAny>>;
5474
- scheduledAt: alepha1543.TOptional<alepha1543.TString>;
5475
- sentAt: alepha1543.TOptional<alepha1543.TString>;
5476
- error: alepha1543.TOptional<alepha1543.TObject<{
5477
- at: alepha1543.TString;
5478
- name: alepha1543.TString;
5479
- message: alepha1543.TString;
5462
+ protected readonly notificationRepository: Repository<alepha1532.TObject<{
5463
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5464
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5465
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5466
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5467
+ type: alepha1532.TUnsafe<"email" | "sms">;
5468
+ template: alepha1532.TString;
5469
+ category: alepha1532.TOptional<alepha1532.TString>;
5470
+ critical: alepha1532.TOptional<alepha1532.TBoolean>;
5471
+ sensitive: alepha1532.TOptional<alepha1532.TBoolean>;
5472
+ contact: alepha1532.TString;
5473
+ variables: alepha1532.TOptional<alepha1532.TRecord<"^.*$", alepha1532.TAny>>;
5474
+ scheduledAt: alepha1532.TOptional<alepha1532.TString>;
5475
+ sentAt: alepha1532.TOptional<alepha1532.TString>;
5476
+ error: alepha1532.TOptional<alepha1532.TObject<{
5477
+ at: alepha1532.TString;
5478
+ name: alepha1532.TString;
5479
+ message: alepha1532.TString;
5480
5480
  }>>;
5481
5481
  }>>;
5482
5482
  protected readonly dateTimeProvider: DateTimeProvider;
5483
5483
  protected readonly notificationSenderService: NotificationSenderService;
5484
- readonly notificationBatch: BatchPrimitive<alepha1543.TObject<{
5485
- type: alepha1543.TUnsafe<"email" | "sms">;
5486
- template: alepha1543.TString;
5487
- contact: alepha1543.TString;
5488
- variables: alepha1543.TOptional<alepha1543.TRecord<"^.*$", alepha1543.TAny>>;
5484
+ readonly notificationBatch: BatchPrimitive<alepha1532.TObject<{
5485
+ type: alepha1532.TUnsafe<"email" | "sms">;
5486
+ template: alepha1532.TString;
5487
+ contact: alepha1532.TString;
5488
+ variables: alepha1532.TOptional<alepha1532.TRecord<"^.*$", alepha1532.TAny>>;
5489
5489
  }>, Promise<void>>;
5490
- findNotificationById(id: string): Promise<PgStatic<alepha1543.TObject<{
5491
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5492
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5493
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5494
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5495
- type: alepha1543.TUnsafe<"email" | "sms">;
5496
- template: alepha1543.TString;
5497
- category: alepha1543.TOptional<alepha1543.TString>;
5498
- critical: alepha1543.TOptional<alepha1543.TBoolean>;
5499
- sensitive: alepha1543.TOptional<alepha1543.TBoolean>;
5500
- contact: alepha1543.TString;
5501
- variables: alepha1543.TOptional<alepha1543.TRecord<"^.*$", alepha1543.TAny>>;
5502
- scheduledAt: alepha1543.TOptional<alepha1543.TString>;
5503
- sentAt: alepha1543.TOptional<alepha1543.TString>;
5504
- error: alepha1543.TOptional<alepha1543.TObject<{
5505
- at: alepha1543.TString;
5506
- name: alepha1543.TString;
5507
- message: alepha1543.TString;
5490
+ findNotificationById(id: string): Promise<PgStatic<alepha1532.TObject<{
5491
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5492
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5493
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5494
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5495
+ type: alepha1532.TUnsafe<"email" | "sms">;
5496
+ template: alepha1532.TString;
5497
+ category: alepha1532.TOptional<alepha1532.TString>;
5498
+ critical: alepha1532.TOptional<alepha1532.TBoolean>;
5499
+ sensitive: alepha1532.TOptional<alepha1532.TBoolean>;
5500
+ contact: alepha1532.TString;
5501
+ variables: alepha1532.TOptional<alepha1532.TRecord<"^.*$", alepha1532.TAny>>;
5502
+ scheduledAt: alepha1532.TOptional<alepha1532.TString>;
5503
+ sentAt: alepha1532.TOptional<alepha1532.TString>;
5504
+ error: alepha1532.TOptional<alepha1532.TObject<{
5505
+ at: alepha1532.TString;
5506
+ name: alepha1532.TString;
5507
+ message: alepha1532.TString;
5508
5508
  }>>;
5509
- }>, PgRelationMap<alepha1543.TObject<{
5510
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5511
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5512
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5513
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5514
- type: alepha1543.TUnsafe<"email" | "sms">;
5515
- template: alepha1543.TString;
5516
- category: alepha1543.TOptional<alepha1543.TString>;
5517
- critical: alepha1543.TOptional<alepha1543.TBoolean>;
5518
- sensitive: alepha1543.TOptional<alepha1543.TBoolean>;
5519
- contact: alepha1543.TString;
5520
- variables: alepha1543.TOptional<alepha1543.TRecord<"^.*$", alepha1543.TAny>>;
5521
- scheduledAt: alepha1543.TOptional<alepha1543.TString>;
5522
- sentAt: alepha1543.TOptional<alepha1543.TString>;
5523
- error: alepha1543.TOptional<alepha1543.TObject<{
5524
- at: alepha1543.TString;
5525
- name: alepha1543.TString;
5526
- message: alepha1543.TString;
5509
+ }>, PgRelationMap<alepha1532.TObject<{
5510
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5511
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5512
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5513
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5514
+ type: alepha1532.TUnsafe<"email" | "sms">;
5515
+ template: alepha1532.TString;
5516
+ category: alepha1532.TOptional<alepha1532.TString>;
5517
+ critical: alepha1532.TOptional<alepha1532.TBoolean>;
5518
+ sensitive: alepha1532.TOptional<alepha1532.TBoolean>;
5519
+ contact: alepha1532.TString;
5520
+ variables: alepha1532.TOptional<alepha1532.TRecord<"^.*$", alepha1532.TAny>>;
5521
+ scheduledAt: alepha1532.TOptional<alepha1532.TString>;
5522
+ sentAt: alepha1532.TOptional<alepha1532.TString>;
5523
+ error: alepha1532.TOptional<alepha1532.TObject<{
5524
+ at: alepha1532.TString;
5525
+ name: alepha1532.TString;
5526
+ message: alepha1532.TString;
5527
5527
  }>>;
5528
5528
  }>>>>;
5529
5529
  findNotifications(q?: NotificationQuery): Promise<Page$1<NotificationEntity>>;
@@ -5542,140 +5542,140 @@ declare class NotificationController {
5542
5542
  * Find notifications with pagination and filtering.
5543
5543
  */
5544
5544
  readonly findNotifications: ActionPrimitiveFn<{
5545
- query: alepha1543.TObject<{
5546
- page: alepha1543.TOptional<alepha1543.TInteger>;
5547
- size: alepha1543.TOptional<alepha1543.TInteger>;
5548
- sort: alepha1543.TOptional<alepha1543.TString>;
5549
- type: alepha1543.TOptional<alepha1543.TUnsafe<"email" | "sms">>;
5550
- template: alepha1543.TOptional<alepha1543.TString>;
5551
- contact: alepha1543.TOptional<alepha1543.TString>;
5552
- category: alepha1543.TOptional<alepha1543.TString>;
5553
- status: alepha1543.TOptional<alepha1543.TUnsafe<"pending" | "sent" | "failed">>;
5545
+ query: alepha1532.TObject<{
5546
+ page: alepha1532.TOptional<alepha1532.TInteger>;
5547
+ size: alepha1532.TOptional<alepha1532.TInteger>;
5548
+ sort: alepha1532.TOptional<alepha1532.TString>;
5549
+ type: alepha1532.TOptional<alepha1532.TUnsafe<"email" | "sms">>;
5550
+ template: alepha1532.TOptional<alepha1532.TString>;
5551
+ contact: alepha1532.TOptional<alepha1532.TString>;
5552
+ category: alepha1532.TOptional<alepha1532.TString>;
5553
+ status: alepha1532.TOptional<alepha1532.TUnsafe<"pending" | "sent" | "failed">>;
5554
5554
  }>;
5555
- response: alepha1543.TPage<alepha1543.TObject<{
5556
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5557
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5558
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5559
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5560
- type: alepha1543.TUnsafe<"email" | "sms">;
5561
- template: alepha1543.TString;
5562
- category: alepha1543.TOptional<alepha1543.TString>;
5563
- critical: alepha1543.TOptional<alepha1543.TBoolean>;
5564
- sensitive: alepha1543.TOptional<alepha1543.TBoolean>;
5565
- contact: alepha1543.TString;
5566
- variables: alepha1543.TOptional<alepha1543.TRecord<"^.*$", alepha1543.TAny>>;
5567
- scheduledAt: alepha1543.TOptional<alepha1543.TString>;
5568
- sentAt: alepha1543.TOptional<alepha1543.TString>;
5569
- error: alepha1543.TOptional<alepha1543.TObject<{
5570
- at: alepha1543.TString;
5571
- name: alepha1543.TString;
5572
- message: alepha1543.TString;
5555
+ response: alepha1532.TPage<alepha1532.TObject<{
5556
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5557
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5558
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5559
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5560
+ type: alepha1532.TUnsafe<"email" | "sms">;
5561
+ template: alepha1532.TString;
5562
+ category: alepha1532.TOptional<alepha1532.TString>;
5563
+ critical: alepha1532.TOptional<alepha1532.TBoolean>;
5564
+ sensitive: alepha1532.TOptional<alepha1532.TBoolean>;
5565
+ contact: alepha1532.TString;
5566
+ variables: alepha1532.TOptional<alepha1532.TRecord<"^.*$", alepha1532.TAny>>;
5567
+ scheduledAt: alepha1532.TOptional<alepha1532.TString>;
5568
+ sentAt: alepha1532.TOptional<alepha1532.TString>;
5569
+ error: alepha1532.TOptional<alepha1532.TObject<{
5570
+ at: alepha1532.TString;
5571
+ name: alepha1532.TString;
5572
+ message: alepha1532.TString;
5573
5573
  }>>;
5574
5574
  }>>;
5575
5575
  }>;
5576
5576
  }
5577
5577
  //#endregion
5578
5578
  //#region ../../../alepha/src/queue/providers/WorkerProvider.d.ts
5579
- declare const envSchema: alepha1543.TObject<{
5579
+ declare const envSchema: alepha1532.TObject<{
5580
5580
  /**
5581
5581
  * The timeout in seconds for blocking job acquisition.
5582
5582
  * Workers will check for shutdown after each timeout period.
5583
5583
  */
5584
- QUEUE_WORKER_BLOCKING_TIMEOUT: alepha1543.TInteger;
5584
+ QUEUE_WORKER_BLOCKING_TIMEOUT: alepha1532.TInteger;
5585
5585
  /**
5586
5586
  * The number of workers to run concurrently. Defaults to 1.
5587
5587
  * Useful only if you are doing a lot of I/O.
5588
5588
  */
5589
- QUEUE_WORKER_CONCURRENCY: alepha1543.TInteger;
5589
+ QUEUE_WORKER_CONCURRENCY: alepha1532.TInteger;
5590
5590
  /**
5591
5591
  * Interval in milliseconds for renewing job locks during processing.
5592
5592
  * Should be less than the job's lock duration.
5593
5593
  */
5594
- QUEUE_WORKER_LOCK_RENEWAL_INTERVAL: alepha1543.TInteger;
5594
+ QUEUE_WORKER_LOCK_RENEWAL_INTERVAL: alepha1532.TInteger;
5595
5595
  /**
5596
5596
  * Interval in milliseconds for the scheduler to check delayed jobs and stalled jobs.
5597
5597
  */
5598
- QUEUE_SCHEDULER_INTERVAL: alepha1543.TInteger;
5598
+ QUEUE_SCHEDULER_INTERVAL: alepha1532.TInteger;
5599
5599
  /**
5600
5600
  * Threshold in milliseconds after lock expiration to consider a job stalled.
5601
5601
  */
5602
- QUEUE_STALLED_THRESHOLD: alepha1543.TInteger;
5602
+ QUEUE_STALLED_THRESHOLD: alepha1532.TInteger;
5603
5603
  }>;
5604
5604
  declare module "alepha" {
5605
5605
  interface Env extends Partial<Static<typeof envSchema>> {}
5606
5606
  }
5607
5607
  //#endregion
5608
5608
  //#region ../../../alepha/src/api-users/atoms/realmAuthSettingsAtom.d.ts
5609
- declare const realmAuthSettingsAtom: alepha1543.Atom<alepha1543.TObject<{
5610
- registrationAllowed: alepha1543.TBoolean;
5611
- emailEnabled: alepha1543.TBoolean;
5612
- emailRequired: alepha1543.TBoolean;
5613
- usernameEnabled: alepha1543.TBoolean;
5614
- usernameRequired: alepha1543.TBoolean;
5615
- phoneEnabled: alepha1543.TBoolean;
5616
- phoneRequired: alepha1543.TBoolean;
5617
- verifyEmailRequired: alepha1543.TBoolean;
5618
- verifyPhoneRequired: alepha1543.TBoolean;
5619
- firstNameLastNameEnabled: alepha1543.TBoolean;
5620
- firstNameLastNameRequired: alepha1543.TBoolean;
5621
- resetPasswordAllowed: alepha1543.TBoolean;
5622
- passwordPolicy: alepha1543.TObject<{
5623
- minLength: alepha1543.TInteger;
5624
- requireUppercase: alepha1543.TBoolean;
5625
- requireLowercase: alepha1543.TBoolean;
5626
- requireNumbers: alepha1543.TBoolean;
5627
- requireSpecialCharacters: alepha1543.TBoolean;
5609
+ declare const realmAuthSettingsAtom: alepha1532.Atom<alepha1532.TObject<{
5610
+ registrationAllowed: alepha1532.TBoolean;
5611
+ emailEnabled: alepha1532.TBoolean;
5612
+ emailRequired: alepha1532.TBoolean;
5613
+ usernameEnabled: alepha1532.TBoolean;
5614
+ usernameRequired: alepha1532.TBoolean;
5615
+ phoneEnabled: alepha1532.TBoolean;
5616
+ phoneRequired: alepha1532.TBoolean;
5617
+ verifyEmailRequired: alepha1532.TBoolean;
5618
+ verifyPhoneRequired: alepha1532.TBoolean;
5619
+ firstNameLastNameEnabled: alepha1532.TBoolean;
5620
+ firstNameLastNameRequired: alepha1532.TBoolean;
5621
+ resetPasswordAllowed: alepha1532.TBoolean;
5622
+ passwordPolicy: alepha1532.TObject<{
5623
+ minLength: alepha1532.TInteger;
5624
+ requireUppercase: alepha1532.TBoolean;
5625
+ requireLowercase: alepha1532.TBoolean;
5626
+ requireNumbers: alepha1532.TBoolean;
5627
+ requireSpecialCharacters: alepha1532.TBoolean;
5628
5628
  }>;
5629
5629
  }>, "alepha.api.users.realmAuthSettings">;
5630
5630
  type RealmAuthSettings = Static<typeof realmAuthSettingsAtom.schema>;
5631
5631
  //#endregion
5632
5632
  //#region ../../../alepha/src/api-users/entities/identities.d.ts
5633
- declare const identities: EntityPrimitive<alepha1543.TObject<{
5634
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5635
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5636
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5637
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5638
- userId: PgAttr<alepha1543.TString, typeof PG_REF>;
5639
- password: alepha1543.TOptional<alepha1543.TString>;
5640
- provider: alepha1543.TString;
5641
- providerUserId: alepha1543.TOptional<alepha1543.TString>;
5642
- providerData: alepha1543.TOptional<alepha1543.TRecord<string, alepha1543.TAny>>;
5633
+ declare const identities: EntityPrimitive<alepha1532.TObject<{
5634
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5635
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5636
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5637
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5638
+ userId: PgAttr<alepha1532.TString, typeof PG_REF>;
5639
+ password: alepha1532.TOptional<alepha1532.TString>;
5640
+ provider: alepha1532.TString;
5641
+ providerUserId: alepha1532.TOptional<alepha1532.TString>;
5642
+ providerData: alepha1532.TOptional<alepha1532.TRecord<string, alepha1532.TAny>>;
5643
5643
  }>>;
5644
5644
  //#endregion
5645
5645
  //#region ../../../alepha/src/api-users/entities/sessions.d.ts
5646
- declare const sessions: EntityPrimitive<alepha1543.TObject<{
5647
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5648
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5649
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5650
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5651
- refreshToken: alepha1543.TString;
5652
- userId: PgAttr<alepha1543.TString, typeof PG_REF>;
5653
- expiresAt: alepha1543.TString;
5654
- ip: alepha1543.TOptional<alepha1543.TString>;
5655
- userAgent: alepha1543.TOptional<alepha1543.TObject<{
5656
- os: alepha1543.TString;
5657
- browser: alepha1543.TString;
5658
- device: alepha1543.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
5646
+ declare const sessions: EntityPrimitive<alepha1532.TObject<{
5647
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5648
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5649
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5650
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5651
+ refreshToken: alepha1532.TString;
5652
+ userId: PgAttr<alepha1532.TString, typeof PG_REF>;
5653
+ expiresAt: alepha1532.TString;
5654
+ ip: alepha1532.TOptional<alepha1532.TString>;
5655
+ userAgent: alepha1532.TOptional<alepha1532.TObject<{
5656
+ os: alepha1532.TString;
5657
+ browser: alepha1532.TString;
5658
+ device: alepha1532.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
5659
5659
  }>>;
5660
5660
  }>>;
5661
5661
  type SessionEntity = Static<typeof sessions.schema>;
5662
5662
  //#endregion
5663
5663
  //#region ../../../alepha/src/api-users/entities/users.d.ts
5664
- declare const users: EntityPrimitive<alepha1543.TObject<{
5665
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5666
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5667
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5668
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5669
- realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
5670
- username: alepha1543.TOptional<alepha1543.TString>;
5671
- email: alepha1543.TOptional<alepha1543.TString>;
5672
- phoneNumber: alepha1543.TOptional<alepha1543.TString>;
5673
- roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
5674
- firstName: alepha1543.TOptional<alepha1543.TString>;
5675
- lastName: alepha1543.TOptional<alepha1543.TString>;
5676
- picture: alepha1543.TOptional<alepha1543.TString>;
5677
- enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
5678
- emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
5664
+ declare const users: EntityPrimitive<alepha1532.TObject<{
5665
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5666
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5667
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5668
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5669
+ realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
5670
+ username: alepha1532.TOptional<alepha1532.TString>;
5671
+ email: alepha1532.TOptional<alepha1532.TString>;
5672
+ phoneNumber: alepha1532.TOptional<alepha1532.TString>;
5673
+ roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
5674
+ firstName: alepha1532.TOptional<alepha1532.TString>;
5675
+ lastName: alepha1532.TOptional<alepha1532.TString>;
5676
+ picture: alepha1532.TOptional<alepha1532.TString>;
5677
+ enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
5678
+ emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
5679
5679
  }>>;
5680
5680
  type UserEntity = Static<typeof users.schema>;
5681
5681
  //#endregion
@@ -5692,51 +5692,51 @@ interface UserRealm {
5692
5692
  }
5693
5693
  declare class UserRealmProvider {
5694
5694
  protected readonly alepha: Alepha;
5695
- protected readonly defaultIdentities: Repository<alepha1543.TObject<{
5696
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5697
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5698
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5699
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5700
- userId: PgAttr<alepha1543.TString, typeof PG_REF>;
5701
- password: alepha1543.TOptional<alepha1543.TString>;
5702
- provider: alepha1543.TString;
5703
- providerUserId: alepha1543.TOptional<alepha1543.TString>;
5704
- providerData: alepha1543.TOptional<alepha1543.TRecord<string, alepha1543.TAny>>;
5695
+ protected readonly defaultIdentities: Repository<alepha1532.TObject<{
5696
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5697
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5698
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5699
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5700
+ userId: PgAttr<alepha1532.TString, typeof PG_REF>;
5701
+ password: alepha1532.TOptional<alepha1532.TString>;
5702
+ provider: alepha1532.TString;
5703
+ providerUserId: alepha1532.TOptional<alepha1532.TString>;
5704
+ providerData: alepha1532.TOptional<alepha1532.TRecord<string, alepha1532.TAny>>;
5705
5705
  }>>;
5706
- protected readonly defaultSessions: Repository<alepha1543.TObject<{
5707
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5708
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5709
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5710
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5711
- refreshToken: alepha1543.TString;
5712
- userId: PgAttr<alepha1543.TString, typeof PG_REF>;
5713
- expiresAt: alepha1543.TString;
5714
- ip: alepha1543.TOptional<alepha1543.TString>;
5715
- userAgent: alepha1543.TOptional<alepha1543.TObject<{
5716
- os: alepha1543.TString;
5717
- browser: alepha1543.TString;
5718
- device: alepha1543.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
5706
+ protected readonly defaultSessions: Repository<alepha1532.TObject<{
5707
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5708
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5709
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5710
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5711
+ refreshToken: alepha1532.TString;
5712
+ userId: PgAttr<alepha1532.TString, typeof PG_REF>;
5713
+ expiresAt: alepha1532.TString;
5714
+ ip: alepha1532.TOptional<alepha1532.TString>;
5715
+ userAgent: alepha1532.TOptional<alepha1532.TObject<{
5716
+ os: alepha1532.TString;
5717
+ browser: alepha1532.TString;
5718
+ device: alepha1532.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
5719
5719
  }>>;
5720
5720
  }>>;
5721
- protected readonly defaultUsers: Repository<alepha1543.TObject<{
5722
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5723
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5724
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5725
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5726
- realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
5727
- username: alepha1543.TOptional<alepha1543.TString>;
5728
- email: alepha1543.TOptional<alepha1543.TString>;
5729
- phoneNumber: alepha1543.TOptional<alepha1543.TString>;
5730
- roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
5731
- firstName: alepha1543.TOptional<alepha1543.TString>;
5732
- lastName: alepha1543.TOptional<alepha1543.TString>;
5733
- picture: alepha1543.TOptional<alepha1543.TString>;
5734
- enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
5735
- emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
5721
+ protected readonly defaultUsers: Repository<alepha1532.TObject<{
5722
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5723
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5724
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5725
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5726
+ realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
5727
+ username: alepha1532.TOptional<alepha1532.TString>;
5728
+ email: alepha1532.TOptional<alepha1532.TString>;
5729
+ phoneNumber: alepha1532.TOptional<alepha1532.TString>;
5730
+ roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
5731
+ firstName: alepha1532.TOptional<alepha1532.TString>;
5732
+ lastName: alepha1532.TOptional<alepha1532.TString>;
5733
+ picture: alepha1532.TOptional<alepha1532.TString>;
5734
+ enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
5735
+ emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
5736
5736
  }>>;
5737
5737
  protected realms: Map<string, UserRealm>;
5738
5738
  avatars: BucketPrimitive;
5739
- protected readonly onConfigure: alepha1543.HookPrimitive<"configure">;
5739
+ protected readonly onConfigure: alepha1532.HookPrimitive<"configure">;
5740
5740
  register(userRealmName: string, userRealmOptions?: UserRealmOptions): UserRealm;
5741
5741
  /**
5742
5742
  * Gets a registered realm by name, auto-creating default if needed.
@@ -5748,11 +5748,11 @@ declare class UserRealmProvider {
5748
5748
  }
5749
5749
  //#endregion
5750
5750
  //#region ../../../alepha/src/api-users/schemas/sessionQuerySchema.d.ts
5751
- declare const sessionQuerySchema: alepha1543.TObject<{
5752
- page: alepha1543.TOptional<alepha1543.TInteger>;
5753
- size: alepha1543.TOptional<alepha1543.TInteger>;
5754
- sort: alepha1543.TOptional<alepha1543.TString>;
5755
- userId: alepha1543.TOptional<alepha1543.TString>;
5751
+ declare const sessionQuerySchema: alepha1532.TObject<{
5752
+ page: alepha1532.TOptional<alepha1532.TInteger>;
5753
+ size: alepha1532.TOptional<alepha1532.TInteger>;
5754
+ sort: alepha1532.TOptional<alepha1532.TString>;
5755
+ userId: alepha1532.TOptional<alepha1532.TString>;
5756
5756
  }>;
5757
5757
  type SessionQuery = Static<typeof sessionQuerySchema>;
5758
5758
  //#endregion
@@ -5760,19 +5760,19 @@ type SessionQuery = Static<typeof sessionQuerySchema>;
5760
5760
  declare class SessionCrudService {
5761
5761
  protected readonly log: Logger;
5762
5762
  protected readonly userRealmProvider: UserRealmProvider;
5763
- sessions(userRealmName?: string): Repository<alepha1543.TObject<{
5764
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5765
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5766
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5767
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5768
- refreshToken: alepha1543.TString;
5769
- userId: PgAttr<alepha1543.TString, typeof PG_REF>;
5770
- expiresAt: alepha1543.TString;
5771
- ip: alepha1543.TOptional<alepha1543.TString>;
5772
- userAgent: alepha1543.TOptional<alepha1543.TObject<{
5773
- os: alepha1543.TString;
5774
- browser: alepha1543.TString;
5775
- device: alepha1543.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
5763
+ sessions(userRealmName?: string): Repository<alepha1532.TObject<{
5764
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5765
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5766
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5767
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5768
+ refreshToken: alepha1532.TString;
5769
+ userId: PgAttr<alepha1532.TString, typeof PG_REF>;
5770
+ expiresAt: alepha1532.TString;
5771
+ ip: alepha1532.TOptional<alepha1532.TString>;
5772
+ userAgent: alepha1532.TOptional<alepha1532.TObject<{
5773
+ os: alepha1532.TString;
5774
+ browser: alepha1532.TString;
5775
+ device: alepha1532.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
5776
5776
  }>>;
5777
5777
  }>>;
5778
5778
  /**
@@ -5798,26 +5798,26 @@ declare class SessionController {
5798
5798
  * Find sessions with pagination and filtering.
5799
5799
  */
5800
5800
  readonly findSessions: ActionPrimitiveFn<{
5801
- query: alepha1543.TObject<{
5802
- page: alepha1543.TOptional<alepha1543.TInteger>;
5803
- size: alepha1543.TOptional<alepha1543.TInteger>;
5804
- sort: alepha1543.TOptional<alepha1543.TString>;
5805
- userId: alepha1543.TOptional<alepha1543.TString>;
5806
- userRealmName: alepha1543.TOptional<alepha1543.TString>;
5801
+ query: alepha1532.TObject<{
5802
+ page: alepha1532.TOptional<alepha1532.TInteger>;
5803
+ size: alepha1532.TOptional<alepha1532.TInteger>;
5804
+ sort: alepha1532.TOptional<alepha1532.TString>;
5805
+ userId: alepha1532.TOptional<alepha1532.TString>;
5806
+ userRealmName: alepha1532.TOptional<alepha1532.TString>;
5807
5807
  }>;
5808
- response: alepha1543.TPage<alepha1543.TObject<{
5809
- id: alepha1543.TString;
5810
- version: alepha1543.TNumber;
5811
- createdAt: alepha1543.TString;
5812
- updatedAt: alepha1543.TString;
5813
- refreshToken: alepha1543.TString;
5814
- userId: alepha1543.TString;
5815
- expiresAt: alepha1543.TString;
5816
- ip: alepha1543.TOptional<alepha1543.TString>;
5817
- userAgent: alepha1543.TOptional<alepha1543.TObject<{
5818
- os: alepha1543.TString;
5819
- browser: alepha1543.TString;
5820
- device: alepha1543.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
5808
+ response: alepha1532.TPage<alepha1532.TObject<{
5809
+ id: alepha1532.TString;
5810
+ version: alepha1532.TNumber;
5811
+ createdAt: alepha1532.TString;
5812
+ updatedAt: alepha1532.TString;
5813
+ refreshToken: alepha1532.TString;
5814
+ userId: alepha1532.TString;
5815
+ expiresAt: alepha1532.TString;
5816
+ ip: alepha1532.TOptional<alepha1532.TString>;
5817
+ userAgent: alepha1532.TOptional<alepha1532.TObject<{
5818
+ os: alepha1532.TString;
5819
+ browser: alepha1532.TString;
5820
+ device: alepha1532.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
5821
5821
  }>>;
5822
5822
  }>>;
5823
5823
  }>;
@@ -5825,25 +5825,25 @@ declare class SessionController {
5825
5825
  * Get a session by ID.
5826
5826
  */
5827
5827
  readonly getSession: ActionPrimitiveFn<{
5828
- params: alepha1543.TObject<{
5829
- id: alepha1543.TString;
5828
+ params: alepha1532.TObject<{
5829
+ id: alepha1532.TString;
5830
5830
  }>;
5831
- query: alepha1543.TObject<{
5832
- userRealmName: alepha1543.TOptional<alepha1543.TString>;
5831
+ query: alepha1532.TObject<{
5832
+ userRealmName: alepha1532.TOptional<alepha1532.TString>;
5833
5833
  }>;
5834
- response: alepha1543.TObject<{
5835
- id: alepha1543.TString;
5836
- version: alepha1543.TNumber;
5837
- createdAt: alepha1543.TString;
5838
- updatedAt: alepha1543.TString;
5839
- refreshToken: alepha1543.TString;
5840
- userId: alepha1543.TString;
5841
- expiresAt: alepha1543.TString;
5842
- ip: alepha1543.TOptional<alepha1543.TString>;
5843
- userAgent: alepha1543.TOptional<alepha1543.TObject<{
5844
- os: alepha1543.TString;
5845
- browser: alepha1543.TString;
5846
- device: alepha1543.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
5834
+ response: alepha1532.TObject<{
5835
+ id: alepha1532.TString;
5836
+ version: alepha1532.TNumber;
5837
+ createdAt: alepha1532.TString;
5838
+ updatedAt: alepha1532.TString;
5839
+ refreshToken: alepha1532.TString;
5840
+ userId: alepha1532.TString;
5841
+ expiresAt: alepha1532.TString;
5842
+ ip: alepha1532.TOptional<alepha1532.TString>;
5843
+ userAgent: alepha1532.TOptional<alepha1532.TObject<{
5844
+ os: alepha1532.TString;
5845
+ browser: alepha1532.TString;
5846
+ device: alepha1532.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
5847
5847
  }>>;
5848
5848
  }>;
5849
5849
  }>;
@@ -5851,50 +5851,50 @@ declare class SessionController {
5851
5851
  * Delete a session.
5852
5852
  */
5853
5853
  readonly deleteSession: ActionPrimitiveFn<{
5854
- params: alepha1543.TObject<{
5855
- id: alepha1543.TString;
5854
+ params: alepha1532.TObject<{
5855
+ id: alepha1532.TString;
5856
5856
  }>;
5857
- query: alepha1543.TObject<{
5858
- userRealmName: alepha1543.TOptional<alepha1543.TString>;
5857
+ query: alepha1532.TObject<{
5858
+ userRealmName: alepha1532.TOptional<alepha1532.TString>;
5859
5859
  }>;
5860
- response: alepha1543.TObject<{
5861
- ok: alepha1543.TBoolean;
5862
- id: alepha1543.TOptional<alepha1543.TUnion<[alepha1543.TString, alepha1543.TInteger]>>;
5863
- count: alepha1543.TOptional<alepha1543.TNumber>;
5860
+ response: alepha1532.TObject<{
5861
+ ok: alepha1532.TBoolean;
5862
+ id: alepha1532.TOptional<alepha1532.TUnion<[alepha1532.TString, alepha1532.TInteger]>>;
5863
+ count: alepha1532.TOptional<alepha1532.TNumber>;
5864
5864
  }>;
5865
5865
  }>;
5866
5866
  }
5867
5867
  //#endregion
5868
5868
  //#region ../../../alepha/src/api-verifications/entities/verifications.d.ts
5869
- declare const verifications: EntityPrimitive<alepha1543.TObject<{
5870
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5871
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5872
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5873
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5874
- type: alepha1543.TUnsafe<"link" | "code">;
5875
- target: alepha1543.TString;
5876
- code: alepha1543.TString;
5877
- verifiedAt: alepha1543.TOptional<alepha1543.TString>;
5878
- attempts: PgAttr<alepha1543.TInteger, typeof PG_DEFAULT>;
5869
+ declare const verifications: EntityPrimitive<alepha1532.TObject<{
5870
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5871
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5872
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5873
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5874
+ type: alepha1532.TUnsafe<"link" | "code">;
5875
+ target: alepha1532.TString;
5876
+ code: alepha1532.TString;
5877
+ verifiedAt: alepha1532.TOptional<alepha1532.TString>;
5878
+ attempts: PgAttr<alepha1532.TInteger, typeof PG_DEFAULT>;
5879
5879
  }>>;
5880
5880
  type VerificationEntity = Static<typeof verifications.schema>;
5881
5881
  //#endregion
5882
5882
  //#region ../../../alepha/src/api-verifications/schemas/verificationSettingsSchema.d.ts
5883
- declare const verificationSettingsSchema: alepha1543.TObject<{
5884
- code: alepha1543.TObject<{
5885
- maxAttempts: alepha1543.TInteger;
5886
- codeLength: alepha1543.TInteger;
5887
- codeExpiration: alepha1543.TInteger;
5888
- verificationCooldown: alepha1543.TInteger;
5889
- limitPerDay: alepha1543.TInteger;
5883
+ declare const verificationSettingsSchema: alepha1532.TObject<{
5884
+ code: alepha1532.TObject<{
5885
+ maxAttempts: alepha1532.TInteger;
5886
+ codeLength: alepha1532.TInteger;
5887
+ codeExpiration: alepha1532.TInteger;
5888
+ verificationCooldown: alepha1532.TInteger;
5889
+ limitPerDay: alepha1532.TInteger;
5890
5890
  }>;
5891
- link: alepha1543.TObject<{
5892
- maxAttempts: alepha1543.TInteger;
5893
- codeExpiration: alepha1543.TInteger;
5894
- verificationCooldown: alepha1543.TInteger;
5895
- limitPerDay: alepha1543.TInteger;
5891
+ link: alepha1532.TObject<{
5892
+ maxAttempts: alepha1532.TInteger;
5893
+ codeExpiration: alepha1532.TInteger;
5894
+ verificationCooldown: alepha1532.TInteger;
5895
+ limitPerDay: alepha1532.TInteger;
5896
5896
  }>;
5897
- purgeDays: alepha1543.TInteger;
5897
+ purgeDays: alepha1532.TInteger;
5898
5898
  }>;
5899
5899
  type VerificationSettings = Static<typeof verificationSettingsSchema>;
5900
5900
  //#endregion
@@ -5902,21 +5902,21 @@ type VerificationSettings = Static<typeof verificationSettingsSchema>;
5902
5902
  /**
5903
5903
  * Verification settings configuration atom
5904
5904
  */
5905
- declare const verificationOptions: alepha1543.Atom<alepha1543.TObject<{
5906
- code: alepha1543.TObject<{
5907
- maxAttempts: alepha1543.TInteger;
5908
- codeLength: alepha1543.TInteger;
5909
- codeExpiration: alepha1543.TInteger;
5910
- verificationCooldown: alepha1543.TInteger;
5911
- limitPerDay: alepha1543.TInteger;
5905
+ declare const verificationOptions: alepha1532.Atom<alepha1532.TObject<{
5906
+ code: alepha1532.TObject<{
5907
+ maxAttempts: alepha1532.TInteger;
5908
+ codeLength: alepha1532.TInteger;
5909
+ codeExpiration: alepha1532.TInteger;
5910
+ verificationCooldown: alepha1532.TInteger;
5911
+ limitPerDay: alepha1532.TInteger;
5912
5912
  }>;
5913
- link: alepha1543.TObject<{
5914
- maxAttempts: alepha1543.TInteger;
5915
- codeExpiration: alepha1543.TInteger;
5916
- verificationCooldown: alepha1543.TInteger;
5917
- limitPerDay: alepha1543.TInteger;
5913
+ link: alepha1532.TObject<{
5914
+ maxAttempts: alepha1532.TInteger;
5915
+ codeExpiration: alepha1532.TInteger;
5916
+ verificationCooldown: alepha1532.TInteger;
5917
+ limitPerDay: alepha1532.TInteger;
5918
5918
  }>;
5919
- purgeDays: alepha1543.TInteger;
5919
+ purgeDays: alepha1532.TInteger;
5920
5920
  }>, "alepha.api.verifications.options">;
5921
5921
  type VerificationOptions = Static<typeof verificationOptions.schema>;
5922
5922
  declare module "alepha" {
@@ -5945,23 +5945,23 @@ declare class VerificationParameters {
5945
5945
  }
5946
5946
  //#endregion
5947
5947
  //#region ../../../alepha/src/api-verifications/schemas/requestVerificationCodeResponseSchema.d.ts
5948
- declare const requestVerificationCodeResponseSchema: alepha1543.TObject<{
5949
- token: alepha1543.TString;
5950
- codeExpiration: alepha1543.TInteger;
5951
- verificationCooldown: alepha1543.TInteger;
5952
- maxVerificationAttempts: alepha1543.TInteger;
5948
+ declare const requestVerificationCodeResponseSchema: alepha1532.TObject<{
5949
+ token: alepha1532.TString;
5950
+ codeExpiration: alepha1532.TInteger;
5951
+ verificationCooldown: alepha1532.TInteger;
5952
+ maxVerificationAttempts: alepha1532.TInteger;
5953
5953
  }>;
5954
5954
  type RequestVerificationResponse = Static<typeof requestVerificationCodeResponseSchema>;
5955
5955
  //#endregion
5956
5956
  //#region ../../../alepha/src/api-verifications/schemas/validateVerificationCodeResponseSchema.d.ts
5957
- declare const validateVerificationCodeResponseSchema: alepha1543.TObject<{
5958
- ok: alepha1543.TBoolean;
5959
- alreadyVerified: alepha1543.TOptional<alepha1543.TBoolean>;
5957
+ declare const validateVerificationCodeResponseSchema: alepha1532.TObject<{
5958
+ ok: alepha1532.TBoolean;
5959
+ alreadyVerified: alepha1532.TOptional<alepha1532.TBoolean>;
5960
5960
  }>;
5961
5961
  type ValidateVerificationCodeResponse = Static<typeof validateVerificationCodeResponseSchema>;
5962
5962
  //#endregion
5963
5963
  //#region ../../../alepha/src/api-verifications/schemas/verificationTypeEnumSchema.d.ts
5964
- declare const verificationTypeEnumSchema: alepha1543.TUnsafe<"link" | "code">;
5964
+ declare const verificationTypeEnumSchema: alepha1532.TUnsafe<"link" | "code">;
5965
5965
  type VerificationTypeEnum = Static<typeof verificationTypeEnumSchema>;
5966
5966
  //#endregion
5967
5967
  //#region ../../../alepha/src/api-verifications/services/VerificationService.d.ts
@@ -5969,38 +5969,38 @@ declare class VerificationService {
5969
5969
  protected readonly log: Logger;
5970
5970
  protected readonly dateTimeProvider: DateTimeProvider;
5971
5971
  protected readonly verificationParameters: VerificationParameters;
5972
- protected readonly verificationRepository: Repository<alepha1543.TObject<{
5973
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5974
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5975
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5976
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5977
- type: alepha1543.TUnsafe<"link" | "code">;
5978
- target: alepha1543.TString;
5979
- code: alepha1543.TString;
5980
- verifiedAt: alepha1543.TOptional<alepha1543.TString>;
5981
- attempts: PgAttr<alepha1543.TInteger, typeof PG_DEFAULT>;
5972
+ protected readonly verificationRepository: Repository<alepha1532.TObject<{
5973
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5974
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5975
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5976
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5977
+ type: alepha1532.TUnsafe<"link" | "code">;
5978
+ target: alepha1532.TString;
5979
+ code: alepha1532.TString;
5980
+ verifiedAt: alepha1532.TOptional<alepha1532.TString>;
5981
+ attempts: PgAttr<alepha1532.TInteger, typeof PG_DEFAULT>;
5982
5982
  }>>;
5983
5983
  findByEntry(entry: VerificationEntry): Promise<VerificationEntity>;
5984
- findRecentsByEntry(entry: VerificationEntry): Promise<PgStatic<alepha1543.TObject<{
5985
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5986
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5987
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5988
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5989
- type: alepha1543.TUnsafe<"link" | "code">;
5990
- target: alepha1543.TString;
5991
- code: alepha1543.TString;
5992
- verifiedAt: alepha1543.TOptional<alepha1543.TString>;
5993
- attempts: PgAttr<alepha1543.TInteger, typeof PG_DEFAULT>;
5994
- }>, PgRelationMap<alepha1543.TObject<{
5995
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5996
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5997
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5998
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5999
- type: alepha1543.TUnsafe<"link" | "code">;
6000
- target: alepha1543.TString;
6001
- code: alepha1543.TString;
6002
- verifiedAt: alepha1543.TOptional<alepha1543.TString>;
6003
- attempts: PgAttr<alepha1543.TInteger, typeof PG_DEFAULT>;
5984
+ findRecentsByEntry(entry: VerificationEntry): Promise<PgStatic<alepha1532.TObject<{
5985
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5986
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5987
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5988
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5989
+ type: alepha1532.TUnsafe<"link" | "code">;
5990
+ target: alepha1532.TString;
5991
+ code: alepha1532.TString;
5992
+ verifiedAt: alepha1532.TOptional<alepha1532.TString>;
5993
+ attempts: PgAttr<alepha1532.TInteger, typeof PG_DEFAULT>;
5994
+ }>, PgRelationMap<alepha1532.TObject<{
5995
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
5996
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
5997
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
5998
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
5999
+ type: alepha1532.TUnsafe<"link" | "code">;
6000
+ target: alepha1532.TString;
6001
+ code: alepha1532.TString;
6002
+ verifiedAt: alepha1532.TOptional<alepha1532.TString>;
6003
+ attempts: PgAttr<alepha1532.TInteger, typeof PG_DEFAULT>;
6004
6004
  }>>>[]>;
6005
6005
  /**
6006
6006
  * Creates a verification entry and returns the token.
@@ -6023,60 +6023,60 @@ declare class VerificationController {
6023
6023
  readonly url = "/verifications";
6024
6024
  readonly group = "verifications";
6025
6025
  readonly requestVerificationCode: ActionPrimitiveFn<{
6026
- params: alepha1543.TObject<{
6027
- type: alepha1543.TUnsafe<"link" | "code">;
6026
+ params: alepha1532.TObject<{
6027
+ type: alepha1532.TUnsafe<"link" | "code">;
6028
6028
  }>;
6029
- body: alepha1543.TObject<{
6030
- target: alepha1543.TString;
6029
+ body: alepha1532.TObject<{
6030
+ target: alepha1532.TString;
6031
6031
  }>;
6032
- response: alepha1543.TObject<{
6033
- token: alepha1543.TString;
6034
- codeExpiration: alepha1543.TInteger;
6035
- verificationCooldown: alepha1543.TInteger;
6036
- maxVerificationAttempts: alepha1543.TInteger;
6032
+ response: alepha1532.TObject<{
6033
+ token: alepha1532.TString;
6034
+ codeExpiration: alepha1532.TInteger;
6035
+ verificationCooldown: alepha1532.TInteger;
6036
+ maxVerificationAttempts: alepha1532.TInteger;
6037
6037
  }>;
6038
6038
  }>;
6039
6039
  readonly validateVerificationCode: ActionPrimitiveFn<{
6040
- params: alepha1543.TObject<{
6041
- type: alepha1543.TUnsafe<"link" | "code">;
6040
+ params: alepha1532.TObject<{
6041
+ type: alepha1532.TUnsafe<"link" | "code">;
6042
6042
  }>;
6043
- body: alepha1543.TObject<{
6044
- target: alepha1543.TString;
6045
- token: alepha1543.TString;
6043
+ body: alepha1532.TObject<{
6044
+ target: alepha1532.TString;
6045
+ token: alepha1532.TString;
6046
6046
  }>;
6047
- response: alepha1543.TObject<{
6048
- ok: alepha1543.TBoolean;
6049
- alreadyVerified: alepha1543.TOptional<alepha1543.TBoolean>;
6047
+ response: alepha1532.TObject<{
6048
+ ok: alepha1532.TBoolean;
6049
+ alreadyVerified: alepha1532.TOptional<alepha1532.TBoolean>;
6050
6050
  }>;
6051
6051
  }>;
6052
6052
  }
6053
6053
  //#endregion
6054
6054
  //#region ../../../alepha/src/api-users/notifications/UserNotifications.d.ts
6055
6055
  declare class UserNotifications {
6056
- readonly passwordReset: NotificationPrimitive<alepha1543.TObject<{
6057
- email: alepha1543.TString;
6058
- code: alepha1543.TString;
6059
- expiresInMinutes: alepha1543.TNumber;
6056
+ readonly passwordReset: NotificationPrimitive<alepha1532.TObject<{
6057
+ email: alepha1532.TString;
6058
+ code: alepha1532.TString;
6059
+ expiresInMinutes: alepha1532.TNumber;
6060
6060
  }>>;
6061
- readonly emailVerification: NotificationPrimitive<alepha1543.TObject<{
6062
- email: alepha1543.TString;
6063
- code: alepha1543.TString;
6064
- expiresInMinutes: alepha1543.TNumber;
6061
+ readonly emailVerification: NotificationPrimitive<alepha1532.TObject<{
6062
+ email: alepha1532.TString;
6063
+ code: alepha1532.TString;
6064
+ expiresInMinutes: alepha1532.TNumber;
6065
6065
  }>>;
6066
- readonly phoneVerification: NotificationPrimitive<alepha1543.TObject<{
6067
- phoneNumber: alepha1543.TString;
6068
- code: alepha1543.TString;
6069
- expiresInMinutes: alepha1543.TNumber;
6066
+ readonly phoneVerification: NotificationPrimitive<alepha1532.TObject<{
6067
+ phoneNumber: alepha1532.TString;
6068
+ code: alepha1532.TString;
6069
+ expiresInMinutes: alepha1532.TNumber;
6070
6070
  }>>;
6071
- readonly passwordResetLink: NotificationPrimitive<alepha1543.TObject<{
6072
- email: alepha1543.TString;
6073
- resetUrl: alepha1543.TString;
6074
- expiresInMinutes: alepha1543.TNumber;
6071
+ readonly passwordResetLink: NotificationPrimitive<alepha1532.TObject<{
6072
+ email: alepha1532.TString;
6073
+ resetUrl: alepha1532.TString;
6074
+ expiresInMinutes: alepha1532.TNumber;
6075
6075
  }>>;
6076
- readonly emailVerificationLink: NotificationPrimitive<alepha1543.TObject<{
6077
- email: alepha1543.TString;
6078
- verifyUrl: alepha1543.TString;
6079
- expiresInMinutes: alepha1543.TNumber;
6076
+ readonly emailVerificationLink: NotificationPrimitive<alepha1532.TObject<{
6077
+ email: alepha1532.TString;
6078
+ verifyUrl: alepha1532.TString;
6079
+ expiresInMinutes: alepha1532.TNumber;
6080
6080
  }>>;
6081
6081
  }
6082
6082
  //#endregion
@@ -6087,10 +6087,10 @@ declare class UserNotifications {
6087
6087
  * Requires the intent ID from Phase 1, the verification code,
6088
6088
  * and the new password.
6089
6089
  */
6090
- declare const completePasswordResetRequestSchema: alepha1543.TObject<{
6091
- intentId: alepha1543.TString;
6092
- code: alepha1543.TString;
6093
- newPassword: alepha1543.TString;
6090
+ declare const completePasswordResetRequestSchema: alepha1532.TObject<{
6091
+ intentId: alepha1532.TString;
6092
+ code: alepha1532.TString;
6093
+ newPassword: alepha1532.TString;
6094
6094
  }>;
6095
6095
  type CompletePasswordResetRequest = Static<typeof completePasswordResetRequestSchema>;
6096
6096
  //#endregion
@@ -6101,9 +6101,9 @@ type CompletePasswordResetRequest = Static<typeof completePasswordResetRequestSc
6101
6101
  * Contains the intent ID needed for Phase 2 completion,
6102
6102
  * along with expiration time.
6103
6103
  */
6104
- declare const passwordResetIntentResponseSchema: alepha1543.TObject<{
6105
- intentId: alepha1543.TString;
6106
- expiresAt: alepha1543.TString;
6104
+ declare const passwordResetIntentResponseSchema: alepha1532.TObject<{
6105
+ intentId: alepha1532.TString;
6106
+ expiresAt: alepha1532.TString;
6107
6107
  }>;
6108
6108
  type PasswordResetIntentResponse = Static<typeof passwordResetIntentResponseSchema>;
6109
6109
  //#endregion
@@ -6126,47 +6126,47 @@ declare class CredentialService {
6126
6126
  protected readonly userNotifications: UserNotifications;
6127
6127
  protected readonly userRealmProvider: UserRealmProvider;
6128
6128
  protected readonly intentCache: CachePrimitiveFn<PasswordResetIntent, any[]>;
6129
- users(userRealmName?: string): Repository<alepha1543.TObject<{
6130
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6131
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6132
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6133
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6134
- realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
6135
- username: alepha1543.TOptional<alepha1543.TString>;
6136
- email: alepha1543.TOptional<alepha1543.TString>;
6137
- phoneNumber: alepha1543.TOptional<alepha1543.TString>;
6138
- roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
6139
- firstName: alepha1543.TOptional<alepha1543.TString>;
6140
- lastName: alepha1543.TOptional<alepha1543.TString>;
6141
- picture: alepha1543.TOptional<alepha1543.TString>;
6142
- enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
6143
- emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
6129
+ users(userRealmName?: string): Repository<alepha1532.TObject<{
6130
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6131
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6132
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6133
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6134
+ realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
6135
+ username: alepha1532.TOptional<alepha1532.TString>;
6136
+ email: alepha1532.TOptional<alepha1532.TString>;
6137
+ phoneNumber: alepha1532.TOptional<alepha1532.TString>;
6138
+ roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
6139
+ firstName: alepha1532.TOptional<alepha1532.TString>;
6140
+ lastName: alepha1532.TOptional<alepha1532.TString>;
6141
+ picture: alepha1532.TOptional<alepha1532.TString>;
6142
+ enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
6143
+ emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
6144
6144
  }>>;
6145
- sessions(userRealmName?: string): Repository<alepha1543.TObject<{
6146
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6147
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6148
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6149
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6150
- refreshToken: alepha1543.TString;
6151
- userId: PgAttr<alepha1543.TString, typeof PG_REF>;
6152
- expiresAt: alepha1543.TString;
6153
- ip: alepha1543.TOptional<alepha1543.TString>;
6154
- userAgent: alepha1543.TOptional<alepha1543.TObject<{
6155
- os: alepha1543.TString;
6156
- browser: alepha1543.TString;
6157
- device: alepha1543.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
6145
+ sessions(userRealmName?: string): Repository<alepha1532.TObject<{
6146
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6147
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6148
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6149
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6150
+ refreshToken: alepha1532.TString;
6151
+ userId: PgAttr<alepha1532.TString, typeof PG_REF>;
6152
+ expiresAt: alepha1532.TString;
6153
+ ip: alepha1532.TOptional<alepha1532.TString>;
6154
+ userAgent: alepha1532.TOptional<alepha1532.TObject<{
6155
+ os: alepha1532.TString;
6156
+ browser: alepha1532.TString;
6157
+ device: alepha1532.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
6158
6158
  }>>;
6159
6159
  }>>;
6160
- identities(userRealmName?: string): Repository<alepha1543.TObject<{
6161
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6162
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6163
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6164
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6165
- userId: PgAttr<alepha1543.TString, typeof PG_REF>;
6166
- password: alepha1543.TOptional<alepha1543.TString>;
6167
- provider: alepha1543.TString;
6168
- providerUserId: alepha1543.TOptional<alepha1543.TString>;
6169
- providerData: alepha1543.TOptional<alepha1543.TRecord<string, alepha1543.TAny>>;
6160
+ identities(userRealmName?: string): Repository<alepha1532.TObject<{
6161
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6162
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6163
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6164
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6165
+ userId: PgAttr<alepha1532.TString, typeof PG_REF>;
6166
+ password: alepha1532.TOptional<alepha1532.TString>;
6167
+ provider: alepha1532.TString;
6168
+ providerUserId: alepha1532.TOptional<alepha1532.TString>;
6169
+ providerData: alepha1532.TOptional<alepha1532.TRecord<string, alepha1532.TAny>>;
6170
6170
  }>>;
6171
6171
  /**
6172
6172
  * Phase 1: Create a password reset intent.
@@ -6203,11 +6203,11 @@ declare class CredentialService {
6203
6203
  }
6204
6204
  //#endregion
6205
6205
  //#region ../../../alepha/src/api-users/schemas/completeRegistrationRequestSchema.d.ts
6206
- declare const completeRegistrationRequestSchema: alepha1543.TObject<{
6207
- intentId: alepha1543.TString;
6208
- emailCode: alepha1543.TOptional<alepha1543.TString>;
6209
- phoneCode: alepha1543.TOptional<alepha1543.TString>;
6210
- captchaToken: alepha1543.TOptional<alepha1543.TString>;
6206
+ declare const completeRegistrationRequestSchema: alepha1532.TObject<{
6207
+ intentId: alepha1532.TString;
6208
+ emailCode: alepha1532.TOptional<alepha1532.TString>;
6209
+ phoneCode: alepha1532.TOptional<alepha1532.TString>;
6210
+ captchaToken: alepha1532.TOptional<alepha1532.TString>;
6211
6211
  }>;
6212
6212
  type CompleteRegistrationRequest = Static<typeof completeRegistrationRequestSchema>;
6213
6213
  //#endregion
@@ -6216,24 +6216,24 @@ type CompleteRegistrationRequest = Static<typeof completeRegistrationRequestSche
6216
6216
  * Schema for user registration request body.
6217
6217
  * Password is always required, other fields depend on realm settings.
6218
6218
  */
6219
- declare const registerRequestSchema: alepha1543.TObject<{
6220
- password: alepha1543.TString;
6221
- username: alepha1543.TOptional<alepha1543.TString>;
6222
- email: alepha1543.TOptional<alepha1543.TString>;
6223
- phoneNumber: alepha1543.TOptional<alepha1543.TString>;
6224
- firstName: alepha1543.TOptional<alepha1543.TString>;
6225
- lastName: alepha1543.TOptional<alepha1543.TString>;
6226
- picture: alepha1543.TOptional<alepha1543.TString>;
6219
+ declare const registerRequestSchema: alepha1532.TObject<{
6220
+ password: alepha1532.TString;
6221
+ username: alepha1532.TOptional<alepha1532.TString>;
6222
+ email: alepha1532.TOptional<alepha1532.TString>;
6223
+ phoneNumber: alepha1532.TOptional<alepha1532.TString>;
6224
+ firstName: alepha1532.TOptional<alepha1532.TString>;
6225
+ lastName: alepha1532.TOptional<alepha1532.TString>;
6226
+ picture: alepha1532.TOptional<alepha1532.TString>;
6227
6227
  }>;
6228
6228
  type RegisterRequest = Static<typeof registerRequestSchema>;
6229
6229
  //#endregion
6230
6230
  //#region ../../../alepha/src/api-users/schemas/registrationIntentResponseSchema.d.ts
6231
- declare const registrationIntentResponseSchema: alepha1543.TObject<{
6232
- intentId: alepha1543.TString;
6233
- expectCaptcha: alepha1543.TBoolean;
6234
- expectEmailVerification: alepha1543.TBoolean;
6235
- expectPhoneVerification: alepha1543.TBoolean;
6236
- expiresAt: alepha1543.TString;
6231
+ declare const registrationIntentResponseSchema: alepha1532.TObject<{
6232
+ intentId: alepha1532.TString;
6233
+ expectCaptcha: alepha1532.TBoolean;
6234
+ expectEmailVerification: alepha1532.TBoolean;
6235
+ expectPhoneVerification: alepha1532.TBoolean;
6236
+ expiresAt: alepha1532.TString;
6237
6237
  }>;
6238
6238
  type RegistrationIntentResponse = Static<typeof registrationIntentResponseSchema>;
6239
6239
  //#endregion
@@ -6304,46 +6304,46 @@ declare class RegistrationService {
6304
6304
  }
6305
6305
  //#endregion
6306
6306
  //#region ../../../alepha/src/api-users/schemas/createUserSchema.d.ts
6307
- declare const createUserSchema: alepha1543.TObject<{
6308
- id: alepha1543.TOptional<PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
6309
- email: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6310
- username: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6311
- picture: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6312
- roles: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
6313
- phoneNumber: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6314
- firstName: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6315
- lastName: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6316
- enabled: alepha1543.TOptional<PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>>;
6317
- emailVerified: alepha1543.TOptional<PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>>;
6318
- version: alepha1543.TOptional<PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
6319
- createdAt: alepha1543.TOptional<PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
6320
- updatedAt: alepha1543.TOptional<PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
6307
+ declare const createUserSchema: alepha1532.TObject<{
6308
+ id: alepha1532.TOptional<PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
6309
+ email: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6310
+ username: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6311
+ picture: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6312
+ roles: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
6313
+ version: alepha1532.TOptional<PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
6314
+ createdAt: alepha1532.TOptional<PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
6315
+ updatedAt: alepha1532.TOptional<PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
6316
+ phoneNumber: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6317
+ firstName: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6318
+ lastName: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6319
+ enabled: alepha1532.TOptional<PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>>;
6320
+ emailVerified: alepha1532.TOptional<PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>>;
6321
6321
  }>;
6322
6322
  type CreateUser = Static<typeof createUserSchema>;
6323
6323
  //#endregion
6324
6324
  //#region ../../../alepha/src/api-users/schemas/updateUserSchema.d.ts
6325
- declare const updateUserSchema: alepha1543.TObject<{
6326
- email: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6327
- picture: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6328
- roles: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
6329
- phoneNumber: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6330
- firstName: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6331
- lastName: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6332
- enabled: alepha1543.TOptional<PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>>;
6333
- realm: alepha1543.TOptional<PgAttr<alepha1543.TString, typeof PG_DEFAULT>>;
6325
+ declare const updateUserSchema: alepha1532.TObject<{
6326
+ email: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6327
+ picture: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6328
+ roles: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
6329
+ realm: alepha1532.TOptional<PgAttr<alepha1532.TString, typeof PG_DEFAULT>>;
6330
+ phoneNumber: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6331
+ firstName: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6332
+ lastName: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6333
+ enabled: alepha1532.TOptional<PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>>;
6334
6334
  }>;
6335
6335
  type UpdateUser = Static<typeof updateUserSchema>;
6336
6336
  //#endregion
6337
6337
  //#region ../../../alepha/src/api-users/schemas/userQuerySchema.d.ts
6338
- declare const userQuerySchema: alepha1543.TObject<{
6339
- page: alepha1543.TOptional<alepha1543.TInteger>;
6340
- size: alepha1543.TOptional<alepha1543.TInteger>;
6341
- sort: alepha1543.TOptional<alepha1543.TString>;
6342
- email: alepha1543.TOptional<alepha1543.TString>;
6343
- enabled: alepha1543.TOptional<alepha1543.TBoolean>;
6344
- emailVerified: alepha1543.TOptional<alepha1543.TBoolean>;
6345
- roles: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
6346
- query: alepha1543.TOptional<alepha1543.TString>;
6338
+ declare const userQuerySchema: alepha1532.TObject<{
6339
+ page: alepha1532.TOptional<alepha1532.TInteger>;
6340
+ size: alepha1532.TOptional<alepha1532.TInteger>;
6341
+ sort: alepha1532.TOptional<alepha1532.TString>;
6342
+ email: alepha1532.TOptional<alepha1532.TString>;
6343
+ enabled: alepha1532.TOptional<alepha1532.TBoolean>;
6344
+ emailVerified: alepha1532.TOptional<alepha1532.TBoolean>;
6345
+ roles: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
6346
+ query: alepha1532.TOptional<alepha1532.TString>;
6347
6347
  }>;
6348
6348
  type UserQuery = Static<typeof userQuerySchema>;
6349
6349
  //#endregion
@@ -6353,21 +6353,21 @@ declare class UserService {
6353
6353
  protected readonly verificationController: HttpVirtualClient<VerificationController>;
6354
6354
  protected readonly userNotifications: UserNotifications;
6355
6355
  protected readonly userRealmProvider: UserRealmProvider;
6356
- users(userRealmName?: string): Repository<alepha1543.TObject<{
6357
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6358
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6359
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6360
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6361
- realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
6362
- username: alepha1543.TOptional<alepha1543.TString>;
6363
- email: alepha1543.TOptional<alepha1543.TString>;
6364
- phoneNumber: alepha1543.TOptional<alepha1543.TString>;
6365
- roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
6366
- firstName: alepha1543.TOptional<alepha1543.TString>;
6367
- lastName: alepha1543.TOptional<alepha1543.TString>;
6368
- picture: alepha1543.TOptional<alepha1543.TString>;
6369
- enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
6370
- emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
6356
+ users(userRealmName?: string): Repository<alepha1532.TObject<{
6357
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6358
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6359
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6360
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6361
+ realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
6362
+ username: alepha1532.TOptional<alepha1532.TString>;
6363
+ email: alepha1532.TOptional<alepha1532.TString>;
6364
+ phoneNumber: alepha1532.TOptional<alepha1532.TString>;
6365
+ roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
6366
+ firstName: alepha1532.TOptional<alepha1532.TString>;
6367
+ lastName: alepha1532.TOptional<alepha1532.TString>;
6368
+ picture: alepha1532.TOptional<alepha1532.TString>;
6369
+ enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
6370
+ emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
6371
6371
  }>>;
6372
6372
  /**
6373
6373
  * Request email verification for a user.
@@ -6420,122 +6420,122 @@ declare class UserController {
6420
6420
  * Validates data, creates verification sessions, and stores intent in cache.
6421
6421
  */
6422
6422
  readonly createRegistrationIntent: ActionPrimitiveFn<{
6423
- body: alepha1543.TObject<{
6424
- password: alepha1543.TString;
6425
- username: alepha1543.TOptional<alepha1543.TString>;
6426
- email: alepha1543.TOptional<alepha1543.TString>;
6427
- phoneNumber: alepha1543.TOptional<alepha1543.TString>;
6428
- firstName: alepha1543.TOptional<alepha1543.TString>;
6429
- lastName: alepha1543.TOptional<alepha1543.TString>;
6430
- picture: alepha1543.TOptional<alepha1543.TString>;
6423
+ body: alepha1532.TObject<{
6424
+ password: alepha1532.TString;
6425
+ username: alepha1532.TOptional<alepha1532.TString>;
6426
+ email: alepha1532.TOptional<alepha1532.TString>;
6427
+ phoneNumber: alepha1532.TOptional<alepha1532.TString>;
6428
+ firstName: alepha1532.TOptional<alepha1532.TString>;
6429
+ lastName: alepha1532.TOptional<alepha1532.TString>;
6430
+ picture: alepha1532.TOptional<alepha1532.TString>;
6431
6431
  }>;
6432
- query: alepha1543.TObject<{
6433
- userRealmName: alepha1543.TOptional<alepha1543.TString>;
6432
+ query: alepha1532.TObject<{
6433
+ userRealmName: alepha1532.TOptional<alepha1532.TString>;
6434
6434
  }>;
6435
- response: alepha1543.TObject<{
6436
- intentId: alepha1543.TString;
6437
- expectCaptcha: alepha1543.TBoolean;
6438
- expectEmailVerification: alepha1543.TBoolean;
6439
- expectPhoneVerification: alepha1543.TBoolean;
6440
- expiresAt: alepha1543.TString;
6435
+ response: alepha1532.TObject<{
6436
+ intentId: alepha1532.TString;
6437
+ expectCaptcha: alepha1532.TBoolean;
6438
+ expectEmailVerification: alepha1532.TBoolean;
6439
+ expectPhoneVerification: alepha1532.TBoolean;
6440
+ expiresAt: alepha1532.TString;
6441
6441
  }>;
6442
6442
  }>;
6443
6443
  /**
6444
6444
  * Find users with pagination and filtering.
6445
6445
  */
6446
6446
  readonly findUsers: ActionPrimitiveFn<{
6447
- query: alepha1543.TObject<{
6448
- page: alepha1543.TOptional<alepha1543.TInteger>;
6449
- size: alepha1543.TOptional<alepha1543.TInteger>;
6450
- sort: alepha1543.TOptional<alepha1543.TString>;
6451
- email: alepha1543.TOptional<alepha1543.TString>;
6452
- enabled: alepha1543.TOptional<alepha1543.TBoolean>;
6453
- emailVerified: alepha1543.TOptional<alepha1543.TBoolean>;
6454
- roles: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
6455
- query: alepha1543.TOptional<alepha1543.TString>;
6456
- userRealmName: alepha1543.TOptional<alepha1543.TString>;
6447
+ query: alepha1532.TObject<{
6448
+ page: alepha1532.TOptional<alepha1532.TInteger>;
6449
+ size: alepha1532.TOptional<alepha1532.TInteger>;
6450
+ sort: alepha1532.TOptional<alepha1532.TString>;
6451
+ email: alepha1532.TOptional<alepha1532.TString>;
6452
+ enabled: alepha1532.TOptional<alepha1532.TBoolean>;
6453
+ emailVerified: alepha1532.TOptional<alepha1532.TBoolean>;
6454
+ roles: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
6455
+ query: alepha1532.TOptional<alepha1532.TString>;
6456
+ userRealmName: alepha1532.TOptional<alepha1532.TString>;
6457
6457
  }>;
6458
- response: alepha1543.TPage<alepha1543.TObject<{
6459
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6460
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6461
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6462
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6463
- realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
6464
- username: alepha1543.TOptional<alepha1543.TString>;
6465
- email: alepha1543.TOptional<alepha1543.TString>;
6466
- phoneNumber: alepha1543.TOptional<alepha1543.TString>;
6467
- roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
6468
- firstName: alepha1543.TOptional<alepha1543.TString>;
6469
- lastName: alepha1543.TOptional<alepha1543.TString>;
6470
- picture: alepha1543.TOptional<alepha1543.TString>;
6471
- enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
6472
- emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
6458
+ response: alepha1532.TPage<alepha1532.TObject<{
6459
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6460
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6461
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6462
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6463
+ realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
6464
+ username: alepha1532.TOptional<alepha1532.TString>;
6465
+ email: alepha1532.TOptional<alepha1532.TString>;
6466
+ phoneNumber: alepha1532.TOptional<alepha1532.TString>;
6467
+ roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
6468
+ firstName: alepha1532.TOptional<alepha1532.TString>;
6469
+ lastName: alepha1532.TOptional<alepha1532.TString>;
6470
+ picture: alepha1532.TOptional<alepha1532.TString>;
6471
+ enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
6472
+ emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
6473
6473
  }>>;
6474
6474
  }>;
6475
6475
  /**
6476
6476
  * Get a user by ID.
6477
6477
  */
6478
6478
  readonly getUser: ActionPrimitiveFn<{
6479
- params: alepha1543.TObject<{
6480
- id: alepha1543.TString;
6479
+ params: alepha1532.TObject<{
6480
+ id: alepha1532.TString;
6481
6481
  }>;
6482
- query: alepha1543.TObject<{
6483
- userRealmName: alepha1543.TOptional<alepha1543.TString>;
6482
+ query: alepha1532.TObject<{
6483
+ userRealmName: alepha1532.TOptional<alepha1532.TString>;
6484
6484
  }>;
6485
- response: alepha1543.TObject<{
6486
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6487
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6488
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6489
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6490
- realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
6491
- username: alepha1543.TOptional<alepha1543.TString>;
6492
- email: alepha1543.TOptional<alepha1543.TString>;
6493
- phoneNumber: alepha1543.TOptional<alepha1543.TString>;
6494
- roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
6495
- firstName: alepha1543.TOptional<alepha1543.TString>;
6496
- lastName: alepha1543.TOptional<alepha1543.TString>;
6497
- picture: alepha1543.TOptional<alepha1543.TString>;
6498
- enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
6499
- emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
6485
+ response: alepha1532.TObject<{
6486
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6487
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6488
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6489
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6490
+ realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
6491
+ username: alepha1532.TOptional<alepha1532.TString>;
6492
+ email: alepha1532.TOptional<alepha1532.TString>;
6493
+ phoneNumber: alepha1532.TOptional<alepha1532.TString>;
6494
+ roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
6495
+ firstName: alepha1532.TOptional<alepha1532.TString>;
6496
+ lastName: alepha1532.TOptional<alepha1532.TString>;
6497
+ picture: alepha1532.TOptional<alepha1532.TString>;
6498
+ enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
6499
+ emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
6500
6500
  }>;
6501
6501
  }>;
6502
6502
  /**
6503
6503
  * Create a new user.
6504
6504
  */
6505
6505
  readonly createUser: ActionPrimitiveFn<{
6506
- query: alepha1543.TObject<{
6507
- userRealmName: alepha1543.TOptional<alepha1543.TString>;
6506
+ query: alepha1532.TObject<{
6507
+ userRealmName: alepha1532.TOptional<alepha1532.TString>;
6508
6508
  }>;
6509
- body: alepha1543.TObject<{
6510
- id: alepha1543.TOptional<PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
6511
- email: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6512
- username: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6513
- picture: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6514
- roles: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
6515
- phoneNumber: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6516
- firstName: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6517
- lastName: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6518
- enabled: alepha1543.TOptional<PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>>;
6519
- emailVerified: alepha1543.TOptional<PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>>;
6520
- version: alepha1543.TOptional<PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
6521
- createdAt: alepha1543.TOptional<PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
6522
- updatedAt: alepha1543.TOptional<PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
6509
+ body: alepha1532.TObject<{
6510
+ id: alepha1532.TOptional<PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
6511
+ email: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6512
+ username: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6513
+ picture: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6514
+ roles: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
6515
+ version: alepha1532.TOptional<PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
6516
+ createdAt: alepha1532.TOptional<PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
6517
+ updatedAt: alepha1532.TOptional<PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
6518
+ phoneNumber: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6519
+ firstName: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6520
+ lastName: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6521
+ enabled: alepha1532.TOptional<PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>>;
6522
+ emailVerified: alepha1532.TOptional<PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>>;
6523
6523
  }>;
6524
- response: alepha1543.TObject<{
6525
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6526
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6527
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6528
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6529
- realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
6530
- username: alepha1543.TOptional<alepha1543.TString>;
6531
- email: alepha1543.TOptional<alepha1543.TString>;
6532
- phoneNumber: alepha1543.TOptional<alepha1543.TString>;
6533
- roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
6534
- firstName: alepha1543.TOptional<alepha1543.TString>;
6535
- lastName: alepha1543.TOptional<alepha1543.TString>;
6536
- picture: alepha1543.TOptional<alepha1543.TString>;
6537
- enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
6538
- emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
6524
+ response: alepha1532.TObject<{
6525
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6526
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6527
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6528
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6529
+ realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
6530
+ username: alepha1532.TOptional<alepha1532.TString>;
6531
+ email: alepha1532.TOptional<alepha1532.TString>;
6532
+ phoneNumber: alepha1532.TOptional<alepha1532.TString>;
6533
+ roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
6534
+ firstName: alepha1532.TOptional<alepha1532.TString>;
6535
+ lastName: alepha1532.TOptional<alepha1532.TString>;
6536
+ picture: alepha1532.TOptional<alepha1532.TString>;
6537
+ enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
6538
+ emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
6539
6539
  }>;
6540
6540
  }>;
6541
6541
  /**
@@ -6543,80 +6543,80 @@ declare class UserController {
6543
6543
  * Validates verification codes and creates the user.
6544
6544
  */
6545
6545
  readonly createUserFromIntent: ActionPrimitiveFn<{
6546
- body: alepha1543.TObject<{
6547
- intentId: alepha1543.TString;
6548
- emailCode: alepha1543.TOptional<alepha1543.TString>;
6549
- phoneCode: alepha1543.TOptional<alepha1543.TString>;
6550
- captchaToken: alepha1543.TOptional<alepha1543.TString>;
6546
+ body: alepha1532.TObject<{
6547
+ intentId: alepha1532.TString;
6548
+ emailCode: alepha1532.TOptional<alepha1532.TString>;
6549
+ phoneCode: alepha1532.TOptional<alepha1532.TString>;
6550
+ captchaToken: alepha1532.TOptional<alepha1532.TString>;
6551
6551
  }>;
6552
- response: alepha1543.TObject<{
6553
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6554
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6555
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6556
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6557
- realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
6558
- username: alepha1543.TOptional<alepha1543.TString>;
6559
- email: alepha1543.TOptional<alepha1543.TString>;
6560
- phoneNumber: alepha1543.TOptional<alepha1543.TString>;
6561
- roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
6562
- firstName: alepha1543.TOptional<alepha1543.TString>;
6563
- lastName: alepha1543.TOptional<alepha1543.TString>;
6564
- picture: alepha1543.TOptional<alepha1543.TString>;
6565
- enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
6566
- emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
6552
+ response: alepha1532.TObject<{
6553
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6554
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6555
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6556
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6557
+ realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
6558
+ username: alepha1532.TOptional<alepha1532.TString>;
6559
+ email: alepha1532.TOptional<alepha1532.TString>;
6560
+ phoneNumber: alepha1532.TOptional<alepha1532.TString>;
6561
+ roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
6562
+ firstName: alepha1532.TOptional<alepha1532.TString>;
6563
+ lastName: alepha1532.TOptional<alepha1532.TString>;
6564
+ picture: alepha1532.TOptional<alepha1532.TString>;
6565
+ enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
6566
+ emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
6567
6567
  }>;
6568
6568
  }>;
6569
6569
  /**
6570
6570
  * Update a user.
6571
6571
  */
6572
6572
  readonly updateUser: ActionPrimitiveFn<{
6573
- params: alepha1543.TObject<{
6574
- id: alepha1543.TString;
6573
+ params: alepha1532.TObject<{
6574
+ id: alepha1532.TString;
6575
6575
  }>;
6576
- query: alepha1543.TObject<{
6577
- userRealmName: alepha1543.TOptional<alepha1543.TString>;
6576
+ query: alepha1532.TObject<{
6577
+ userRealmName: alepha1532.TOptional<alepha1532.TString>;
6578
6578
  }>;
6579
- body: alepha1543.TObject<{
6580
- email: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6581
- picture: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6582
- roles: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
6583
- phoneNumber: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6584
- firstName: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6585
- lastName: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
6586
- enabled: alepha1543.TOptional<PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>>;
6587
- realm: alepha1543.TOptional<PgAttr<alepha1543.TString, typeof PG_DEFAULT>>;
6579
+ body: alepha1532.TObject<{
6580
+ email: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6581
+ picture: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6582
+ roles: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
6583
+ realm: alepha1532.TOptional<PgAttr<alepha1532.TString, typeof PG_DEFAULT>>;
6584
+ phoneNumber: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6585
+ firstName: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6586
+ lastName: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
6587
+ enabled: alepha1532.TOptional<PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>>;
6588
6588
  }>;
6589
- response: alepha1543.TObject<{
6590
- id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6591
- version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6592
- createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6593
- updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6594
- realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
6595
- username: alepha1543.TOptional<alepha1543.TString>;
6596
- email: alepha1543.TOptional<alepha1543.TString>;
6597
- phoneNumber: alepha1543.TOptional<alepha1543.TString>;
6598
- roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
6599
- firstName: alepha1543.TOptional<alepha1543.TString>;
6600
- lastName: alepha1543.TOptional<alepha1543.TString>;
6601
- picture: alepha1543.TOptional<alepha1543.TString>;
6602
- enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
6603
- emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
6589
+ response: alepha1532.TObject<{
6590
+ id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
6591
+ version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
6592
+ createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
6593
+ updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
6594
+ realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
6595
+ username: alepha1532.TOptional<alepha1532.TString>;
6596
+ email: alepha1532.TOptional<alepha1532.TString>;
6597
+ phoneNumber: alepha1532.TOptional<alepha1532.TString>;
6598
+ roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
6599
+ firstName: alepha1532.TOptional<alepha1532.TString>;
6600
+ lastName: alepha1532.TOptional<alepha1532.TString>;
6601
+ picture: alepha1532.TOptional<alepha1532.TString>;
6602
+ enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
6603
+ emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
6604
6604
  }>;
6605
6605
  }>;
6606
6606
  /**
6607
6607
  * Delete a user.
6608
6608
  */
6609
6609
  readonly deleteUser: ActionPrimitiveFn<{
6610
- params: alepha1543.TObject<{
6611
- id: alepha1543.TString;
6610
+ params: alepha1532.TObject<{
6611
+ id: alepha1532.TString;
6612
6612
  }>;
6613
- query: alepha1543.TObject<{
6614
- userRealmName: alepha1543.TOptional<alepha1543.TString>;
6613
+ query: alepha1532.TObject<{
6614
+ userRealmName: alepha1532.TOptional<alepha1532.TString>;
6615
6615
  }>;
6616
- response: alepha1543.TObject<{
6617
- ok: alepha1543.TBoolean;
6618
- id: alepha1543.TOptional<alepha1543.TUnion<[alepha1543.TString, alepha1543.TInteger]>>;
6619
- count: alepha1543.TOptional<alepha1543.TNumber>;
6616
+ response: alepha1532.TObject<{
6617
+ ok: alepha1532.TBoolean;
6618
+ id: alepha1532.TOptional<alepha1532.TUnion<[alepha1532.TString, alepha1532.TInteger]>>;
6619
+ count: alepha1532.TOptional<alepha1532.TNumber>;
6620
6620
  }>;
6621
6621
  }>;
6622
6622
  /**
@@ -6624,15 +6624,15 @@ declare class UserController {
6624
6624
  * Validates email, sends verification code, and stores intent in cache.
6625
6625
  */
6626
6626
  readonly createPasswordResetIntent: ActionPrimitiveFn<{
6627
- query: alepha1543.TObject<{
6628
- userRealmName: alepha1543.TOptional<alepha1543.TString>;
6627
+ query: alepha1532.TObject<{
6628
+ userRealmName: alepha1532.TOptional<alepha1532.TString>;
6629
6629
  }>;
6630
- body: alepha1543.TObject<{
6631
- email: alepha1543.TString;
6630
+ body: alepha1532.TObject<{
6631
+ email: alepha1532.TString;
6632
6632
  }>;
6633
- response: alepha1543.TObject<{
6634
- intentId: alepha1543.TString;
6635
- expiresAt: alepha1543.TString;
6633
+ response: alepha1532.TObject<{
6634
+ intentId: alepha1532.TString;
6635
+ expiresAt: alepha1532.TString;
6636
6636
  }>;
6637
6637
  }>;
6638
6638
  /**
@@ -6640,61 +6640,61 @@ declare class UserController {
6640
6640
  * Validates verification code, updates password, and invalidates sessions.
6641
6641
  */
6642
6642
  readonly completePasswordReset: ActionPrimitiveFn<{
6643
- body: alepha1543.TObject<{
6644
- intentId: alepha1543.TString;
6645
- code: alepha1543.TString;
6646
- newPassword: alepha1543.TString;
6643
+ body: alepha1532.TObject<{
6644
+ intentId: alepha1532.TString;
6645
+ code: alepha1532.TString;
6646
+ newPassword: alepha1532.TString;
6647
6647
  }>;
6648
- response: alepha1543.TObject<{
6649
- ok: alepha1543.TBoolean;
6650
- id: alepha1543.TOptional<alepha1543.TUnion<[alepha1543.TString, alepha1543.TInteger]>>;
6651
- count: alepha1543.TOptional<alepha1543.TNumber>;
6648
+ response: alepha1532.TObject<{
6649
+ ok: alepha1532.TBoolean;
6650
+ id: alepha1532.TOptional<alepha1532.TUnion<[alepha1532.TString, alepha1532.TInteger]>>;
6651
+ count: alepha1532.TOptional<alepha1532.TNumber>;
6652
6652
  }>;
6653
6653
  }>;
6654
6654
  /**
6655
6655
  * @deprecated Use createPasswordResetIntent instead
6656
6656
  */
6657
6657
  requestPasswordReset: ActionPrimitiveFn<{
6658
- query: alepha1543.TObject<{
6659
- userRealmName: alepha1543.TOptional<alepha1543.TString>;
6658
+ query: alepha1532.TObject<{
6659
+ userRealmName: alepha1532.TOptional<alepha1532.TString>;
6660
6660
  }>;
6661
- body: alepha1543.TObject<{
6662
- email: alepha1543.TString;
6661
+ body: alepha1532.TObject<{
6662
+ email: alepha1532.TString;
6663
6663
  }>;
6664
- response: alepha1543.TObject<{
6665
- success: alepha1543.TBoolean;
6666
- message: alepha1543.TString;
6664
+ response: alepha1532.TObject<{
6665
+ success: alepha1532.TBoolean;
6666
+ message: alepha1532.TString;
6667
6667
  }>;
6668
6668
  }>;
6669
6669
  /**
6670
6670
  * @deprecated Use completePasswordReset instead
6671
6671
  */
6672
6672
  validateResetToken: ActionPrimitiveFn<{
6673
- query: alepha1543.TObject<{
6674
- email: alepha1543.TString;
6675
- token: alepha1543.TString;
6676
- userRealmName: alepha1543.TOptional<alepha1543.TString>;
6673
+ query: alepha1532.TObject<{
6674
+ email: alepha1532.TString;
6675
+ token: alepha1532.TString;
6676
+ userRealmName: alepha1532.TOptional<alepha1532.TString>;
6677
6677
  }>;
6678
- response: alepha1543.TObject<{
6679
- valid: alepha1543.TBoolean;
6680
- email: alepha1543.TOptional<alepha1543.TString>;
6678
+ response: alepha1532.TObject<{
6679
+ valid: alepha1532.TBoolean;
6680
+ email: alepha1532.TOptional<alepha1532.TString>;
6681
6681
  }>;
6682
6682
  }>;
6683
6683
  /**
6684
6684
  * @deprecated Use completePasswordReset instead
6685
6685
  */
6686
6686
  resetPassword: ActionPrimitiveFn<{
6687
- query: alepha1543.TObject<{
6688
- userRealmName: alepha1543.TOptional<alepha1543.TString>;
6687
+ query: alepha1532.TObject<{
6688
+ userRealmName: alepha1532.TOptional<alepha1532.TString>;
6689
6689
  }>;
6690
- body: alepha1543.TObject<{
6691
- email: alepha1543.TString;
6692
- token: alepha1543.TString;
6693
- newPassword: alepha1543.TString;
6690
+ body: alepha1532.TObject<{
6691
+ email: alepha1532.TString;
6692
+ token: alepha1532.TString;
6693
+ newPassword: alepha1532.TString;
6694
6694
  }>;
6695
- response: alepha1543.TObject<{
6696
- success: alepha1543.TBoolean;
6697
- message: alepha1543.TString;
6695
+ response: alepha1532.TObject<{
6696
+ success: alepha1532.TBoolean;
6697
+ message: alepha1532.TString;
6698
6698
  }>;
6699
6699
  }>;
6700
6700
  /**
@@ -6704,17 +6704,17 @@ declare class UserController {
6704
6704
  * @param verifyUrl - Required when method is "link". The base URL for the verification link. Token and email will be appended as query params.
6705
6705
  */
6706
6706
  requestEmailVerification: ActionPrimitiveFn<{
6707
- query: alepha1543.TObject<{
6708
- userRealmName: alepha1543.TOptional<alepha1543.TString>;
6709
- method: alepha1543.TOptional<alepha1543.TUnsafe<"link" | "code">>;
6710
- verifyUrl: alepha1543.TOptional<alepha1543.TString>;
6707
+ query: alepha1532.TObject<{
6708
+ userRealmName: alepha1532.TOptional<alepha1532.TString>;
6709
+ method: alepha1532.TOptional<alepha1532.TUnsafe<"link" | "code">>;
6710
+ verifyUrl: alepha1532.TOptional<alepha1532.TString>;
6711
6711
  }>;
6712
- body: alepha1543.TObject<{
6713
- email: alepha1543.TString;
6712
+ body: alepha1532.TObject<{
6713
+ email: alepha1532.TString;
6714
6714
  }>;
6715
- response: alepha1543.TObject<{
6716
- success: alepha1543.TBoolean;
6717
- message: alepha1543.TString;
6715
+ response: alepha1532.TObject<{
6716
+ success: alepha1532.TBoolean;
6717
+ message: alepha1532.TString;
6718
6718
  }>;
6719
6719
  }>;
6720
6720
  /**
@@ -6722,28 +6722,28 @@ declare class UserController {
6722
6722
  * Updates the user's emailVerified status.
6723
6723
  */
6724
6724
  verifyEmail: ActionPrimitiveFn<{
6725
- query: alepha1543.TObject<{
6726
- userRealmName: alepha1543.TOptional<alepha1543.TString>;
6725
+ query: alepha1532.TObject<{
6726
+ userRealmName: alepha1532.TOptional<alepha1532.TString>;
6727
6727
  }>;
6728
- body: alepha1543.TObject<{
6729
- email: alepha1543.TString;
6730
- token: alepha1543.TString;
6728
+ body: alepha1532.TObject<{
6729
+ email: alepha1532.TString;
6730
+ token: alepha1532.TString;
6731
6731
  }>;
6732
- response: alepha1543.TObject<{
6733
- success: alepha1543.TBoolean;
6734
- message: alepha1543.TString;
6732
+ response: alepha1532.TObject<{
6733
+ success: alepha1532.TBoolean;
6734
+ message: alepha1532.TString;
6735
6735
  }>;
6736
6736
  }>;
6737
6737
  /**
6738
6738
  * Check if an email is verified.
6739
6739
  */
6740
6740
  checkEmailVerification: ActionPrimitiveFn<{
6741
- query: alepha1543.TObject<{
6742
- email: alepha1543.TString;
6743
- userRealmName: alepha1543.TOptional<alepha1543.TString>;
6741
+ query: alepha1532.TObject<{
6742
+ email: alepha1532.TString;
6743
+ userRealmName: alepha1532.TOptional<alepha1532.TString>;
6744
6744
  }>;
6745
- response: alepha1543.TObject<{
6746
- verified: alepha1543.TBoolean;
6745
+ response: alepha1532.TObject<{
6746
+ verified: alepha1532.TBoolean;
6747
6747
  }>;
6748
6748
  }>;
6749
6749
  }
@@ -6889,7 +6889,7 @@ declare class MainRouter {
6889
6889
  *
6890
6890
  * @module alepha.ui.admin
6891
6891
  */
6892
- declare const AlephaUIAdmin: alepha1543.Service<alepha1543.Module>;
6892
+ declare const AlephaUIAdmin: alepha1532.Service<alepha1532.Module>;
6893
6893
  //#endregion
6894
6894
  export { AdminFiles, AdminJobs, AdminLayout, AdminNotifications, AdminParameters, AdminRouter, AdminSessions, AdminSidebar, AdminUserCreate, AdminUserDetails, AdminUserLayout, AdminUserSessions, AdminUserSettings, AdminUsers, AdminVerifications, AlephaUIAdmin, MainRouter };
6895
6895
  //# sourceMappingURL=index.d.ts.map