alepha 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,11 +1,11 @@
1
- import * as alepha23 from "alepha";
1
+ import * as alepha1 from "alepha";
2
2
  import { Alepha, AlephaError, Page, PageQuery, Primitive, Static, StaticEncode, TNull, TObject, TOptional, TSchema, TUnion } from "alepha";
3
3
  import * as alepha_api_notifications0 from "alepha/api/notifications";
4
4
  import { VerificationController } from "alepha/api/verifications";
5
- import * as alepha_orm204 from "alepha/orm";
5
+ import * as alepha_orm198 from "alepha/orm";
6
6
  import { Page as Page$1, Repository } from "alepha/orm";
7
- import * as alepha_server0 from "alepha/server";
8
- import * as alepha_logger1 from "alepha/logger";
7
+ import * as alepha_server14 from "alepha/server";
8
+ import * as alepha_logger0 from "alepha/logger";
9
9
  import { UserRealmOptions as UserRealmOptions$1 } from "alepha/api/users";
10
10
  import * as alepha_bucket0 from "alepha/bucket";
11
11
  import * as alepha_cache0 from "alepha/cache";
@@ -28,78 +28,78 @@ import "postgres";
28
28
  import "drizzle-orm/sqlite-core";
29
29
 
30
30
  //#region ../../src/api-users/atoms/realmAuthSettingsAtom.d.ts
31
- declare const realmAuthSettingsAtom: alepha23.Atom<alepha23.TObject<{
32
- registrationAllowed: alepha23.TBoolean;
33
- emailEnabled: alepha23.TBoolean;
34
- emailRequired: alepha23.TBoolean;
35
- usernameEnabled: alepha23.TBoolean;
36
- usernameRequired: alepha23.TBoolean;
37
- phoneEnabled: alepha23.TBoolean;
38
- phoneRequired: alepha23.TBoolean;
39
- verifyEmailRequired: alepha23.TBoolean;
40
- verifyPhoneRequired: alepha23.TBoolean;
41
- firstNameLastNameEnabled: alepha23.TBoolean;
42
- firstNameLastNameRequired: alepha23.TBoolean;
43
- resetPasswordAllowed: alepha23.TBoolean;
44
- passwordPolicy: alepha23.TObject<{
45
- minLength: alepha23.TInteger;
46
- requireUppercase: alepha23.TBoolean;
47
- requireLowercase: alepha23.TBoolean;
48
- requireNumbers: alepha23.TBoolean;
49
- requireSpecialCharacters: alepha23.TBoolean;
31
+ declare const realmAuthSettingsAtom: alepha1.Atom<alepha1.TObject<{
32
+ registrationAllowed: alepha1.TBoolean;
33
+ emailEnabled: alepha1.TBoolean;
34
+ emailRequired: alepha1.TBoolean;
35
+ usernameEnabled: alepha1.TBoolean;
36
+ usernameRequired: alepha1.TBoolean;
37
+ phoneEnabled: alepha1.TBoolean;
38
+ phoneRequired: alepha1.TBoolean;
39
+ verifyEmailRequired: alepha1.TBoolean;
40
+ verifyPhoneRequired: alepha1.TBoolean;
41
+ firstNameLastNameEnabled: alepha1.TBoolean;
42
+ firstNameLastNameRequired: alepha1.TBoolean;
43
+ resetPasswordAllowed: alepha1.TBoolean;
44
+ passwordPolicy: alepha1.TObject<{
45
+ minLength: alepha1.TInteger;
46
+ requireUppercase: alepha1.TBoolean;
47
+ requireLowercase: alepha1.TBoolean;
48
+ requireNumbers: alepha1.TBoolean;
49
+ requireSpecialCharacters: alepha1.TBoolean;
50
50
  }>;
51
51
  }>, "alepha.api.users.realmAuthSettings">;
52
52
  type RealmAuthSettings = Static<typeof realmAuthSettingsAtom.schema>;
53
53
  //#endregion
54
54
  //#region ../../src/api-users/entities/identities.d.ts
55
- declare const identities: alepha_orm204.EntityPrimitive<alepha23.TObject<{
56
- id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
57
- version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
58
- createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
59
- updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
60
- userId: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_REF>;
61
- password: alepha23.TOptional<alepha23.TString>;
62
- provider: alepha23.TString;
63
- providerUserId: alepha23.TOptional<alepha23.TString>;
64
- providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
55
+ declare const identities: alepha_orm198.EntityPrimitive<alepha1.TObject<{
56
+ id: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_PRIMARY_KEY>, typeof alepha_orm198.PG_DEFAULT>;
57
+ version: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TInteger, typeof alepha_orm198.PG_VERSION>, typeof alepha_orm198.PG_DEFAULT>;
58
+ createdAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_CREATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
59
+ updatedAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_UPDATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
60
+ userId: alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_REF>;
61
+ password: alepha1.TOptional<alepha1.TString>;
62
+ provider: alepha1.TString;
63
+ providerUserId: alepha1.TOptional<alepha1.TString>;
64
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
65
65
  }>>;
66
66
  type IdentityEntity = Static<typeof identities.schema>;
67
67
  //#endregion
68
68
  //#region ../../src/api-users/entities/sessions.d.ts
69
- declare const sessions: alepha_orm204.EntityPrimitive<alepha23.TObject<{
70
- id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
71
- version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
72
- createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
73
- updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
74
- refreshToken: alepha23.TString;
75
- userId: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_REF>;
76
- expiresAt: alepha23.TString;
77
- ip: alepha23.TOptional<alepha23.TString>;
78
- userAgent: alepha23.TOptional<alepha23.TObject<{
79
- os: alepha23.TString;
80
- browser: alepha23.TString;
81
- device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
69
+ declare const sessions: alepha_orm198.EntityPrimitive<alepha1.TObject<{
70
+ id: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_PRIMARY_KEY>, typeof alepha_orm198.PG_DEFAULT>;
71
+ version: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TInteger, typeof alepha_orm198.PG_VERSION>, typeof alepha_orm198.PG_DEFAULT>;
72
+ createdAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_CREATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
73
+ updatedAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_UPDATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
74
+ refreshToken: alepha1.TString;
75
+ userId: alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_REF>;
76
+ expiresAt: alepha1.TString;
77
+ ip: alepha1.TOptional<alepha1.TString>;
78
+ userAgent: alepha1.TOptional<alepha1.TObject<{
79
+ os: alepha1.TString;
80
+ browser: alepha1.TString;
81
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
82
82
  }>>;
83
83
  }>>;
84
84
  type SessionEntity = Static<typeof sessions.schema>;
85
85
  //#endregion
86
86
  //#region ../../src/api-users/entities/users.d.ts
87
87
  declare const DEFAULT_USER_REALM_NAME = "default";
88
- declare const users: alepha_orm204.EntityPrimitive<alepha23.TObject<{
89
- id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
90
- version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
91
- createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
92
- updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
93
- realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
94
- username: alepha23.TOptional<alepha23.TString>;
95
- email: alepha23.TOptional<alepha23.TString>;
96
- phoneNumber: alepha23.TOptional<alepha23.TString>;
97
- roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
98
- firstName: alepha23.TOptional<alepha23.TString>;
99
- lastName: alepha23.TOptional<alepha23.TString>;
100
- picture: alepha23.TOptional<alepha23.TString>;
101
- enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
102
- emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
88
+ declare const users: alepha_orm198.EntityPrimitive<alepha1.TObject<{
89
+ id: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_PRIMARY_KEY>, typeof alepha_orm198.PG_DEFAULT>;
90
+ version: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TInteger, typeof alepha_orm198.PG_VERSION>, typeof alepha_orm198.PG_DEFAULT>;
91
+ createdAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_CREATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
92
+ updatedAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_UPDATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
93
+ realm: alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_DEFAULT>;
94
+ username: alepha1.TOptional<alepha1.TString>;
95
+ email: alepha1.TOptional<alepha1.TString>;
96
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
97
+ roles: alepha_orm198.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm198.PG_DEFAULT>;
98
+ firstName: alepha1.TOptional<alepha1.TString>;
99
+ lastName: alepha1.TOptional<alepha1.TString>;
100
+ picture: alepha1.TOptional<alepha1.TString>;
101
+ enabled: alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>;
102
+ emailVerified: alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>;
103
103
  }>>;
104
104
  type UserEntity = Static<typeof users.schema>;
105
105
  //#endregion
@@ -116,51 +116,51 @@ interface UserRealm {
116
116
  }
117
117
  declare class UserRealmProvider {
118
118
  protected readonly alepha: Alepha;
119
- protected readonly defaultIdentities: Repository<alepha23.TObject<{
120
- id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
121
- version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
122
- createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
123
- updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
124
- userId: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_REF>;
125
- password: alepha23.TOptional<alepha23.TString>;
126
- provider: alepha23.TString;
127
- providerUserId: alepha23.TOptional<alepha23.TString>;
128
- providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
119
+ protected readonly defaultIdentities: Repository<alepha1.TObject<{
120
+ id: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_PRIMARY_KEY>, typeof alepha_orm198.PG_DEFAULT>;
121
+ version: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TInteger, typeof alepha_orm198.PG_VERSION>, typeof alepha_orm198.PG_DEFAULT>;
122
+ createdAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_CREATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
123
+ updatedAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_UPDATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
124
+ userId: alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_REF>;
125
+ password: alepha1.TOptional<alepha1.TString>;
126
+ provider: alepha1.TString;
127
+ providerUserId: alepha1.TOptional<alepha1.TString>;
128
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
129
129
  }>>;
130
- protected readonly defaultSessions: Repository<alepha23.TObject<{
131
- id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
132
- version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
133
- createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
134
- updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
135
- refreshToken: alepha23.TString;
136
- userId: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_REF>;
137
- expiresAt: alepha23.TString;
138
- ip: alepha23.TOptional<alepha23.TString>;
139
- userAgent: alepha23.TOptional<alepha23.TObject<{
140
- os: alepha23.TString;
141
- browser: alepha23.TString;
142
- device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
130
+ protected readonly defaultSessions: Repository<alepha1.TObject<{
131
+ id: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_PRIMARY_KEY>, typeof alepha_orm198.PG_DEFAULT>;
132
+ version: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TInteger, typeof alepha_orm198.PG_VERSION>, typeof alepha_orm198.PG_DEFAULT>;
133
+ createdAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_CREATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
134
+ updatedAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_UPDATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
135
+ refreshToken: alepha1.TString;
136
+ userId: alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_REF>;
137
+ expiresAt: alepha1.TString;
138
+ ip: alepha1.TOptional<alepha1.TString>;
139
+ userAgent: alepha1.TOptional<alepha1.TObject<{
140
+ os: alepha1.TString;
141
+ browser: alepha1.TString;
142
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
143
143
  }>>;
144
144
  }>>;
145
- protected readonly defaultUsers: Repository<alepha23.TObject<{
146
- id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
147
- version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
148
- createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
149
- updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
150
- realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
151
- username: alepha23.TOptional<alepha23.TString>;
152
- email: alepha23.TOptional<alepha23.TString>;
153
- phoneNumber: alepha23.TOptional<alepha23.TString>;
154
- roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
155
- firstName: alepha23.TOptional<alepha23.TString>;
156
- lastName: alepha23.TOptional<alepha23.TString>;
157
- picture: alepha23.TOptional<alepha23.TString>;
158
- enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
159
- emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
145
+ protected readonly defaultUsers: Repository<alepha1.TObject<{
146
+ id: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_PRIMARY_KEY>, typeof alepha_orm198.PG_DEFAULT>;
147
+ version: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TInteger, typeof alepha_orm198.PG_VERSION>, typeof alepha_orm198.PG_DEFAULT>;
148
+ createdAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_CREATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
149
+ updatedAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_UPDATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
150
+ realm: alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_DEFAULT>;
151
+ username: alepha1.TOptional<alepha1.TString>;
152
+ email: alepha1.TOptional<alepha1.TString>;
153
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
154
+ roles: alepha_orm198.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm198.PG_DEFAULT>;
155
+ firstName: alepha1.TOptional<alepha1.TString>;
156
+ lastName: alepha1.TOptional<alepha1.TString>;
157
+ picture: alepha1.TOptional<alepha1.TString>;
158
+ enabled: alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>;
159
+ emailVerified: alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>;
160
160
  }>>;
161
161
  protected realms: Map<string, UserRealm>;
162
162
  avatars: alepha_bucket0.BucketPrimitive;
163
- protected readonly onConfigure: alepha23.HookPrimitive<"configure">;
163
+ protected readonly onConfigure: alepha1.HookPrimitive<"configure">;
164
164
  register(userRealmName: string, userRealmOptions?: UserRealmOptions$1): UserRealm;
165
165
  /**
166
166
  * Gets a registered realm by name, auto-creating default if needed.
@@ -172,29 +172,29 @@ declare class UserRealmProvider {
172
172
  }
173
173
  //#endregion
174
174
  //#region ../../src/api-users/schemas/identityQuerySchema.d.ts
175
- declare const identityQuerySchema: alepha23.TObject<{
176
- page: alepha23.TOptional<alepha23.TInteger>;
177
- size: alepha23.TOptional<alepha23.TInteger>;
178
- sort: alepha23.TOptional<alepha23.TString>;
179
- userId: alepha23.TOptional<alepha23.TString>;
180
- provider: alepha23.TOptional<alepha23.TString>;
175
+ declare const identityQuerySchema: alepha1.TObject<{
176
+ page: alepha1.TOptional<alepha1.TInteger>;
177
+ size: alepha1.TOptional<alepha1.TInteger>;
178
+ sort: alepha1.TOptional<alepha1.TString>;
179
+ userId: alepha1.TOptional<alepha1.TString>;
180
+ provider: alepha1.TOptional<alepha1.TString>;
181
181
  }>;
182
182
  type IdentityQuery = Static<typeof identityQuerySchema>;
183
183
  //#endregion
184
184
  //#region ../../src/api-users/services/IdentityService.d.ts
185
185
  declare class IdentityService {
186
- protected readonly log: alepha_logger1.Logger;
186
+ protected readonly log: alepha_logger0.Logger;
187
187
  protected readonly userRealmProvider: UserRealmProvider;
188
- identities(userRealmName?: string): alepha_orm204.Repository<alepha23.TObject<{
189
- id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
190
- version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
191
- createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
192
- updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
193
- userId: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_REF>;
194
- password: alepha23.TOptional<alepha23.TString>;
195
- provider: alepha23.TString;
196
- providerUserId: alepha23.TOptional<alepha23.TString>;
197
- providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
188
+ identities(userRealmName?: string): alepha_orm198.Repository<alepha1.TObject<{
189
+ id: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_PRIMARY_KEY>, typeof alepha_orm198.PG_DEFAULT>;
190
+ version: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TInteger, typeof alepha_orm198.PG_VERSION>, typeof alepha_orm198.PG_DEFAULT>;
191
+ createdAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_CREATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
192
+ updatedAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_UPDATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
193
+ userId: alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_REF>;
194
+ password: alepha1.TOptional<alepha1.TString>;
195
+ provider: alepha1.TString;
196
+ providerUserId: alepha1.TOptional<alepha1.TString>;
197
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
198
198
  }>>;
199
199
  /**
200
200
  * Find identities with pagination and filtering.
@@ -218,91 +218,91 @@ declare class IdentityController {
218
218
  /**
219
219
  * Find identities with pagination and filtering.
220
220
  */
221
- readonly findIdentities: alepha_server0.ActionPrimitiveFn<{
222
- query: alepha23.TObject<{
223
- page: alepha23.TOptional<alepha23.TInteger>;
224
- size: alepha23.TOptional<alepha23.TInteger>;
225
- sort: alepha23.TOptional<alepha23.TString>;
226
- userId: alepha23.TOptional<alepha23.TString>;
227
- provider: alepha23.TOptional<alepha23.TString>;
228
- userRealmName: alepha23.TOptional<alepha23.TString>;
221
+ readonly findIdentities: alepha_server14.ActionPrimitiveFn<{
222
+ query: alepha1.TObject<{
223
+ page: alepha1.TOptional<alepha1.TInteger>;
224
+ size: alepha1.TOptional<alepha1.TInteger>;
225
+ sort: alepha1.TOptional<alepha1.TString>;
226
+ userId: alepha1.TOptional<alepha1.TString>;
227
+ provider: alepha1.TOptional<alepha1.TString>;
228
+ userRealmName: alepha1.TOptional<alepha1.TString>;
229
229
  }>;
230
- response: alepha23.TPage<alepha23.TObject<{
231
- id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
232
- version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
233
- createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
234
- updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
235
- userId: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_REF>;
236
- provider: alepha23.TString;
237
- providerUserId: alepha23.TOptional<alepha23.TString>;
238
- providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
230
+ response: alepha1.TPage<alepha1.TObject<{
231
+ id: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_PRIMARY_KEY>, typeof alepha_orm198.PG_DEFAULT>;
232
+ version: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TInteger, typeof alepha_orm198.PG_VERSION>, typeof alepha_orm198.PG_DEFAULT>;
233
+ createdAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_CREATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
234
+ updatedAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_UPDATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
235
+ userId: alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_REF>;
236
+ provider: alepha1.TString;
237
+ providerUserId: alepha1.TOptional<alepha1.TString>;
238
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
239
239
  }>>;
240
240
  }>;
241
241
  /**
242
242
  * Get an identity by ID.
243
243
  */
244
- readonly getIdentity: alepha_server0.ActionPrimitiveFn<{
245
- params: alepha23.TObject<{
246
- id: alepha23.TString;
244
+ readonly getIdentity: alepha_server14.ActionPrimitiveFn<{
245
+ params: alepha1.TObject<{
246
+ id: alepha1.TString;
247
247
  }>;
248
- query: alepha23.TObject<{
249
- userRealmName: alepha23.TOptional<alepha23.TString>;
248
+ query: alepha1.TObject<{
249
+ userRealmName: alepha1.TOptional<alepha1.TString>;
250
250
  }>;
251
- response: alepha23.TObject<{
252
- id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
253
- version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
254
- createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
255
- updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
256
- userId: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_REF>;
257
- provider: alepha23.TString;
258
- providerUserId: alepha23.TOptional<alepha23.TString>;
259
- providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
251
+ response: alepha1.TObject<{
252
+ id: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_PRIMARY_KEY>, typeof alepha_orm198.PG_DEFAULT>;
253
+ version: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TInteger, typeof alepha_orm198.PG_VERSION>, typeof alepha_orm198.PG_DEFAULT>;
254
+ createdAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_CREATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
255
+ updatedAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_UPDATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
256
+ userId: alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_REF>;
257
+ provider: alepha1.TString;
258
+ providerUserId: alepha1.TOptional<alepha1.TString>;
259
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
260
260
  }>;
261
261
  }>;
262
262
  /**
263
263
  * Delete an identity.
264
264
  */
265
- readonly deleteIdentity: alepha_server0.ActionPrimitiveFn<{
266
- params: alepha23.TObject<{
267
- id: alepha23.TString;
265
+ readonly deleteIdentity: alepha_server14.ActionPrimitiveFn<{
266
+ params: alepha1.TObject<{
267
+ id: alepha1.TString;
268
268
  }>;
269
- query: alepha23.TObject<{
270
- userRealmName: alepha23.TOptional<alepha23.TString>;
269
+ query: alepha1.TObject<{
270
+ userRealmName: alepha1.TOptional<alepha1.TString>;
271
271
  }>;
272
- response: alepha23.TObject<{
273
- ok: alepha23.TBoolean;
274
- id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
275
- count: alepha23.TOptional<alepha23.TNumber>;
272
+ response: alepha1.TObject<{
273
+ ok: alepha1.TBoolean;
274
+ id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
275
+ count: alepha1.TOptional<alepha1.TNumber>;
276
276
  }>;
277
277
  }>;
278
278
  }
279
279
  //#endregion
280
280
  //#region ../../src/api-users/schemas/sessionQuerySchema.d.ts
281
- declare const sessionQuerySchema: alepha23.TObject<{
282
- page: alepha23.TOptional<alepha23.TInteger>;
283
- size: alepha23.TOptional<alepha23.TInteger>;
284
- sort: alepha23.TOptional<alepha23.TString>;
285
- userId: alepha23.TOptional<alepha23.TString>;
281
+ declare const sessionQuerySchema: alepha1.TObject<{
282
+ page: alepha1.TOptional<alepha1.TInteger>;
283
+ size: alepha1.TOptional<alepha1.TInteger>;
284
+ sort: alepha1.TOptional<alepha1.TString>;
285
+ userId: alepha1.TOptional<alepha1.TString>;
286
286
  }>;
287
287
  type SessionQuery = Static<typeof sessionQuerySchema>;
288
288
  //#endregion
289
289
  //#region ../../src/api-users/services/SessionCrudService.d.ts
290
290
  declare class SessionCrudService {
291
- protected readonly log: alepha_logger1.Logger;
291
+ protected readonly log: alepha_logger0.Logger;
292
292
  protected readonly userRealmProvider: UserRealmProvider;
293
- sessions(userRealmName?: string): alepha_orm204.Repository<alepha23.TObject<{
294
- id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
295
- version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
296
- createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
297
- updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
298
- refreshToken: alepha23.TString;
299
- userId: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_REF>;
300
- expiresAt: alepha23.TString;
301
- ip: alepha23.TOptional<alepha23.TString>;
302
- userAgent: alepha23.TOptional<alepha23.TObject<{
303
- os: alepha23.TString;
304
- browser: alepha23.TString;
305
- device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
293
+ sessions(userRealmName?: string): alepha_orm198.Repository<alepha1.TObject<{
294
+ id: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_PRIMARY_KEY>, typeof alepha_orm198.PG_DEFAULT>;
295
+ version: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TInteger, typeof alepha_orm198.PG_VERSION>, typeof alepha_orm198.PG_DEFAULT>;
296
+ createdAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_CREATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
297
+ updatedAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_UPDATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
298
+ refreshToken: alepha1.TString;
299
+ userId: alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_REF>;
300
+ expiresAt: alepha1.TString;
301
+ ip: alepha1.TOptional<alepha1.TString>;
302
+ userAgent: alepha1.TOptional<alepha1.TObject<{
303
+ os: alepha1.TString;
304
+ browser: alepha1.TString;
305
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
306
306
  }>>;
307
307
  }>>;
308
308
  /**
@@ -327,70 +327,70 @@ declare class SessionController {
327
327
  /**
328
328
  * Find sessions with pagination and filtering.
329
329
  */
330
- readonly findSessions: alepha_server0.ActionPrimitiveFn<{
331
- query: alepha23.TObject<{
332
- page: alepha23.TOptional<alepha23.TInteger>;
333
- size: alepha23.TOptional<alepha23.TInteger>;
334
- sort: alepha23.TOptional<alepha23.TString>;
335
- userId: alepha23.TOptional<alepha23.TString>;
336
- userRealmName: alepha23.TOptional<alepha23.TString>;
330
+ readonly findSessions: alepha_server14.ActionPrimitiveFn<{
331
+ query: alepha1.TObject<{
332
+ page: alepha1.TOptional<alepha1.TInteger>;
333
+ size: alepha1.TOptional<alepha1.TInteger>;
334
+ sort: alepha1.TOptional<alepha1.TString>;
335
+ userId: alepha1.TOptional<alepha1.TString>;
336
+ userRealmName: alepha1.TOptional<alepha1.TString>;
337
337
  }>;
338
- response: alepha23.TPage<alepha23.TObject<{
339
- id: alepha23.TString;
340
- version: alepha23.TNumber;
341
- createdAt: alepha23.TString;
342
- updatedAt: alepha23.TString;
343
- refreshToken: alepha23.TString;
344
- userId: alepha23.TString;
345
- expiresAt: alepha23.TString;
346
- ip: alepha23.TOptional<alepha23.TString>;
347
- userAgent: alepha23.TOptional<alepha23.TObject<{
348
- os: alepha23.TString;
349
- browser: alepha23.TString;
350
- device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
338
+ response: alepha1.TPage<alepha1.TObject<{
339
+ id: alepha1.TString;
340
+ version: alepha1.TNumber;
341
+ createdAt: alepha1.TString;
342
+ updatedAt: alepha1.TString;
343
+ refreshToken: alepha1.TString;
344
+ userId: alepha1.TString;
345
+ expiresAt: alepha1.TString;
346
+ ip: alepha1.TOptional<alepha1.TString>;
347
+ userAgent: alepha1.TOptional<alepha1.TObject<{
348
+ os: alepha1.TString;
349
+ browser: alepha1.TString;
350
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
351
351
  }>>;
352
352
  }>>;
353
353
  }>;
354
354
  /**
355
355
  * Get a session by ID.
356
356
  */
357
- readonly getSession: alepha_server0.ActionPrimitiveFn<{
358
- params: alepha23.TObject<{
359
- id: alepha23.TString;
357
+ readonly getSession: alepha_server14.ActionPrimitiveFn<{
358
+ params: alepha1.TObject<{
359
+ id: alepha1.TString;
360
360
  }>;
361
- query: alepha23.TObject<{
362
- userRealmName: alepha23.TOptional<alepha23.TString>;
361
+ query: alepha1.TObject<{
362
+ userRealmName: alepha1.TOptional<alepha1.TString>;
363
363
  }>;
364
- response: alepha23.TObject<{
365
- id: alepha23.TString;
366
- version: alepha23.TNumber;
367
- createdAt: alepha23.TString;
368
- updatedAt: alepha23.TString;
369
- refreshToken: alepha23.TString;
370
- userId: alepha23.TString;
371
- expiresAt: alepha23.TString;
372
- ip: alepha23.TOptional<alepha23.TString>;
373
- userAgent: alepha23.TOptional<alepha23.TObject<{
374
- os: alepha23.TString;
375
- browser: alepha23.TString;
376
- device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
364
+ response: alepha1.TObject<{
365
+ id: alepha1.TString;
366
+ version: alepha1.TNumber;
367
+ createdAt: alepha1.TString;
368
+ updatedAt: alepha1.TString;
369
+ refreshToken: alepha1.TString;
370
+ userId: alepha1.TString;
371
+ expiresAt: alepha1.TString;
372
+ ip: alepha1.TOptional<alepha1.TString>;
373
+ userAgent: alepha1.TOptional<alepha1.TObject<{
374
+ os: alepha1.TString;
375
+ browser: alepha1.TString;
376
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
377
377
  }>>;
378
378
  }>;
379
379
  }>;
380
380
  /**
381
381
  * Delete a session.
382
382
  */
383
- readonly deleteSession: alepha_server0.ActionPrimitiveFn<{
384
- params: alepha23.TObject<{
385
- id: alepha23.TString;
383
+ readonly deleteSession: alepha_server14.ActionPrimitiveFn<{
384
+ params: alepha1.TObject<{
385
+ id: alepha1.TString;
386
386
  }>;
387
- query: alepha23.TObject<{
388
- userRealmName: alepha23.TOptional<alepha23.TString>;
387
+ query: alepha1.TObject<{
388
+ userRealmName: alepha1.TOptional<alepha1.TString>;
389
389
  }>;
390
- response: alepha23.TObject<{
391
- ok: alepha23.TBoolean;
392
- id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
393
- count: alepha23.TOptional<alepha23.TNumber>;
390
+ response: alepha1.TObject<{
391
+ ok: alepha1.TBoolean;
392
+ id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
393
+ count: alepha1.TOptional<alepha1.TNumber>;
394
394
  }>;
395
395
  }>;
396
396
  }
@@ -1250,7 +1250,7 @@ declare abstract class ModelBuilder {
1250
1250
  //#endregion
1251
1251
  //#region ../../src/orm/providers/DrizzleKitProvider.d.ts
1252
1252
  declare class DrizzleKitProvider {
1253
- protected readonly log: alepha_logger1.Logger;
1253
+ protected readonly log: alepha_logger0.Logger;
1254
1254
  protected readonly alepha: Alepha;
1255
1255
  /**
1256
1256
  * Synchronize database with current schema definitions.
@@ -1286,11 +1286,11 @@ declare class DrizzleKitProvider {
1286
1286
  */
1287
1287
  importDrizzleKit(): typeof DrizzleKit;
1288
1288
  }
1289
- declare const devMigrationsSchema: alepha23.TObject<{
1290
- id: alepha23.TNumber;
1291
- name: alepha23.TString;
1292
- snapshot: alepha23.TString;
1293
- created_at: alepha23.TString;
1289
+ declare const devMigrationsSchema: alepha1.TObject<{
1290
+ id: alepha1.TNumber;
1291
+ name: alepha1.TString;
1292
+ snapshot: alepha1.TString;
1293
+ created_at: alepha1.TString;
1294
1294
  }>;
1295
1295
  type DevMigrations = Static<typeof devMigrationsSchema>;
1296
1296
  //#endregion
@@ -1298,7 +1298,7 @@ type DevMigrations = Static<typeof devMigrationsSchema>;
1298
1298
  type SQLLike = SQLWrapper | string;
1299
1299
  declare abstract class DatabaseProvider {
1300
1300
  protected readonly alepha: Alepha;
1301
- protected readonly log: alepha_logger1.Logger;
1301
+ protected readonly log: alepha_logger0.Logger;
1302
1302
  protected abstract readonly builder: ModelBuilder;
1303
1303
  protected abstract readonly kit: DrizzleKitProvider;
1304
1304
  abstract readonly db: PgDatabase<any>;
@@ -1487,7 +1487,7 @@ declare class QueryManager {
1487
1487
  createPagination<T>(entities: T[], limit?: number, offset?: number, sort?: Array<{
1488
1488
  column: string;
1489
1489
  direction: "asc" | "desc";
1490
- }>): alepha23.Page<T>;
1490
+ }>): alepha1.Page<T>;
1491
1491
  }
1492
1492
  interface PgJoin {
1493
1493
  table: string;
@@ -1795,7 +1795,7 @@ interface StatementOptions {
1795
1795
  declare module "alepha" {
1796
1796
  interface Env extends Partial<Static<typeof envSchema>> {}
1797
1797
  }
1798
- declare const envSchema: alepha23.TObject<{
1798
+ declare const envSchema: alepha1.TObject<{
1799
1799
  /**
1800
1800
  * Main configuration for database connection.
1801
1801
  * Accept a string in the format of a Postgres connection URL.
@@ -1803,21 +1803,21 @@ declare const envSchema: alepha23.TObject<{
1803
1803
  * or
1804
1804
  * Example: postgres://user:password@localhost:5432/database?sslmode=require
1805
1805
  */
1806
- DATABASE_URL: alepha23.TOptional<alepha23.TString>;
1806
+ DATABASE_URL: alepha1.TOptional<alepha1.TString>;
1807
1807
  /**
1808
1808
  * In addition to the DATABASE_URL, you can specify the postgres schema name.
1809
1809
  *
1810
1810
  * It will monkey patch drizzle tables.
1811
1811
  */
1812
- POSTGRES_SCHEMA: alepha23.TOptional<alepha23.TString>;
1812
+ POSTGRES_SCHEMA: alepha1.TOptional<alepha1.TString>;
1813
1813
  }>;
1814
1814
  //#endregion
1815
1815
  //#region ../../src/orm/providers/drivers/NodeSqliteProvider.d.ts
1816
1816
  /**
1817
1817
  * Configuration options for the Node.js SQLite database provider.
1818
1818
  */
1819
- declare const nodeSqliteOptions: alepha23.Atom<alepha23.TObject<{
1820
- path: alepha23.TOptional<alepha23.TString>;
1819
+ declare const nodeSqliteOptions: alepha1.Atom<alepha1.TObject<{
1820
+ path: alepha1.TOptional<alepha1.TString>;
1821
1821
  }>, "alepha.postgres.node-sqlite.options">;
1822
1822
  type NodeSqliteProviderOptions = Static<typeof nodeSqliteOptions.schema>;
1823
1823
  declare module "alepha" {
@@ -1902,30 +1902,30 @@ declare module "alepha" {
1902
1902
  //#endregion
1903
1903
  //#region ../../src/api-users/notifications/UserNotifications.d.ts
1904
1904
  declare class UserNotifications {
1905
- readonly passwordReset: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1906
- email: alepha23.TString;
1907
- code: alepha23.TString;
1908
- expiresInMinutes: alepha23.TNumber;
1905
+ readonly passwordReset: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1906
+ email: alepha1.TString;
1907
+ code: alepha1.TString;
1908
+ expiresInMinutes: alepha1.TNumber;
1909
1909
  }>>;
1910
- readonly emailVerification: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1911
- email: alepha23.TString;
1912
- code: alepha23.TString;
1913
- expiresInMinutes: alepha23.TNumber;
1910
+ readonly emailVerification: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1911
+ email: alepha1.TString;
1912
+ code: alepha1.TString;
1913
+ expiresInMinutes: alepha1.TNumber;
1914
1914
  }>>;
1915
- readonly phoneVerification: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1916
- phoneNumber: alepha23.TString;
1917
- code: alepha23.TString;
1918
- expiresInMinutes: alepha23.TNumber;
1915
+ readonly phoneVerification: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1916
+ phoneNumber: alepha1.TString;
1917
+ code: alepha1.TString;
1918
+ expiresInMinutes: alepha1.TNumber;
1919
1919
  }>>;
1920
- readonly passwordResetLink: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1921
- email: alepha23.TString;
1922
- resetUrl: alepha23.TString;
1923
- expiresInMinutes: alepha23.TNumber;
1920
+ readonly passwordResetLink: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1921
+ email: alepha1.TString;
1922
+ resetUrl: alepha1.TString;
1923
+ expiresInMinutes: alepha1.TNumber;
1924
1924
  }>>;
1925
- readonly emailVerificationLink: alepha_api_notifications0.NotificationPrimitive<alepha23.TObject<{
1926
- email: alepha23.TString;
1927
- verifyUrl: alepha23.TString;
1928
- expiresInMinutes: alepha23.TNumber;
1925
+ readonly emailVerificationLink: alepha_api_notifications0.NotificationPrimitive<alepha1.TObject<{
1926
+ email: alepha1.TString;
1927
+ verifyUrl: alepha1.TString;
1928
+ expiresInMinutes: alepha1.TNumber;
1929
1929
  }>>;
1930
1930
  }
1931
1931
  //#endregion
@@ -1936,10 +1936,10 @@ declare class UserNotifications {
1936
1936
  * Requires the intent ID from Phase 1, the verification code,
1937
1937
  * and the new password.
1938
1938
  */
1939
- declare const completePasswordResetRequestSchema: alepha23.TObject<{
1940
- intentId: alepha23.TString;
1941
- code: alepha23.TString;
1942
- newPassword: alepha23.TString;
1939
+ declare const completePasswordResetRequestSchema: alepha1.TObject<{
1940
+ intentId: alepha1.TString;
1941
+ code: alepha1.TString;
1942
+ newPassword: alepha1.TString;
1943
1943
  }>;
1944
1944
  type CompletePasswordResetRequest = Static<typeof completePasswordResetRequestSchema>;
1945
1945
  //#endregion
@@ -1950,9 +1950,9 @@ type CompletePasswordResetRequest = Static<typeof completePasswordResetRequestSc
1950
1950
  * Contains the intent ID needed for Phase 2 completion,
1951
1951
  * along with expiration time.
1952
1952
  */
1953
- declare const passwordResetIntentResponseSchema: alepha23.TObject<{
1954
- intentId: alepha23.TString;
1955
- expiresAt: alepha23.TString;
1953
+ declare const passwordResetIntentResponseSchema: alepha1.TObject<{
1954
+ intentId: alepha1.TString;
1955
+ expiresAt: alepha1.TString;
1956
1956
  }>;
1957
1957
  type PasswordResetIntentResponse = Static<typeof passwordResetIntentResponseSchema>;
1958
1958
  //#endregion
@@ -1968,54 +1968,54 @@ interface PasswordResetIntent {
1968
1968
  expiresAt: string;
1969
1969
  }
1970
1970
  declare class CredentialService {
1971
- protected readonly log: alepha_logger1.Logger;
1971
+ protected readonly log: alepha_logger0.Logger;
1972
1972
  protected readonly cryptoProvider: CryptoProvider;
1973
1973
  protected readonly dateTimeProvider: DateTimeProvider;
1974
1974
  protected readonly verificationController: alepha_server_links0.HttpVirtualClient<VerificationController>;
1975
1975
  protected readonly userNotifications: UserNotifications;
1976
1976
  protected readonly userRealmProvider: UserRealmProvider;
1977
1977
  protected readonly intentCache: alepha_cache0.CachePrimitiveFn<PasswordResetIntent, any[]>;
1978
- users(userRealmName?: string): Repository$1<alepha23.TObject<{
1979
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1980
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
1981
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1982
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1983
- realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
1984
- username: alepha23.TOptional<alepha23.TString>;
1985
- email: alepha23.TOptional<alepha23.TString>;
1986
- phoneNumber: alepha23.TOptional<alepha23.TString>;
1987
- roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
1988
- firstName: alepha23.TOptional<alepha23.TString>;
1989
- lastName: alepha23.TOptional<alepha23.TString>;
1990
- picture: alepha23.TOptional<alepha23.TString>;
1991
- enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
1992
- emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
1978
+ users(userRealmName?: string): Repository$1<alepha1.TObject<{
1979
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1980
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
1981
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1982
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1983
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
1984
+ username: alepha1.TOptional<alepha1.TString>;
1985
+ email: alepha1.TOptional<alepha1.TString>;
1986
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
1987
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
1988
+ firstName: alepha1.TOptional<alepha1.TString>;
1989
+ lastName: alepha1.TOptional<alepha1.TString>;
1990
+ picture: alepha1.TOptional<alepha1.TString>;
1991
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
1992
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
1993
1993
  }>>;
1994
- sessions(userRealmName?: string): Repository$1<alepha23.TObject<{
1995
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1996
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
1997
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1998
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1999
- refreshToken: alepha23.TString;
2000
- userId: PgAttr<alepha23.TString, typeof PG_REF>;
2001
- expiresAt: alepha23.TString;
2002
- ip: alepha23.TOptional<alepha23.TString>;
2003
- userAgent: alepha23.TOptional<alepha23.TObject<{
2004
- os: alepha23.TString;
2005
- browser: alepha23.TString;
2006
- device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
1994
+ sessions(userRealmName?: string): Repository$1<alepha1.TObject<{
1995
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1996
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
1997
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1998
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1999
+ refreshToken: alepha1.TString;
2000
+ userId: PgAttr<alepha1.TString, typeof PG_REF>;
2001
+ expiresAt: alepha1.TString;
2002
+ ip: alepha1.TOptional<alepha1.TString>;
2003
+ userAgent: alepha1.TOptional<alepha1.TObject<{
2004
+ os: alepha1.TString;
2005
+ browser: alepha1.TString;
2006
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2007
2007
  }>>;
2008
2008
  }>>;
2009
- identities(userRealmName?: string): Repository$1<alepha23.TObject<{
2010
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2011
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2012
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2013
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2014
- userId: PgAttr<alepha23.TString, typeof PG_REF>;
2015
- password: alepha23.TOptional<alepha23.TString>;
2016
- provider: alepha23.TString;
2017
- providerUserId: alepha23.TOptional<alepha23.TString>;
2018
- providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
2009
+ identities(userRealmName?: string): Repository$1<alepha1.TObject<{
2010
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2011
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2012
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2013
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2014
+ userId: PgAttr<alepha1.TString, typeof PG_REF>;
2015
+ password: alepha1.TOptional<alepha1.TString>;
2016
+ provider: alepha1.TString;
2017
+ providerUserId: alepha1.TOptional<alepha1.TString>;
2018
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
2019
2019
  }>>;
2020
2020
  /**
2021
2021
  * Phase 1: Create a password reset intent.
@@ -2052,11 +2052,11 @@ declare class CredentialService {
2052
2052
  }
2053
2053
  //#endregion
2054
2054
  //#region ../../src/api-users/schemas/completeRegistrationRequestSchema.d.ts
2055
- declare const completeRegistrationRequestSchema: alepha23.TObject<{
2056
- intentId: alepha23.TString;
2057
- emailCode: alepha23.TOptional<alepha23.TString>;
2058
- phoneCode: alepha23.TOptional<alepha23.TString>;
2059
- captchaToken: alepha23.TOptional<alepha23.TString>;
2055
+ declare const completeRegistrationRequestSchema: alepha1.TObject<{
2056
+ intentId: alepha1.TString;
2057
+ emailCode: alepha1.TOptional<alepha1.TString>;
2058
+ phoneCode: alepha1.TOptional<alepha1.TString>;
2059
+ captchaToken: alepha1.TOptional<alepha1.TString>;
2060
2060
  }>;
2061
2061
  type CompleteRegistrationRequest = Static<typeof completeRegistrationRequestSchema>;
2062
2062
  //#endregion
@@ -2065,24 +2065,24 @@ type CompleteRegistrationRequest = Static<typeof completeRegistrationRequestSche
2065
2065
  * Schema for user registration request body.
2066
2066
  * Password is always required, other fields depend on realm settings.
2067
2067
  */
2068
- declare const registerRequestSchema: alepha23.TObject<{
2069
- password: alepha23.TString;
2070
- username: alepha23.TOptional<alepha23.TString>;
2071
- email: alepha23.TOptional<alepha23.TString>;
2072
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2073
- firstName: alepha23.TOptional<alepha23.TString>;
2074
- lastName: alepha23.TOptional<alepha23.TString>;
2075
- picture: alepha23.TOptional<alepha23.TString>;
2068
+ declare const registerRequestSchema: alepha1.TObject<{
2069
+ password: alepha1.TString;
2070
+ username: alepha1.TOptional<alepha1.TString>;
2071
+ email: alepha1.TOptional<alepha1.TString>;
2072
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2073
+ firstName: alepha1.TOptional<alepha1.TString>;
2074
+ lastName: alepha1.TOptional<alepha1.TString>;
2075
+ picture: alepha1.TOptional<alepha1.TString>;
2076
2076
  }>;
2077
2077
  type RegisterRequest = Static<typeof registerRequestSchema>;
2078
2078
  //#endregion
2079
2079
  //#region ../../src/api-users/schemas/registrationIntentResponseSchema.d.ts
2080
- declare const registrationIntentResponseSchema: alepha23.TObject<{
2081
- intentId: alepha23.TString;
2082
- expectCaptcha: alepha23.TBoolean;
2083
- expectEmailVerification: alepha23.TBoolean;
2084
- expectPhoneVerification: alepha23.TBoolean;
2085
- expiresAt: alepha23.TString;
2080
+ declare const registrationIntentResponseSchema: alepha1.TObject<{
2081
+ intentId: alepha1.TString;
2082
+ expectCaptcha: alepha1.TBoolean;
2083
+ expectEmailVerification: alepha1.TBoolean;
2084
+ expectPhoneVerification: alepha1.TBoolean;
2085
+ expiresAt: alepha1.TString;
2086
2086
  }>;
2087
2087
  type RegistrationIntentResponse = Static<typeof registrationIntentResponseSchema>;
2088
2088
  //#endregion
@@ -2109,7 +2109,7 @@ interface RegistrationIntent {
2109
2109
  expiresAt: string;
2110
2110
  }
2111
2111
  declare class RegistrationService {
2112
- protected readonly log: alepha_logger1.Logger;
2112
+ protected readonly log: alepha_logger0.Logger;
2113
2113
  protected readonly dateTimeProvider: DateTimeProvider;
2114
2114
  protected readonly cryptoProvider: CryptoProvider;
2115
2115
  protected readonly verificationController: alepha_server_links0.HttpVirtualClient<VerificationController>;
@@ -2153,70 +2153,70 @@ declare class RegistrationService {
2153
2153
  }
2154
2154
  //#endregion
2155
2155
  //#region ../../src/api-users/schemas/createUserSchema.d.ts
2156
- declare const createUserSchema: alepha23.TObject<{
2157
- id: alepha23.TOptional<PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
2158
- version: alepha23.TOptional<PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
2159
- email: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2160
- createdAt: alepha23.TOptional<PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
2161
- updatedAt: alepha23.TOptional<PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
2162
- username: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2163
- phoneNumber: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2164
- roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2165
- firstName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2166
- lastName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2167
- picture: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2168
- enabled: alepha23.TOptional<PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>>;
2169
- emailVerified: alepha23.TOptional<PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>>;
2156
+ declare const createUserSchema: alepha1.TObject<{
2157
+ username: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2158
+ email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2159
+ phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2160
+ firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2161
+ lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2162
+ picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2163
+ enabled: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
2164
+ emailVerified: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
2165
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2166
+ id: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
2167
+ version: alepha1.TOptional<PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
2168
+ createdAt: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
2169
+ updatedAt: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
2170
2170
  }>;
2171
2171
  type CreateUser = Static<typeof createUserSchema>;
2172
2172
  //#endregion
2173
2173
  //#region ../../src/api-users/schemas/updateUserSchema.d.ts
2174
- declare const updateUserSchema: alepha23.TObject<{
2175
- email: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2176
- realm: alepha23.TOptional<PgAttr<alepha23.TString, typeof PG_DEFAULT>>;
2177
- phoneNumber: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2178
- roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2179
- firstName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2180
- lastName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2181
- picture: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2182
- enabled: alepha23.TOptional<PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>>;
2174
+ declare const updateUserSchema: alepha1.TObject<{
2175
+ email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2176
+ phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2177
+ firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2178
+ lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2179
+ picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2180
+ enabled: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
2181
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2182
+ realm: alepha1.TOptional<PgAttr<alepha1.TString, typeof PG_DEFAULT>>;
2183
2183
  }>;
2184
2184
  type UpdateUser = Static<typeof updateUserSchema>;
2185
2185
  //#endregion
2186
2186
  //#region ../../src/api-users/schemas/userQuerySchema.d.ts
2187
- declare const userQuerySchema: alepha23.TObject<{
2188
- page: alepha23.TOptional<alepha23.TInteger>;
2189
- size: alepha23.TOptional<alepha23.TInteger>;
2190
- sort: alepha23.TOptional<alepha23.TString>;
2191
- email: alepha23.TOptional<alepha23.TString>;
2192
- enabled: alepha23.TOptional<alepha23.TBoolean>;
2193
- emailVerified: alepha23.TOptional<alepha23.TBoolean>;
2194
- roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2195
- query: alepha23.TOptional<alepha23.TString>;
2187
+ declare const userQuerySchema: alepha1.TObject<{
2188
+ page: alepha1.TOptional<alepha1.TInteger>;
2189
+ size: alepha1.TOptional<alepha1.TInteger>;
2190
+ sort: alepha1.TOptional<alepha1.TString>;
2191
+ email: alepha1.TOptional<alepha1.TString>;
2192
+ enabled: alepha1.TOptional<alepha1.TBoolean>;
2193
+ emailVerified: alepha1.TOptional<alepha1.TBoolean>;
2194
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2195
+ query: alepha1.TOptional<alepha1.TString>;
2196
2196
  }>;
2197
2197
  type UserQuery = Static<typeof userQuerySchema>;
2198
2198
  //#endregion
2199
2199
  //#region ../../src/api-users/services/UserService.d.ts
2200
2200
  declare class UserService {
2201
- protected readonly log: alepha_logger1.Logger;
2201
+ protected readonly log: alepha_logger0.Logger;
2202
2202
  protected readonly verificationController: alepha_server_links0.HttpVirtualClient<VerificationController>;
2203
2203
  protected readonly userNotifications: UserNotifications;
2204
2204
  protected readonly userRealmProvider: UserRealmProvider;
2205
- users(userRealmName?: string): alepha_orm204.Repository<alepha23.TObject<{
2206
- id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2207
- version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2208
- createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2209
- updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2210
- realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
2211
- username: alepha23.TOptional<alepha23.TString>;
2212
- email: alepha23.TOptional<alepha23.TString>;
2213
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2214
- roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
2215
- firstName: alepha23.TOptional<alepha23.TString>;
2216
- lastName: alepha23.TOptional<alepha23.TString>;
2217
- picture: alepha23.TOptional<alepha23.TString>;
2218
- enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2219
- emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2205
+ users(userRealmName?: string): alepha_orm198.Repository<alepha1.TObject<{
2206
+ id: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_PRIMARY_KEY>, typeof alepha_orm198.PG_DEFAULT>;
2207
+ version: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TInteger, typeof alepha_orm198.PG_VERSION>, typeof alepha_orm198.PG_DEFAULT>;
2208
+ createdAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_CREATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
2209
+ updatedAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_UPDATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
2210
+ realm: alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_DEFAULT>;
2211
+ username: alepha1.TOptional<alepha1.TString>;
2212
+ email: alepha1.TOptional<alepha1.TString>;
2213
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2214
+ roles: alepha_orm198.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm198.PG_DEFAULT>;
2215
+ firstName: alepha1.TOptional<alepha1.TString>;
2216
+ lastName: alepha1.TOptional<alepha1.TString>;
2217
+ picture: alepha1.TOptional<alepha1.TString>;
2218
+ enabled: alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>;
2219
+ emailVerified: alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>;
2220
2220
  }>>;
2221
2221
  /**
2222
2222
  * Request email verification for a user.
@@ -2268,282 +2268,282 @@ declare class UserController {
2268
2268
  * Phase 1: Create a registration intent.
2269
2269
  * Validates data, creates verification sessions, and stores intent in cache.
2270
2270
  */
2271
- readonly createRegistrationIntent: alepha_server0.ActionPrimitiveFn<{
2272
- body: alepha23.TObject<{
2273
- password: alepha23.TString;
2274
- username: alepha23.TOptional<alepha23.TString>;
2275
- email: alepha23.TOptional<alepha23.TString>;
2276
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2277
- firstName: alepha23.TOptional<alepha23.TString>;
2278
- lastName: alepha23.TOptional<alepha23.TString>;
2279
- picture: alepha23.TOptional<alepha23.TString>;
2271
+ readonly createRegistrationIntent: alepha_server14.ActionPrimitiveFn<{
2272
+ body: alepha1.TObject<{
2273
+ password: alepha1.TString;
2274
+ username: alepha1.TOptional<alepha1.TString>;
2275
+ email: alepha1.TOptional<alepha1.TString>;
2276
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2277
+ firstName: alepha1.TOptional<alepha1.TString>;
2278
+ lastName: alepha1.TOptional<alepha1.TString>;
2279
+ picture: alepha1.TOptional<alepha1.TString>;
2280
2280
  }>;
2281
- query: alepha23.TObject<{
2282
- userRealmName: alepha23.TOptional<alepha23.TString>;
2281
+ query: alepha1.TObject<{
2282
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2283
2283
  }>;
2284
- response: alepha23.TObject<{
2285
- intentId: alepha23.TString;
2286
- expectCaptcha: alepha23.TBoolean;
2287
- expectEmailVerification: alepha23.TBoolean;
2288
- expectPhoneVerification: alepha23.TBoolean;
2289
- expiresAt: alepha23.TString;
2284
+ response: alepha1.TObject<{
2285
+ intentId: alepha1.TString;
2286
+ expectCaptcha: alepha1.TBoolean;
2287
+ expectEmailVerification: alepha1.TBoolean;
2288
+ expectPhoneVerification: alepha1.TBoolean;
2289
+ expiresAt: alepha1.TString;
2290
2290
  }>;
2291
2291
  }>;
2292
2292
  /**
2293
2293
  * Find users with pagination and filtering.
2294
2294
  */
2295
- readonly findUsers: alepha_server0.ActionPrimitiveFn<{
2296
- query: alepha23.TObject<{
2297
- page: alepha23.TOptional<alepha23.TInteger>;
2298
- size: alepha23.TOptional<alepha23.TInteger>;
2299
- sort: alepha23.TOptional<alepha23.TString>;
2300
- email: alepha23.TOptional<alepha23.TString>;
2301
- enabled: alepha23.TOptional<alepha23.TBoolean>;
2302
- emailVerified: alepha23.TOptional<alepha23.TBoolean>;
2303
- roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2304
- query: alepha23.TOptional<alepha23.TString>;
2305
- userRealmName: alepha23.TOptional<alepha23.TString>;
2295
+ readonly findUsers: alepha_server14.ActionPrimitiveFn<{
2296
+ query: alepha1.TObject<{
2297
+ page: alepha1.TOptional<alepha1.TInteger>;
2298
+ size: alepha1.TOptional<alepha1.TInteger>;
2299
+ sort: alepha1.TOptional<alepha1.TString>;
2300
+ email: alepha1.TOptional<alepha1.TString>;
2301
+ enabled: alepha1.TOptional<alepha1.TBoolean>;
2302
+ emailVerified: alepha1.TOptional<alepha1.TBoolean>;
2303
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2304
+ query: alepha1.TOptional<alepha1.TString>;
2305
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2306
2306
  }>;
2307
- response: alepha23.TPage<alepha23.TObject<{
2308
- id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2309
- version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2310
- createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2311
- updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2312
- realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
2313
- username: alepha23.TOptional<alepha23.TString>;
2314
- email: alepha23.TOptional<alepha23.TString>;
2315
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2316
- roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
2317
- firstName: alepha23.TOptional<alepha23.TString>;
2318
- lastName: alepha23.TOptional<alepha23.TString>;
2319
- picture: alepha23.TOptional<alepha23.TString>;
2320
- enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2321
- emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2307
+ response: alepha1.TPage<alepha1.TObject<{
2308
+ id: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_PRIMARY_KEY>, typeof alepha_orm198.PG_DEFAULT>;
2309
+ version: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TInteger, typeof alepha_orm198.PG_VERSION>, typeof alepha_orm198.PG_DEFAULT>;
2310
+ createdAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_CREATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
2311
+ updatedAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_UPDATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
2312
+ realm: alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_DEFAULT>;
2313
+ username: alepha1.TOptional<alepha1.TString>;
2314
+ email: alepha1.TOptional<alepha1.TString>;
2315
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2316
+ roles: alepha_orm198.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm198.PG_DEFAULT>;
2317
+ firstName: alepha1.TOptional<alepha1.TString>;
2318
+ lastName: alepha1.TOptional<alepha1.TString>;
2319
+ picture: alepha1.TOptional<alepha1.TString>;
2320
+ enabled: alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>;
2321
+ emailVerified: alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>;
2322
2322
  }>>;
2323
2323
  }>;
2324
2324
  /**
2325
2325
  * Get a user by ID.
2326
2326
  */
2327
- readonly getUser: alepha_server0.ActionPrimitiveFn<{
2328
- params: alepha23.TObject<{
2329
- id: alepha23.TString;
2327
+ readonly getUser: alepha_server14.ActionPrimitiveFn<{
2328
+ params: alepha1.TObject<{
2329
+ id: alepha1.TString;
2330
2330
  }>;
2331
- query: alepha23.TObject<{
2332
- userRealmName: alepha23.TOptional<alepha23.TString>;
2331
+ query: alepha1.TObject<{
2332
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2333
2333
  }>;
2334
- response: alepha23.TObject<{
2335
- id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2336
- version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2337
- createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2338
- updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2339
- realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
2340
- username: alepha23.TOptional<alepha23.TString>;
2341
- email: alepha23.TOptional<alepha23.TString>;
2342
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2343
- roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
2344
- firstName: alepha23.TOptional<alepha23.TString>;
2345
- lastName: alepha23.TOptional<alepha23.TString>;
2346
- picture: alepha23.TOptional<alepha23.TString>;
2347
- enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2348
- emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2334
+ response: alepha1.TObject<{
2335
+ id: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_PRIMARY_KEY>, typeof alepha_orm198.PG_DEFAULT>;
2336
+ version: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TInteger, typeof alepha_orm198.PG_VERSION>, typeof alepha_orm198.PG_DEFAULT>;
2337
+ createdAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_CREATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
2338
+ updatedAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_UPDATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
2339
+ realm: alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_DEFAULT>;
2340
+ username: alepha1.TOptional<alepha1.TString>;
2341
+ email: alepha1.TOptional<alepha1.TString>;
2342
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2343
+ roles: alepha_orm198.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm198.PG_DEFAULT>;
2344
+ firstName: alepha1.TOptional<alepha1.TString>;
2345
+ lastName: alepha1.TOptional<alepha1.TString>;
2346
+ picture: alepha1.TOptional<alepha1.TString>;
2347
+ enabled: alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>;
2348
+ emailVerified: alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>;
2349
2349
  }>;
2350
2350
  }>;
2351
2351
  /**
2352
2352
  * Create a new user.
2353
2353
  */
2354
- readonly createUser: alepha_server0.ActionPrimitiveFn<{
2355
- query: alepha23.TObject<{
2356
- userRealmName: alepha23.TOptional<alepha23.TString>;
2354
+ readonly createUser: alepha_server14.ActionPrimitiveFn<{
2355
+ query: alepha1.TObject<{
2356
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2357
2357
  }>;
2358
- body: alepha23.TObject<{
2359
- id: alepha23.TOptional<alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>>;
2360
- version: alepha23.TOptional<alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>>;
2361
- email: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2362
- createdAt: alepha23.TOptional<alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>>;
2363
- updatedAt: alepha23.TOptional<alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>>;
2364
- username: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2365
- phoneNumber: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2366
- roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2367
- firstName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2368
- lastName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2369
- picture: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2370
- enabled: alepha23.TOptional<alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>>;
2371
- emailVerified: alepha23.TOptional<alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>>;
2358
+ body: alepha1.TObject<{
2359
+ username: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2360
+ email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2361
+ phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2362
+ firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2363
+ lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2364
+ picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2365
+ enabled: alepha1.TOptional<alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>>;
2366
+ emailVerified: alepha1.TOptional<alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>>;
2367
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2368
+ id: alepha1.TOptional<alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_PRIMARY_KEY>, typeof alepha_orm198.PG_DEFAULT>>;
2369
+ version: alepha1.TOptional<alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TInteger, typeof alepha_orm198.PG_VERSION>, typeof alepha_orm198.PG_DEFAULT>>;
2370
+ createdAt: alepha1.TOptional<alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_CREATED_AT>, typeof alepha_orm198.PG_DEFAULT>>;
2371
+ updatedAt: alepha1.TOptional<alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_UPDATED_AT>, typeof alepha_orm198.PG_DEFAULT>>;
2372
2372
  }>;
2373
- response: alepha23.TObject<{
2374
- id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2375
- version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2376
- createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2377
- updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2378
- realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
2379
- username: alepha23.TOptional<alepha23.TString>;
2380
- email: alepha23.TOptional<alepha23.TString>;
2381
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2382
- roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
2383
- firstName: alepha23.TOptional<alepha23.TString>;
2384
- lastName: alepha23.TOptional<alepha23.TString>;
2385
- picture: alepha23.TOptional<alepha23.TString>;
2386
- enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2387
- emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2373
+ response: alepha1.TObject<{
2374
+ id: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_PRIMARY_KEY>, typeof alepha_orm198.PG_DEFAULT>;
2375
+ version: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TInteger, typeof alepha_orm198.PG_VERSION>, typeof alepha_orm198.PG_DEFAULT>;
2376
+ createdAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_CREATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
2377
+ updatedAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_UPDATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
2378
+ realm: alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_DEFAULT>;
2379
+ username: alepha1.TOptional<alepha1.TString>;
2380
+ email: alepha1.TOptional<alepha1.TString>;
2381
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2382
+ roles: alepha_orm198.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm198.PG_DEFAULT>;
2383
+ firstName: alepha1.TOptional<alepha1.TString>;
2384
+ lastName: alepha1.TOptional<alepha1.TString>;
2385
+ picture: alepha1.TOptional<alepha1.TString>;
2386
+ enabled: alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>;
2387
+ emailVerified: alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>;
2388
2388
  }>;
2389
2389
  }>;
2390
2390
  /**
2391
2391
  * Phase 2: Complete registration using an intent.
2392
2392
  * Validates verification codes and creates the user.
2393
2393
  */
2394
- readonly createUserFromIntent: alepha_server0.ActionPrimitiveFn<{
2395
- body: alepha23.TObject<{
2396
- intentId: alepha23.TString;
2397
- emailCode: alepha23.TOptional<alepha23.TString>;
2398
- phoneCode: alepha23.TOptional<alepha23.TString>;
2399
- captchaToken: alepha23.TOptional<alepha23.TString>;
2394
+ readonly createUserFromIntent: alepha_server14.ActionPrimitiveFn<{
2395
+ body: alepha1.TObject<{
2396
+ intentId: alepha1.TString;
2397
+ emailCode: alepha1.TOptional<alepha1.TString>;
2398
+ phoneCode: alepha1.TOptional<alepha1.TString>;
2399
+ captchaToken: alepha1.TOptional<alepha1.TString>;
2400
2400
  }>;
2401
- response: alepha23.TObject<{
2402
- id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2403
- version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2404
- createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2405
- updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2406
- realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
2407
- username: alepha23.TOptional<alepha23.TString>;
2408
- email: alepha23.TOptional<alepha23.TString>;
2409
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2410
- roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
2411
- firstName: alepha23.TOptional<alepha23.TString>;
2412
- lastName: alepha23.TOptional<alepha23.TString>;
2413
- picture: alepha23.TOptional<alepha23.TString>;
2414
- enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2415
- emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2401
+ response: alepha1.TObject<{
2402
+ id: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_PRIMARY_KEY>, typeof alepha_orm198.PG_DEFAULT>;
2403
+ version: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TInteger, typeof alepha_orm198.PG_VERSION>, typeof alepha_orm198.PG_DEFAULT>;
2404
+ createdAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_CREATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
2405
+ updatedAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_UPDATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
2406
+ realm: alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_DEFAULT>;
2407
+ username: alepha1.TOptional<alepha1.TString>;
2408
+ email: alepha1.TOptional<alepha1.TString>;
2409
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2410
+ roles: alepha_orm198.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm198.PG_DEFAULT>;
2411
+ firstName: alepha1.TOptional<alepha1.TString>;
2412
+ lastName: alepha1.TOptional<alepha1.TString>;
2413
+ picture: alepha1.TOptional<alepha1.TString>;
2414
+ enabled: alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>;
2415
+ emailVerified: alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>;
2416
2416
  }>;
2417
2417
  }>;
2418
2418
  /**
2419
2419
  * Update a user.
2420
2420
  */
2421
- readonly updateUser: alepha_server0.ActionPrimitiveFn<{
2422
- params: alepha23.TObject<{
2423
- id: alepha23.TString;
2421
+ readonly updateUser: alepha_server14.ActionPrimitiveFn<{
2422
+ params: alepha1.TObject<{
2423
+ id: alepha1.TString;
2424
2424
  }>;
2425
- query: alepha23.TObject<{
2426
- userRealmName: alepha23.TOptional<alepha23.TString>;
2425
+ query: alepha1.TObject<{
2426
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2427
2427
  }>;
2428
- body: alepha23.TObject<{
2429
- email: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2430
- realm: alepha23.TOptional<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>>;
2431
- phoneNumber: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2432
- roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
2433
- firstName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2434
- lastName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2435
- picture: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
2436
- enabled: alepha23.TOptional<alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>>;
2428
+ body: alepha1.TObject<{
2429
+ email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2430
+ phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2431
+ firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2432
+ lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2433
+ picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
2434
+ enabled: alepha1.TOptional<alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>>;
2435
+ roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
2436
+ realm: alepha1.TOptional<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_DEFAULT>>;
2437
2437
  }>;
2438
- response: alepha23.TObject<{
2439
- id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2440
- version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2441
- createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2442
- updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2443
- realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
2444
- username: alepha23.TOptional<alepha23.TString>;
2445
- email: alepha23.TOptional<alepha23.TString>;
2446
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2447
- roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
2448
- firstName: alepha23.TOptional<alepha23.TString>;
2449
- lastName: alepha23.TOptional<alepha23.TString>;
2450
- picture: alepha23.TOptional<alepha23.TString>;
2451
- enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2452
- emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
2438
+ response: alepha1.TObject<{
2439
+ id: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_PRIMARY_KEY>, typeof alepha_orm198.PG_DEFAULT>;
2440
+ version: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TInteger, typeof alepha_orm198.PG_VERSION>, typeof alepha_orm198.PG_DEFAULT>;
2441
+ createdAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_CREATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
2442
+ updatedAt: alepha_orm198.PgAttr<alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_UPDATED_AT>, typeof alepha_orm198.PG_DEFAULT>;
2443
+ realm: alepha_orm198.PgAttr<alepha1.TString, typeof alepha_orm198.PG_DEFAULT>;
2444
+ username: alepha1.TOptional<alepha1.TString>;
2445
+ email: alepha1.TOptional<alepha1.TString>;
2446
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2447
+ roles: alepha_orm198.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm198.PG_DEFAULT>;
2448
+ firstName: alepha1.TOptional<alepha1.TString>;
2449
+ lastName: alepha1.TOptional<alepha1.TString>;
2450
+ picture: alepha1.TOptional<alepha1.TString>;
2451
+ enabled: alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>;
2452
+ emailVerified: alepha_orm198.PgAttr<alepha1.TBoolean, typeof alepha_orm198.PG_DEFAULT>;
2453
2453
  }>;
2454
2454
  }>;
2455
2455
  /**
2456
2456
  * Delete a user.
2457
2457
  */
2458
- readonly deleteUser: alepha_server0.ActionPrimitiveFn<{
2459
- params: alepha23.TObject<{
2460
- id: alepha23.TString;
2458
+ readonly deleteUser: alepha_server14.ActionPrimitiveFn<{
2459
+ params: alepha1.TObject<{
2460
+ id: alepha1.TString;
2461
2461
  }>;
2462
- query: alepha23.TObject<{
2463
- userRealmName: alepha23.TOptional<alepha23.TString>;
2462
+ query: alepha1.TObject<{
2463
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2464
2464
  }>;
2465
- response: alepha23.TObject<{
2466
- ok: alepha23.TBoolean;
2467
- id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
2468
- count: alepha23.TOptional<alepha23.TNumber>;
2465
+ response: alepha1.TObject<{
2466
+ ok: alepha1.TBoolean;
2467
+ id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
2468
+ count: alepha1.TOptional<alepha1.TNumber>;
2469
2469
  }>;
2470
2470
  }>;
2471
2471
  /**
2472
2472
  * Phase 1: Create a password reset intent.
2473
2473
  * Validates email, sends verification code, and stores intent in cache.
2474
2474
  */
2475
- readonly createPasswordResetIntent: alepha_server0.ActionPrimitiveFn<{
2476
- query: alepha23.TObject<{
2477
- userRealmName: alepha23.TOptional<alepha23.TString>;
2475
+ readonly createPasswordResetIntent: alepha_server14.ActionPrimitiveFn<{
2476
+ query: alepha1.TObject<{
2477
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2478
2478
  }>;
2479
- body: alepha23.TObject<{
2480
- email: alepha23.TString;
2479
+ body: alepha1.TObject<{
2480
+ email: alepha1.TString;
2481
2481
  }>;
2482
- response: alepha23.TObject<{
2483
- intentId: alepha23.TString;
2484
- expiresAt: alepha23.TString;
2482
+ response: alepha1.TObject<{
2483
+ intentId: alepha1.TString;
2484
+ expiresAt: alepha1.TString;
2485
2485
  }>;
2486
2486
  }>;
2487
2487
  /**
2488
2488
  * Phase 2: Complete password reset using an intent.
2489
2489
  * Validates verification code, updates password, and invalidates sessions.
2490
2490
  */
2491
- readonly completePasswordReset: alepha_server0.ActionPrimitiveFn<{
2492
- body: alepha23.TObject<{
2493
- intentId: alepha23.TString;
2494
- code: alepha23.TString;
2495
- newPassword: alepha23.TString;
2491
+ readonly completePasswordReset: alepha_server14.ActionPrimitiveFn<{
2492
+ body: alepha1.TObject<{
2493
+ intentId: alepha1.TString;
2494
+ code: alepha1.TString;
2495
+ newPassword: alepha1.TString;
2496
2496
  }>;
2497
- response: alepha23.TObject<{
2498
- ok: alepha23.TBoolean;
2499
- id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
2500
- count: alepha23.TOptional<alepha23.TNumber>;
2497
+ response: alepha1.TObject<{
2498
+ ok: alepha1.TBoolean;
2499
+ id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
2500
+ count: alepha1.TOptional<alepha1.TNumber>;
2501
2501
  }>;
2502
2502
  }>;
2503
2503
  /**
2504
2504
  * @deprecated Use createPasswordResetIntent instead
2505
2505
  */
2506
- requestPasswordReset: alepha_server0.ActionPrimitiveFn<{
2507
- query: alepha23.TObject<{
2508
- userRealmName: alepha23.TOptional<alepha23.TString>;
2506
+ requestPasswordReset: alepha_server14.ActionPrimitiveFn<{
2507
+ query: alepha1.TObject<{
2508
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2509
2509
  }>;
2510
- body: alepha23.TObject<{
2511
- email: alepha23.TString;
2510
+ body: alepha1.TObject<{
2511
+ email: alepha1.TString;
2512
2512
  }>;
2513
- response: alepha23.TObject<{
2514
- success: alepha23.TBoolean;
2515
- message: alepha23.TString;
2513
+ response: alepha1.TObject<{
2514
+ success: alepha1.TBoolean;
2515
+ message: alepha1.TString;
2516
2516
  }>;
2517
2517
  }>;
2518
2518
  /**
2519
2519
  * @deprecated Use completePasswordReset instead
2520
2520
  */
2521
- validateResetToken: alepha_server0.ActionPrimitiveFn<{
2522
- query: alepha23.TObject<{
2523
- email: alepha23.TString;
2524
- token: alepha23.TString;
2525
- userRealmName: alepha23.TOptional<alepha23.TString>;
2521
+ validateResetToken: alepha_server14.ActionPrimitiveFn<{
2522
+ query: alepha1.TObject<{
2523
+ email: alepha1.TString;
2524
+ token: alepha1.TString;
2525
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2526
2526
  }>;
2527
- response: alepha23.TObject<{
2528
- valid: alepha23.TBoolean;
2529
- email: alepha23.TOptional<alepha23.TString>;
2527
+ response: alepha1.TObject<{
2528
+ valid: alepha1.TBoolean;
2529
+ email: alepha1.TOptional<alepha1.TString>;
2530
2530
  }>;
2531
2531
  }>;
2532
2532
  /**
2533
2533
  * @deprecated Use completePasswordReset instead
2534
2534
  */
2535
- resetPassword: alepha_server0.ActionPrimitiveFn<{
2536
- query: alepha23.TObject<{
2537
- userRealmName: alepha23.TOptional<alepha23.TString>;
2535
+ resetPassword: alepha_server14.ActionPrimitiveFn<{
2536
+ query: alepha1.TObject<{
2537
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2538
2538
  }>;
2539
- body: alepha23.TObject<{
2540
- email: alepha23.TString;
2541
- token: alepha23.TString;
2542
- newPassword: alepha23.TString;
2539
+ body: alepha1.TObject<{
2540
+ email: alepha1.TString;
2541
+ token: alepha1.TString;
2542
+ newPassword: alepha1.TString;
2543
2543
  }>;
2544
- response: alepha23.TObject<{
2545
- success: alepha23.TBoolean;
2546
- message: alepha23.TString;
2544
+ response: alepha1.TObject<{
2545
+ success: alepha1.TBoolean;
2546
+ message: alepha1.TString;
2547
2547
  }>;
2548
2548
  }>;
2549
2549
  /**
@@ -2552,47 +2552,47 @@ declare class UserController {
2552
2552
  * @param method - The verification method: "code" (default) sends a 6-digit code, "link" sends a clickable verification link.
2553
2553
  * @param verifyUrl - Required when method is "link". The base URL for the verification link. Token and email will be appended as query params.
2554
2554
  */
2555
- requestEmailVerification: alepha_server0.ActionPrimitiveFn<{
2556
- query: alepha23.TObject<{
2557
- userRealmName: alepha23.TOptional<alepha23.TString>;
2558
- method: alepha23.TOptional<alepha23.TUnsafe<"link" | "code">>;
2559
- verifyUrl: alepha23.TOptional<alepha23.TString>;
2555
+ requestEmailVerification: alepha_server14.ActionPrimitiveFn<{
2556
+ query: alepha1.TObject<{
2557
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2558
+ method: alepha1.TOptional<alepha1.TUnsafe<"link" | "code">>;
2559
+ verifyUrl: alepha1.TOptional<alepha1.TString>;
2560
2560
  }>;
2561
- body: alepha23.TObject<{
2562
- email: alepha23.TString;
2561
+ body: alepha1.TObject<{
2562
+ email: alepha1.TString;
2563
2563
  }>;
2564
- response: alepha23.TObject<{
2565
- success: alepha23.TBoolean;
2566
- message: alepha23.TString;
2564
+ response: alepha1.TObject<{
2565
+ success: alepha1.TBoolean;
2566
+ message: alepha1.TString;
2567
2567
  }>;
2568
2568
  }>;
2569
2569
  /**
2570
2570
  * Verify email with a valid token.
2571
2571
  * Updates the user's emailVerified status.
2572
2572
  */
2573
- verifyEmail: alepha_server0.ActionPrimitiveFn<{
2574
- query: alepha23.TObject<{
2575
- userRealmName: alepha23.TOptional<alepha23.TString>;
2573
+ verifyEmail: alepha_server14.ActionPrimitiveFn<{
2574
+ query: alepha1.TObject<{
2575
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2576
2576
  }>;
2577
- body: alepha23.TObject<{
2578
- email: alepha23.TString;
2579
- token: alepha23.TString;
2577
+ body: alepha1.TObject<{
2578
+ email: alepha1.TString;
2579
+ token: alepha1.TString;
2580
2580
  }>;
2581
- response: alepha23.TObject<{
2582
- success: alepha23.TBoolean;
2583
- message: alepha23.TString;
2581
+ response: alepha1.TObject<{
2582
+ success: alepha1.TBoolean;
2583
+ message: alepha1.TString;
2584
2584
  }>;
2585
2585
  }>;
2586
2586
  /**
2587
2587
  * Check if an email is verified.
2588
2588
  */
2589
- checkEmailVerification: alepha_server0.ActionPrimitiveFn<{
2590
- query: alepha23.TObject<{
2591
- email: alepha23.TString;
2592
- userRealmName: alepha23.TOptional<alepha23.TString>;
2589
+ checkEmailVerification: alepha_server14.ActionPrimitiveFn<{
2590
+ query: alepha1.TObject<{
2591
+ email: alepha1.TString;
2592
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2593
2593
  }>;
2594
- response: alepha23.TObject<{
2595
- verified: alepha23.TBoolean;
2594
+ response: alepha1.TObject<{
2595
+ verified: alepha1.TBoolean;
2596
2596
  }>;
2597
2597
  }>;
2598
2598
  }
@@ -2611,48 +2611,48 @@ declare class UserRealmController {
2611
2611
  * Get realm configuration settings.
2612
2612
  * This endpoint is not exposed in the API documentation.
2613
2613
  */
2614
- readonly getRealmConfig: alepha_server0.ActionPrimitiveFn<{
2615
- query: alepha23.TObject<{
2616
- userRealmName: alepha23.TOptional<alepha23.TString>;
2614
+ readonly getRealmConfig: alepha_server14.ActionPrimitiveFn<{
2615
+ query: alepha1.TObject<{
2616
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2617
2617
  }>;
2618
- response: alepha23.TObject<{
2619
- settings: alepha23.TObject<{
2620
- registrationAllowed: alepha23.TBoolean;
2621
- emailEnabled: alepha23.TBoolean;
2622
- emailRequired: alepha23.TBoolean;
2623
- usernameEnabled: alepha23.TBoolean;
2624
- usernameRequired: alepha23.TBoolean;
2625
- phoneEnabled: alepha23.TBoolean;
2626
- phoneRequired: alepha23.TBoolean;
2627
- verifyEmailRequired: alepha23.TBoolean;
2628
- verifyPhoneRequired: alepha23.TBoolean;
2629
- firstNameLastNameEnabled: alepha23.TBoolean;
2630
- firstNameLastNameRequired: alepha23.TBoolean;
2631
- resetPasswordAllowed: alepha23.TBoolean;
2632
- passwordPolicy: alepha23.TObject<{
2633
- minLength: alepha23.TInteger;
2634
- requireUppercase: alepha23.TBoolean;
2635
- requireLowercase: alepha23.TBoolean;
2636
- requireNumbers: alepha23.TBoolean;
2637
- requireSpecialCharacters: alepha23.TBoolean;
2618
+ response: alepha1.TObject<{
2619
+ settings: alepha1.TObject<{
2620
+ registrationAllowed: alepha1.TBoolean;
2621
+ emailEnabled: alepha1.TBoolean;
2622
+ emailRequired: alepha1.TBoolean;
2623
+ usernameEnabled: alepha1.TBoolean;
2624
+ usernameRequired: alepha1.TBoolean;
2625
+ phoneEnabled: alepha1.TBoolean;
2626
+ phoneRequired: alepha1.TBoolean;
2627
+ verifyEmailRequired: alepha1.TBoolean;
2628
+ verifyPhoneRequired: alepha1.TBoolean;
2629
+ firstNameLastNameEnabled: alepha1.TBoolean;
2630
+ firstNameLastNameRequired: alepha1.TBoolean;
2631
+ resetPasswordAllowed: alepha1.TBoolean;
2632
+ passwordPolicy: alepha1.TObject<{
2633
+ minLength: alepha1.TInteger;
2634
+ requireUppercase: alepha1.TBoolean;
2635
+ requireLowercase: alepha1.TBoolean;
2636
+ requireNumbers: alepha1.TBoolean;
2637
+ requireSpecialCharacters: alepha1.TBoolean;
2638
2638
  }>;
2639
2639
  }>;
2640
- realmName: alepha23.TString;
2641
- authenticationMethods: alepha23.TArray<alepha23.TObject<{
2642
- name: alepha23.TString;
2643
- type: alepha23.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
2640
+ realmName: alepha1.TString;
2641
+ authenticationMethods: alepha1.TArray<alepha1.TObject<{
2642
+ name: alepha1.TString;
2643
+ type: alepha1.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
2644
2644
  }>>;
2645
2645
  }>;
2646
2646
  }>;
2647
- readonly checkUsernameAvailability: alepha_server0.ActionPrimitiveFn<{
2648
- query: alepha23.TObject<{
2649
- userRealmName: alepha23.TOptional<alepha23.TString>;
2647
+ readonly checkUsernameAvailability: alepha_server14.ActionPrimitiveFn<{
2648
+ query: alepha1.TObject<{
2649
+ userRealmName: alepha1.TOptional<alepha1.TString>;
2650
2650
  }>;
2651
- body: alepha23.TObject<{
2652
- username: alepha23.TString;
2651
+ body: alepha1.TObject<{
2652
+ username: alepha1.TString;
2653
2653
  }>;
2654
- response: alepha23.TObject<{
2655
- available: alepha23.TBoolean;
2654
+ response: alepha1.TObject<{
2655
+ available: alepha1.TBoolean;
2656
2656
  }>;
2657
2657
  }>;
2658
2658
  }
@@ -2707,113 +2707,113 @@ interface UserRealmOptions {
2707
2707
  }
2708
2708
  //#endregion
2709
2709
  //#region ../../src/api-users/schemas/identityResourceSchema.d.ts
2710
- declare const identityResourceSchema: alepha23.TObject<{
2711
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2712
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2713
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2714
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2715
- userId: PgAttr<alepha23.TString, typeof PG_REF>;
2716
- provider: alepha23.TString;
2717
- providerUserId: alepha23.TOptional<alepha23.TString>;
2718
- providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
2710
+ declare const identityResourceSchema: alepha1.TObject<{
2711
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2712
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2713
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2714
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2715
+ userId: PgAttr<alepha1.TString, typeof PG_REF>;
2716
+ provider: alepha1.TString;
2717
+ providerUserId: alepha1.TOptional<alepha1.TString>;
2718
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
2719
2719
  }>;
2720
2720
  type IdentityResource = Static<typeof identityResourceSchema>;
2721
2721
  //#endregion
2722
2722
  //#region ../../src/api-users/schemas/loginSchema.d.ts
2723
- declare const loginSchema: alepha23.TObject<{
2724
- username: alepha23.TString;
2725
- password: alepha23.TString;
2723
+ declare const loginSchema: alepha1.TObject<{
2724
+ username: alepha1.TString;
2725
+ password: alepha1.TString;
2726
2726
  }>;
2727
2727
  type LoginInput = Static<typeof loginSchema>;
2728
2728
  //#endregion
2729
2729
  //#region ../../src/api-users/schemas/registerSchema.d.ts
2730
- declare const registerSchema: alepha23.TObject<{
2731
- username: alepha23.TString;
2732
- email: alepha23.TString;
2733
- password: alepha23.TString;
2734
- confirmPassword: alepha23.TString;
2735
- firstName: alepha23.TOptional<alepha23.TString>;
2736
- lastName: alepha23.TOptional<alepha23.TString>;
2730
+ declare const registerSchema: alepha1.TObject<{
2731
+ username: alepha1.TString;
2732
+ email: alepha1.TString;
2733
+ password: alepha1.TString;
2734
+ confirmPassword: alepha1.TString;
2735
+ firstName: alepha1.TOptional<alepha1.TString>;
2736
+ lastName: alepha1.TOptional<alepha1.TString>;
2737
2737
  }>;
2738
2738
  type RegisterInput = Static<typeof registerSchema>;
2739
2739
  //#endregion
2740
2740
  //#region ../../src/api-users/schemas/resetPasswordSchema.d.ts
2741
- declare const resetPasswordRequestSchema: alepha23.TObject<{
2742
- email: alepha23.TString;
2741
+ declare const resetPasswordRequestSchema: alepha1.TObject<{
2742
+ email: alepha1.TString;
2743
2743
  }>;
2744
- declare const resetPasswordSchema: alepha23.TObject<{
2745
- token: alepha23.TString;
2746
- password: alepha23.TString;
2747
- confirmPassword: alepha23.TString;
2744
+ declare const resetPasswordSchema: alepha1.TObject<{
2745
+ token: alepha1.TString;
2746
+ password: alepha1.TString;
2747
+ confirmPassword: alepha1.TString;
2748
2748
  }>;
2749
2749
  type ResetPasswordRequest = Static<typeof resetPasswordRequestSchema>;
2750
2750
  type ResetPasswordInput = Static<typeof resetPasswordSchema>;
2751
2751
  //#endregion
2752
2752
  //#region ../../src/api-users/schemas/sessionResourceSchema.d.ts
2753
- declare const sessionResourceSchema: alepha23.TObject<{
2754
- id: alepha23.TString;
2755
- version: alepha23.TNumber;
2756
- createdAt: alepha23.TString;
2757
- updatedAt: alepha23.TString;
2758
- refreshToken: alepha23.TString;
2759
- userId: alepha23.TString;
2760
- expiresAt: alepha23.TString;
2761
- ip: alepha23.TOptional<alepha23.TString>;
2762
- userAgent: alepha23.TOptional<alepha23.TObject<{
2763
- os: alepha23.TString;
2764
- browser: alepha23.TString;
2765
- device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2753
+ declare const sessionResourceSchema: alepha1.TObject<{
2754
+ id: alepha1.TString;
2755
+ version: alepha1.TNumber;
2756
+ createdAt: alepha1.TString;
2757
+ updatedAt: alepha1.TString;
2758
+ refreshToken: alepha1.TString;
2759
+ userId: alepha1.TString;
2760
+ expiresAt: alepha1.TString;
2761
+ ip: alepha1.TOptional<alepha1.TString>;
2762
+ userAgent: alepha1.TOptional<alepha1.TObject<{
2763
+ os: alepha1.TString;
2764
+ browser: alepha1.TString;
2765
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2766
2766
  }>>;
2767
2767
  }>;
2768
2768
  type SessionResource = Static<typeof sessionResourceSchema>;
2769
2769
  //#endregion
2770
2770
  //#region ../../src/api-users/schemas/userRealmConfigSchema.d.ts
2771
- declare const userRealmConfigSchema: alepha23.TObject<{
2772
- settings: alepha23.TObject<{
2773
- registrationAllowed: alepha23.TBoolean;
2774
- emailEnabled: alepha23.TBoolean;
2775
- emailRequired: alepha23.TBoolean;
2776
- usernameEnabled: alepha23.TBoolean;
2777
- usernameRequired: alepha23.TBoolean;
2778
- phoneEnabled: alepha23.TBoolean;
2779
- phoneRequired: alepha23.TBoolean;
2780
- verifyEmailRequired: alepha23.TBoolean;
2781
- verifyPhoneRequired: alepha23.TBoolean;
2782
- firstNameLastNameEnabled: alepha23.TBoolean;
2783
- firstNameLastNameRequired: alepha23.TBoolean;
2784
- resetPasswordAllowed: alepha23.TBoolean;
2785
- passwordPolicy: alepha23.TObject<{
2786
- minLength: alepha23.TInteger;
2787
- requireUppercase: alepha23.TBoolean;
2788
- requireLowercase: alepha23.TBoolean;
2789
- requireNumbers: alepha23.TBoolean;
2790
- requireSpecialCharacters: alepha23.TBoolean;
2771
+ declare const userRealmConfigSchema: alepha1.TObject<{
2772
+ settings: alepha1.TObject<{
2773
+ registrationAllowed: alepha1.TBoolean;
2774
+ emailEnabled: alepha1.TBoolean;
2775
+ emailRequired: alepha1.TBoolean;
2776
+ usernameEnabled: alepha1.TBoolean;
2777
+ usernameRequired: alepha1.TBoolean;
2778
+ phoneEnabled: alepha1.TBoolean;
2779
+ phoneRequired: alepha1.TBoolean;
2780
+ verifyEmailRequired: alepha1.TBoolean;
2781
+ verifyPhoneRequired: alepha1.TBoolean;
2782
+ firstNameLastNameEnabled: alepha1.TBoolean;
2783
+ firstNameLastNameRequired: alepha1.TBoolean;
2784
+ resetPasswordAllowed: alepha1.TBoolean;
2785
+ passwordPolicy: alepha1.TObject<{
2786
+ minLength: alepha1.TInteger;
2787
+ requireUppercase: alepha1.TBoolean;
2788
+ requireLowercase: alepha1.TBoolean;
2789
+ requireNumbers: alepha1.TBoolean;
2790
+ requireSpecialCharacters: alepha1.TBoolean;
2791
2791
  }>;
2792
2792
  }>;
2793
- realmName: alepha23.TString;
2794
- authenticationMethods: alepha23.TArray<alepha23.TObject<{
2795
- name: alepha23.TString;
2796
- type: alepha23.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
2793
+ realmName: alepha1.TString;
2794
+ authenticationMethods: alepha1.TArray<alepha1.TObject<{
2795
+ name: alepha1.TString;
2796
+ type: alepha1.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
2797
2797
  }>>;
2798
2798
  }>;
2799
2799
  type UserRealmConfig = Static<typeof userRealmConfigSchema>;
2800
2800
  //#endregion
2801
2801
  //#region ../../src/api-users/schemas/userResourceSchema.d.ts
2802
- declare const userResourceSchema: alepha23.TObject<{
2803
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2804
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2805
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2806
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2807
- realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2808
- username: alepha23.TOptional<alepha23.TString>;
2809
- email: alepha23.TOptional<alepha23.TString>;
2810
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2811
- roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2812
- firstName: alepha23.TOptional<alepha23.TString>;
2813
- lastName: alepha23.TOptional<alepha23.TString>;
2814
- picture: alepha23.TOptional<alepha23.TString>;
2815
- enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2816
- emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2802
+ declare const userResourceSchema: alepha1.TObject<{
2803
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2804
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2805
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2806
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2807
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2808
+ username: alepha1.TOptional<alepha1.TString>;
2809
+ email: alepha1.TOptional<alepha1.TString>;
2810
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2811
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2812
+ firstName: alepha1.TOptional<alepha1.TString>;
2813
+ lastName: alepha1.TOptional<alepha1.TString>;
2814
+ picture: alepha1.TOptional<alepha1.TString>;
2815
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2816
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2817
2817
  }>;
2818
2818
  type UserResource = Static<typeof userResourceSchema>;
2819
2819
  //#endregion
@@ -2823,50 +2823,50 @@ declare class SessionService {
2823
2823
  protected readonly fsp: FileSystemProvider;
2824
2824
  protected readonly dateTimeProvider: DateTimeProvider;
2825
2825
  protected readonly cryptoProvider: CryptoProvider;
2826
- protected readonly log: alepha_logger1.Logger;
2826
+ protected readonly log: alepha_logger0.Logger;
2827
2827
  protected readonly userRealmProvider: UserRealmProvider;
2828
2828
  protected readonly fileController: alepha_server_links0.HttpVirtualClient<FileController>;
2829
- users(userRealmName?: string): Repository$1<alepha23.TObject<{
2830
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2831
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2832
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2833
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2834
- realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2835
- username: alepha23.TOptional<alepha23.TString>;
2836
- email: alepha23.TOptional<alepha23.TString>;
2837
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2838
- roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2839
- firstName: alepha23.TOptional<alepha23.TString>;
2840
- lastName: alepha23.TOptional<alepha23.TString>;
2841
- picture: alepha23.TOptional<alepha23.TString>;
2842
- enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2843
- emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2829
+ users(userRealmName?: string): Repository$1<alepha1.TObject<{
2830
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2831
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2832
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2833
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2834
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2835
+ username: alepha1.TOptional<alepha1.TString>;
2836
+ email: alepha1.TOptional<alepha1.TString>;
2837
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2838
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2839
+ firstName: alepha1.TOptional<alepha1.TString>;
2840
+ lastName: alepha1.TOptional<alepha1.TString>;
2841
+ picture: alepha1.TOptional<alepha1.TString>;
2842
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2843
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2844
2844
  }>>;
2845
- sessions(userRealmName?: string): Repository$1<alepha23.TObject<{
2846
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2847
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2848
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2849
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2850
- refreshToken: alepha23.TString;
2851
- userId: PgAttr<alepha23.TString, typeof PG_REF>;
2852
- expiresAt: alepha23.TString;
2853
- ip: alepha23.TOptional<alepha23.TString>;
2854
- userAgent: alepha23.TOptional<alepha23.TObject<{
2855
- os: alepha23.TString;
2856
- browser: alepha23.TString;
2857
- device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2845
+ sessions(userRealmName?: string): Repository$1<alepha1.TObject<{
2846
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2847
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2848
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2849
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2850
+ refreshToken: alepha1.TString;
2851
+ userId: PgAttr<alepha1.TString, typeof PG_REF>;
2852
+ expiresAt: alepha1.TString;
2853
+ ip: alepha1.TOptional<alepha1.TString>;
2854
+ userAgent: alepha1.TOptional<alepha1.TObject<{
2855
+ os: alepha1.TString;
2856
+ browser: alepha1.TString;
2857
+ device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2858
2858
  }>>;
2859
2859
  }>>;
2860
- identities(userRealmName?: string): Repository$1<alepha23.TObject<{
2861
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2862
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2863
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2864
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2865
- userId: PgAttr<alepha23.TString, typeof PG_REF>;
2866
- password: alepha23.TOptional<alepha23.TString>;
2867
- provider: alepha23.TString;
2868
- providerUserId: alepha23.TOptional<alepha23.TString>;
2869
- providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
2860
+ identities(userRealmName?: string): Repository$1<alepha1.TObject<{
2861
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2862
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2863
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2864
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2865
+ userId: PgAttr<alepha1.TString, typeof PG_REF>;
2866
+ password: alepha1.TOptional<alepha1.TString>;
2867
+ provider: alepha1.TString;
2868
+ providerUserId: alepha1.TOptional<alepha1.TString>;
2869
+ providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
2870
2870
  }>>;
2871
2871
  /**
2872
2872
  * Random delay to prevent timing attacks (50-200ms)
@@ -2882,56 +2882,56 @@ declare class SessionService {
2882
2882
  sessionId: string;
2883
2883
  }>;
2884
2884
  refreshSession(refreshToken: string, userRealmName?: string): Promise<{
2885
- user: PgStatic<alepha23.TObject<{
2886
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2887
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2888
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2889
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2890
- realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2891
- username: alepha23.TOptional<alepha23.TString>;
2892
- email: alepha23.TOptional<alepha23.TString>;
2893
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2894
- roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2895
- firstName: alepha23.TOptional<alepha23.TString>;
2896
- lastName: alepha23.TOptional<alepha23.TString>;
2897
- picture: alepha23.TOptional<alepha23.TString>;
2898
- enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2899
- emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2900
- }>, PgRelationMap<alepha23.TObject<{
2901
- id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2902
- version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2903
- createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2904
- updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2905
- realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2906
- username: alepha23.TOptional<alepha23.TString>;
2907
- email: alepha23.TOptional<alepha23.TString>;
2908
- phoneNumber: alepha23.TOptional<alepha23.TString>;
2909
- roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2910
- firstName: alepha23.TOptional<alepha23.TString>;
2911
- lastName: alepha23.TOptional<alepha23.TString>;
2912
- picture: alepha23.TOptional<alepha23.TString>;
2913
- enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2914
- emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2885
+ user: PgStatic<alepha1.TObject<{
2886
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2887
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2888
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2889
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2890
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2891
+ username: alepha1.TOptional<alepha1.TString>;
2892
+ email: alepha1.TOptional<alepha1.TString>;
2893
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2894
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2895
+ firstName: alepha1.TOptional<alepha1.TString>;
2896
+ lastName: alepha1.TOptional<alepha1.TString>;
2897
+ picture: alepha1.TOptional<alepha1.TString>;
2898
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2899
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2900
+ }>, PgRelationMap<alepha1.TObject<{
2901
+ id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2902
+ version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2903
+ createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2904
+ updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2905
+ realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2906
+ username: alepha1.TOptional<alepha1.TString>;
2907
+ email: alepha1.TOptional<alepha1.TString>;
2908
+ phoneNumber: alepha1.TOptional<alepha1.TString>;
2909
+ roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2910
+ firstName: alepha1.TOptional<alepha1.TString>;
2911
+ lastName: alepha1.TOptional<alepha1.TString>;
2912
+ picture: alepha1.TOptional<alepha1.TString>;
2913
+ enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2914
+ emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2915
2915
  }>>>;
2916
2916
  expiresIn: number;
2917
2917
  sessionId: string;
2918
2918
  }>;
2919
2919
  deleteSession(refreshToken: string, userRealmName?: string): Promise<void>;
2920
2920
  link(provider: string, profile: OAuth2Profile, userRealmName?: string): Promise<{
2921
- email?: string | undefined;
2922
2921
  username?: string | undefined;
2922
+ email?: string | undefined;
2923
2923
  phoneNumber?: string | undefined;
2924
2924
  firstName?: string | undefined;
2925
2925
  lastName?: string | undefined;
2926
2926
  picture?: string | undefined;
2927
+ enabled: boolean;
2928
+ emailVerified: boolean;
2929
+ roles: string[];
2927
2930
  id: string;
2928
2931
  version: number;
2929
2932
  createdAt: string;
2930
2933
  updatedAt: string;
2931
2934
  realm: string;
2932
- roles: string[];
2933
- enabled: boolean;
2934
- emailVerified: boolean;
2935
2935
  } | {
2936
2936
  sub: string;
2937
2937
  email?: string;
@@ -2973,7 +2973,7 @@ declare class SessionService {
2973
2973
  *
2974
2974
  * @module alepha.api.users
2975
2975
  */
2976
- declare const AlephaApiUsers: alepha23.Service<alepha23.Module>;
2976
+ declare const AlephaApiUsers: alepha1.Service<alepha1.Module>;
2977
2977
  //#endregion
2978
2978
  export { $userRealm, AlephaApiUsers, CompletePasswordResetRequest, CompleteRegistrationRequest, CreateUser, CredentialService, DEFAULT_USER_REALM_NAME, IdentityController, IdentityEntity, IdentityQuery, IdentityResource, IdentityService, LoginInput, PasswordResetIntentResponse, RealmAuthSettings, RegisterInput, RegistrationIntentResponse, RegistrationService, ResetPasswordInput, ResetPasswordRequest, SessionController, SessionCrudService, SessionEntity, SessionQuery, SessionResource, SessionService, UpdateUser, UserController, UserEntity, UserQuery, UserRealm, UserRealmConfig, UserRealmController, UserRealmOptions, UserRealmPrimitive, UserRealmProvider, UserRealmRepositories, UserResource, UserService, completePasswordResetRequestSchema, completeRegistrationRequestSchema, createUserSchema, identities, identityQuerySchema, identityResourceSchema, loginSchema, passwordResetIntentResponseSchema, realmAuthSettingsAtom, registerSchema, registrationIntentResponseSchema, resetPasswordRequestSchema, resetPasswordSchema, sessionQuerySchema, sessionResourceSchema, sessions, updateUserSchema, userQuerySchema, userRealmConfigSchema, userResourceSchema, users };
2979
2979
  //# sourceMappingURL=index.d.ts.map