alepha 0.12.1 → 0.13.0

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,9 +1,9 @@
1
- import * as alepha1 from "alepha";
1
+ import * as alepha23 from "alepha";
2
2
  import { Alepha, AlephaError, Async, Descriptor, FileLike, KIND, Page, PageQuery, Static, StaticEncode, TNull, TObject, TOptional, TSchema, TUnion } from "alepha";
3
3
  import * as alepha_batch0 from "alepha/batch";
4
4
  import { DateTime, DateTimeProvider, DurationLike } from "alepha/datetime";
5
- import * as alepha_logger0 from "alepha/logger";
6
- import * as alepha_orm179 from "alepha/orm";
5
+ import * as alepha_logger1 from "alepha/logger";
6
+ import * as alepha_orm204 from "alepha/orm";
7
7
  import { Page as Page$1, Repository } from "alepha/orm";
8
8
  import "alepha/queue";
9
9
  import { EmailProvider } from "alepha/email";
@@ -28,78 +28,78 @@ import "drizzle-orm/sqlite-core";
28
28
  import { Configuration } from "openid-client";
29
29
 
30
30
  //#region src/api-users/atoms/realmAuthSettingsAtom.d.ts
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;
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;
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_orm179.EntityDescriptor<alepha1.TObject<{
56
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
57
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
58
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
59
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
60
- userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.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>>;
55
+ declare const identities: alepha_orm204.EntityDescriptor<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>>;
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_orm179.EntityDescriptor<alepha1.TObject<{
70
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
71
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
72
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
73
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
74
- refreshToken: alepha1.TString;
75
- userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.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">;
69
+ declare const sessions: alepha_orm204.EntityDescriptor<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">;
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_orm179.EntityDescriptor<alepha1.TObject<{
89
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
90
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
91
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
92
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
93
- realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
94
- username: alepha1.TOptional<alepha1.TString>;
95
- email: alepha1.TOptional<alepha1.TString>;
96
- phoneNumber: alepha1.TOptional<alepha1.TString>;
97
- roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
98
- firstName: alepha1.TOptional<alepha1.TString>;
99
- lastName: alepha1.TOptional<alepha1.TString>;
100
- picture: alepha1.TOptional<alepha1.TString>;
101
- enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
102
- emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
88
+ declare const users: alepha_orm204.EntityDescriptor<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>;
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<alepha1.TObject<{
120
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
121
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
122
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
123
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
124
- userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.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>>;
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>>;
129
129
  }>>;
130
- protected readonly defaultSessions: Repository<alepha1.TObject<{
131
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
132
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
133
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
134
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
135
- refreshToken: alepha1.TString;
136
- userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.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">;
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">;
143
143
  }>>;
144
144
  }>>;
145
- protected readonly defaultUsers: Repository<alepha1.TObject<{
146
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
147
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
148
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
149
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
150
- realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
151
- username: alepha1.TOptional<alepha1.TString>;
152
- email: alepha1.TOptional<alepha1.TString>;
153
- phoneNumber: alepha1.TOptional<alepha1.TString>;
154
- roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
155
- firstName: alepha1.TOptional<alepha1.TString>;
156
- lastName: alepha1.TOptional<alepha1.TString>;
157
- picture: alepha1.TOptional<alepha1.TString>;
158
- enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
159
- emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
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>;
160
160
  }>>;
161
161
  protected realms: Map<string, UserRealm>;
162
162
  avatars: alepha_bucket0.BucketDescriptor;
163
- protected readonly onConfigure: alepha1.HookDescriptor<"configure">;
163
+ protected readonly onConfigure: alepha23.HookDescriptor<"configure">;
164
164
  register(userRealmName: string, userRealmOptions?: UserRealmOptions): void;
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: 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>;
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>;
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_logger0.Logger;
186
+ protected readonly log: alepha_logger1.Logger;
187
187
  protected readonly userRealmProvider: UserRealmProvider;
188
- identities(userRealmName?: string): alepha_orm179.Repository<alepha1.TObject<{
189
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
190
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
191
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
192
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
193
- userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.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>>;
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>>;
198
198
  }>>;
199
199
  /**
200
200
  * Find identities with pagination and filtering.
@@ -219,90 +219,90 @@ declare class IdentityController {
219
219
  * Find identities with pagination and filtering.
220
220
  */
221
221
  readonly findIdentities: alepha_server0.ActionDescriptorFn<{
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>;
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>;
229
229
  }>;
230
- response: alepha1.TPage<alepha1.TObject<{
231
- userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
232
- provider: alepha1.TString;
233
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
234
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
235
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
236
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
237
- providerUserId: alepha1.TOptional<alepha1.TString>;
238
- providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
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>>;
239
239
  }>>;
240
240
  }>;
241
241
  /**
242
242
  * Get an identity by ID.
243
243
  */
244
244
  readonly getIdentity: alepha_server0.ActionDescriptorFn<{
245
- params: alepha1.TObject<{
246
- id: alepha1.TString;
245
+ params: alepha23.TObject<{
246
+ id: alepha23.TString;
247
247
  }>;
248
- query: alepha1.TObject<{
249
- userRealmName: alepha1.TOptional<alepha1.TString>;
248
+ query: alepha23.TObject<{
249
+ userRealmName: alepha23.TOptional<alepha23.TString>;
250
250
  }>;
251
- response: alepha1.TObject<{
252
- userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_REF>;
253
- provider: alepha1.TString;
254
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
255
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
256
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
257
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
258
- providerUserId: alepha1.TOptional<alepha1.TString>;
259
- providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
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>>;
260
260
  }>;
261
261
  }>;
262
262
  /**
263
263
  * Delete an identity.
264
264
  */
265
265
  readonly deleteIdentity: alepha_server0.ActionDescriptorFn<{
266
- params: alepha1.TObject<{
267
- id: alepha1.TString;
266
+ params: alepha23.TObject<{
267
+ id: alepha23.TString;
268
268
  }>;
269
- query: alepha1.TObject<{
270
- userRealmName: alepha1.TOptional<alepha1.TString>;
269
+ query: alepha23.TObject<{
270
+ userRealmName: alepha23.TOptional<alepha23.TString>;
271
271
  }>;
272
- response: alepha1.TObject<{
273
- ok: alepha1.TBoolean;
274
- id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
275
- count: alepha1.TOptional<alepha1.TNumber>;
272
+ response: alepha23.TObject<{
273
+ ok: alepha23.TBoolean;
274
+ id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
275
+ count: alepha23.TOptional<alepha23.TNumber>;
276
276
  }>;
277
277
  }>;
278
278
  }
279
279
  //#endregion
280
280
  //#region src/api-users/schemas/sessionQuerySchema.d.ts
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>;
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>;
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_logger0.Logger;
291
+ protected readonly log: alepha_logger1.Logger;
292
292
  protected readonly userRealmProvider: UserRealmProvider;
293
- sessions(userRealmName?: string): alepha_orm179.Repository<alepha1.TObject<{
294
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
295
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
296
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
297
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
298
- refreshToken: alepha1.TString;
299
- userId: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.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">;
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">;
306
306
  }>>;
307
307
  }>>;
308
308
  /**
@@ -328,26 +328,26 @@ declare class SessionController {
328
328
  * Find sessions with pagination and filtering.
329
329
  */
330
330
  readonly findSessions: alepha_server0.ActionDescriptorFn<{
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>;
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>;
337
337
  }>;
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">;
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">;
351
351
  }>>;
352
352
  }>>;
353
353
  }>;
@@ -355,25 +355,25 @@ declare class SessionController {
355
355
  * Get a session by ID.
356
356
  */
357
357
  readonly getSession: alepha_server0.ActionDescriptorFn<{
358
- params: alepha1.TObject<{
359
- id: alepha1.TString;
358
+ params: alepha23.TObject<{
359
+ id: alepha23.TString;
360
360
  }>;
361
- query: alepha1.TObject<{
362
- userRealmName: alepha1.TOptional<alepha1.TString>;
361
+ query: alepha23.TObject<{
362
+ userRealmName: alepha23.TOptional<alepha23.TString>;
363
363
  }>;
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">;
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">;
377
377
  }>>;
378
378
  }>;
379
379
  }>;
@@ -381,16 +381,16 @@ declare class SessionController {
381
381
  * Delete a session.
382
382
  */
383
383
  readonly deleteSession: alepha_server0.ActionDescriptorFn<{
384
- params: alepha1.TObject<{
385
- id: alepha1.TString;
384
+ params: alepha23.TObject<{
385
+ id: alepha23.TString;
386
386
  }>;
387
- query: alepha1.TObject<{
388
- userRealmName: alepha1.TOptional<alepha1.TString>;
387
+ query: alepha23.TObject<{
388
+ userRealmName: alepha23.TOptional<alepha23.TString>;
389
389
  }>;
390
- response: alepha1.TObject<{
391
- ok: alepha1.TBoolean;
392
- id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
393
- count: alepha1.TOptional<alepha1.TNumber>;
390
+ response: alepha23.TObject<{
391
+ ok: alepha23.TBoolean;
392
+ id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
393
+ count: alepha23.TOptional<alepha23.TNumber>;
394
394
  }>;
395
395
  }>;
396
396
  }
@@ -460,23 +460,23 @@ declare module "alepha/server" {
460
460
  */
461
461
  //#endregion
462
462
  //#region src/server-links/schemas/apiLinksResponseSchema.d.ts
463
- declare const apiLinkSchema: alepha1.TObject<{
464
- name: alepha1.TString;
465
- group: alepha1.TOptional<alepha1.TString>;
466
- path: alepha1.TString;
467
- method: alepha1.TOptional<alepha1.TString>;
468
- requestBodyType: alepha1.TOptional<alepha1.TString>;
469
- service: alepha1.TOptional<alepha1.TString>;
463
+ declare const apiLinkSchema: alepha23.TObject<{
464
+ name: alepha23.TString;
465
+ group: alepha23.TOptional<alepha23.TString>;
466
+ path: alepha23.TString;
467
+ method: alepha23.TOptional<alepha23.TString>;
468
+ requestBodyType: alepha23.TOptional<alepha23.TString>;
469
+ service: alepha23.TOptional<alepha23.TString>;
470
470
  }>;
471
- declare const apiLinksResponseSchema: alepha1.TObject<{
472
- prefix: alepha1.TOptional<alepha1.TString>;
473
- links: alepha1.TArray<alepha1.TObject<{
474
- name: alepha1.TString;
475
- group: alepha1.TOptional<alepha1.TString>;
476
- path: alepha1.TString;
477
- method: alepha1.TOptional<alepha1.TString>;
478
- requestBodyType: alepha1.TOptional<alepha1.TString>;
479
- service: alepha1.TOptional<alepha1.TString>;
471
+ declare const apiLinksResponseSchema: alepha23.TObject<{
472
+ prefix: alepha23.TOptional<alepha23.TString>;
473
+ links: alepha23.TArray<alepha23.TObject<{
474
+ name: alepha23.TString;
475
+ group: alepha23.TOptional<alepha23.TString>;
476
+ path: alepha23.TString;
477
+ method: alepha23.TOptional<alepha23.TString>;
478
+ requestBodyType: alepha23.TOptional<alepha23.TString>;
479
+ service: alepha23.TOptional<alepha23.TString>;
480
480
  }>>;
481
481
  }>;
482
482
  type ApiLinksResponse = Static<typeof apiLinksResponseSchema>;
@@ -491,7 +491,7 @@ declare class LinkProvider {
491
491
  apiLinks: string;
492
492
  apiSchema: string;
493
493
  };
494
- protected readonly log: alepha_logger0.Logger;
494
+ protected readonly log: alepha_logger1.Logger;
495
495
  protected readonly alepha: Alepha;
496
496
  protected readonly httpClient: HttpClient;
497
497
  protected serverLinks: Array<HttpClientLink>;
@@ -669,10 +669,10 @@ type ProxyDescriptorOptions = {
669
669
  //#endregion
670
670
  //#region src/server-proxy/providers/ServerProxyProvider.d.ts
671
671
  declare class ServerProxyProvider {
672
- protected readonly log: alepha_logger0.Logger;
672
+ protected readonly log: alepha_logger1.Logger;
673
673
  protected readonly routerProvider: ServerRouterProvider;
674
674
  protected readonly alepha: Alepha;
675
- protected readonly configure: alepha1.HookDescriptor<"configure">;
675
+ protected readonly configure: alepha23.HookDescriptor<"configure">;
676
676
  createProxy(options: ProxyDescriptorOptions): void;
677
677
  createProxyHandler(target: string, options: Omit<ProxyDescriptorOptions, "path">): ServerHandler;
678
678
  private getRawRequestBody;
@@ -736,10 +736,10 @@ declare class RemoteDescriptorProvider {
736
736
  protected readonly proxyProvider: ServerProxyProvider;
737
737
  protected readonly linkProvider: LinkProvider;
738
738
  protected readonly remotes: Array<ServerRemote>;
739
- protected readonly log: alepha_logger0.Logger;
739
+ protected readonly log: alepha_logger1.Logger;
740
740
  getRemotes(): ServerRemote[];
741
- readonly configure: alepha1.HookDescriptor<"configure">;
742
- readonly start: alepha1.HookDescriptor<"start">;
741
+ readonly configure: alepha23.HookDescriptor<"configure">;
742
+ readonly start: alepha23.HookDescriptor<"start">;
743
743
  registerRemote(value: RemoteDescriptor): Promise<void>;
744
744
  protected readonly fetchLinks: alepha_retry0.RetryDescriptorFn<(opts: FetchLinksOptions) => Promise<ApiLinksResponse>>;
745
745
  }
@@ -807,22 +807,22 @@ declare class ServerLinksProvider {
807
807
  protected readonly remoteProvider: RemoteDescriptorProvider;
808
808
  protected readonly serverTimingProvider: ServerTimingProvider;
809
809
  get prefix(): string;
810
- readonly onRoute: alepha1.HookDescriptor<"configure">;
810
+ readonly onRoute: alepha23.HookDescriptor<"configure">;
811
811
  /**
812
812
  * First API - Get all API links for the user.
813
813
  *
814
814
  * This is based on the user's permissions.
815
815
  */
816
816
  readonly links: alepha_server0.RouteDescriptor<{
817
- response: alepha1.TObject<{
818
- prefix: alepha1.TOptional<alepha1.TString>;
819
- links: alepha1.TArray<alepha1.TObject<{
820
- name: alepha1.TString;
821
- group: alepha1.TOptional<alepha1.TString>;
822
- path: alepha1.TString;
823
- method: alepha1.TOptional<alepha1.TString>;
824
- requestBodyType: alepha1.TOptional<alepha1.TString>;
825
- service: alepha1.TOptional<alepha1.TString>;
817
+ response: alepha23.TObject<{
818
+ prefix: alepha23.TOptional<alepha23.TString>;
819
+ links: alepha23.TArray<alepha23.TObject<{
820
+ name: alepha23.TString;
821
+ group: alepha23.TOptional<alepha23.TString>;
822
+ path: alepha23.TString;
823
+ method: alepha23.TOptional<alepha23.TString>;
824
+ requestBodyType: alepha23.TOptional<alepha23.TString>;
825
+ service: alepha23.TOptional<alepha23.TString>;
826
826
  }>>;
827
827
  }>;
828
828
  }>;
@@ -833,10 +833,10 @@ declare class ServerLinksProvider {
833
833
  * I mean for 150+ links, you got 50ms of serialization time.
834
834
  */
835
835
  readonly schema: alepha_server0.RouteDescriptor<{
836
- params: alepha1.TObject<{
837
- name: alepha1.TString;
836
+ params: alepha23.TObject<{
837
+ name: alepha23.TString;
838
838
  }>;
839
- response: alepha1.TRecord<string, alepha1.TAny>;
839
+ response: alepha23.TRecord<string, alepha23.TAny>;
840
840
  }>;
841
841
  getSchemaByName(name: string, options?: GetApiLinksOptions): Promise<RequestConfigSchema>;
842
842
  /**
@@ -1729,7 +1729,7 @@ declare abstract class ModelBuilder {
1729
1729
  //#endregion
1730
1730
  //#region src/orm/providers/DrizzleKitProvider.d.ts
1731
1731
  declare class DrizzleKitProvider {
1732
- protected readonly log: alepha_logger0.Logger;
1732
+ protected readonly log: alepha_logger1.Logger;
1733
1733
  protected readonly alepha: Alepha;
1734
1734
  /**
1735
1735
  * Synchronize database with current schema definitions.
@@ -1765,11 +1765,11 @@ declare class DrizzleKitProvider {
1765
1765
  */
1766
1766
  protected importDrizzleKit(): typeof DrizzleKit;
1767
1767
  }
1768
- declare const devMigrationsSchema: alepha1.TObject<{
1769
- id: alepha1.TNumber;
1770
- name: alepha1.TString;
1771
- snapshot: alepha1.TString;
1772
- created_at: alepha1.TString;
1768
+ declare const devMigrationsSchema: alepha23.TObject<{
1769
+ id: alepha23.TNumber;
1770
+ name: alepha23.TString;
1771
+ snapshot: alepha23.TString;
1772
+ created_at: alepha23.TString;
1773
1773
  }>;
1774
1774
  type DevMigrations = Static<typeof devMigrationsSchema>;
1775
1775
  //#endregion
@@ -1777,7 +1777,7 @@ type DevMigrations = Static<typeof devMigrationsSchema>;
1777
1777
  type SQLLike = SQLWrapper | string;
1778
1778
  declare abstract class DatabaseProvider {
1779
1779
  protected readonly alepha: Alepha;
1780
- protected readonly log: alepha_logger0.Logger;
1780
+ protected readonly log: alepha_logger1.Logger;
1781
1781
  protected abstract readonly builder: ModelBuilder;
1782
1782
  protected abstract readonly kit: DrizzleKitProvider;
1783
1783
  abstract readonly db: PgDatabase<any>;
@@ -1966,7 +1966,7 @@ declare class QueryManager {
1966
1966
  createPagination<T>(entities: T[], limit?: number, offset?: number, sort?: Array<{
1967
1967
  column: string;
1968
1968
  direction: "asc" | "desc";
1969
- }>): alepha1.Page<T>;
1969
+ }>): alepha23.Page<T>;
1970
1970
  }
1971
1971
  interface PgJoin {
1972
1972
  table: string;
@@ -2274,7 +2274,7 @@ interface StatementOptions {
2274
2274
  declare module "alepha" {
2275
2275
  interface Env extends Partial<Static<typeof envSchema>> {}
2276
2276
  }
2277
- declare const envSchema: alepha1.TObject<{
2277
+ declare const envSchema: alepha23.TObject<{
2278
2278
  /**
2279
2279
  * Main configuration for database connection.
2280
2280
  * Accept a string in the format of a Postgres connection URL.
@@ -2282,21 +2282,21 @@ declare const envSchema: alepha1.TObject<{
2282
2282
  * or
2283
2283
  * Example: postgres://user:password@localhost:5432/database?sslmode=require
2284
2284
  */
2285
- DATABASE_URL: alepha1.TOptional<alepha1.TString>;
2285
+ DATABASE_URL: alepha23.TOptional<alepha23.TString>;
2286
2286
  /**
2287
2287
  * In addition to the DATABASE_URL, you can specify the postgres schema name.
2288
2288
  *
2289
2289
  * It will monkey patch drizzle tables.
2290
2290
  */
2291
- POSTGRES_SCHEMA: alepha1.TOptional<alepha1.TString>;
2291
+ POSTGRES_SCHEMA: alepha23.TOptional<alepha23.TString>;
2292
2292
  }>;
2293
2293
  //#endregion
2294
2294
  //#region src/orm/providers/drivers/NodeSqliteProvider.d.ts
2295
2295
  /**
2296
2296
  * Configuration options for the Node.js SQLite database provider.
2297
2297
  */
2298
- declare const nodeSqliteOptions: alepha1.Atom<alepha1.TObject<{
2299
- path: alepha1.TOptional<alepha1.TString>;
2298
+ declare const nodeSqliteOptions: alepha23.Atom<alepha23.TObject<{
2299
+ path: alepha23.TOptional<alepha23.TString>;
2300
2300
  }>, "alepha.postgres.node-sqlite.options">;
2301
2301
  type NodeSqliteProviderOptions = Static<typeof nodeSqliteOptions.schema>;
2302
2302
  declare module "alepha" {
@@ -2380,35 +2380,35 @@ declare module "alepha" {
2380
2380
  }
2381
2381
  //#endregion
2382
2382
  //#region src/api-verifications/entities/verifications.d.ts
2383
- declare const verifications: alepha_orm179.EntityDescriptor<alepha1.TObject<{
2384
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2385
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2386
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2387
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2388
- type: alepha1.TUnsafe<"link" | "code">;
2389
- target: alepha1.TString;
2390
- code: alepha1.TString;
2391
- verifiedAt: alepha1.TOptional<alepha1.TString>;
2392
- attempts: alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_DEFAULT>;
2383
+ declare const verifications: alepha_orm204.EntityDescriptor<alepha23.TObject<{
2384
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2385
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2386
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2387
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2388
+ type: alepha23.TUnsafe<"link" | "code">;
2389
+ target: alepha23.TString;
2390
+ code: alepha23.TString;
2391
+ verifiedAt: alepha23.TOptional<alepha23.TString>;
2392
+ attempts: alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_DEFAULT>;
2393
2393
  }>>;
2394
2394
  type VerificationEntity = Static<typeof verifications.schema>;
2395
2395
  //#endregion
2396
2396
  //#region src/api-verifications/schemas/verificationSettingsSchema.d.ts
2397
- declare const verificationSettingsSchema: alepha1.TObject<{
2398
- code: alepha1.TObject<{
2399
- maxAttempts: alepha1.TInteger;
2400
- codeLength: alepha1.TInteger;
2401
- codeExpiration: alepha1.TInteger;
2402
- verificationCooldown: alepha1.TInteger;
2403
- limitPerDay: alepha1.TInteger;
2397
+ declare const verificationSettingsSchema: alepha23.TObject<{
2398
+ code: alepha23.TObject<{
2399
+ maxAttempts: alepha23.TInteger;
2400
+ codeLength: alepha23.TInteger;
2401
+ codeExpiration: alepha23.TInteger;
2402
+ verificationCooldown: alepha23.TInteger;
2403
+ limitPerDay: alepha23.TInteger;
2404
2404
  }>;
2405
- link: alepha1.TObject<{
2406
- maxAttempts: alepha1.TInteger;
2407
- codeExpiration: alepha1.TInteger;
2408
- verificationCooldown: alepha1.TInteger;
2409
- limitPerDay: alepha1.TInteger;
2405
+ link: alepha23.TObject<{
2406
+ maxAttempts: alepha23.TInteger;
2407
+ codeExpiration: alepha23.TInteger;
2408
+ verificationCooldown: alepha23.TInteger;
2409
+ limitPerDay: alepha23.TInteger;
2410
2410
  }>;
2411
- purgeDays: alepha1.TInteger;
2411
+ purgeDays: alepha23.TInteger;
2412
2412
  }>;
2413
2413
  type VerificationSettings = Static<typeof verificationSettingsSchema>;
2414
2414
  //#endregion
@@ -2416,21 +2416,21 @@ type VerificationSettings = Static<typeof verificationSettingsSchema>;
2416
2416
  /**
2417
2417
  * Verification settings configuration atom
2418
2418
  */
2419
- declare const verificationOptions: alepha1.Atom<alepha1.TObject<{
2420
- code: alepha1.TObject<{
2421
- maxAttempts: alepha1.TInteger;
2422
- codeLength: alepha1.TInteger;
2423
- codeExpiration: alepha1.TInteger;
2424
- verificationCooldown: alepha1.TInteger;
2425
- limitPerDay: alepha1.TInteger;
2419
+ declare const verificationOptions: alepha23.Atom<alepha23.TObject<{
2420
+ code: alepha23.TObject<{
2421
+ maxAttempts: alepha23.TInteger;
2422
+ codeLength: alepha23.TInteger;
2423
+ codeExpiration: alepha23.TInteger;
2424
+ verificationCooldown: alepha23.TInteger;
2425
+ limitPerDay: alepha23.TInteger;
2426
2426
  }>;
2427
- link: alepha1.TObject<{
2428
- maxAttempts: alepha1.TInteger;
2429
- codeExpiration: alepha1.TInteger;
2430
- verificationCooldown: alepha1.TInteger;
2431
- limitPerDay: alepha1.TInteger;
2427
+ link: alepha23.TObject<{
2428
+ maxAttempts: alepha23.TInteger;
2429
+ codeExpiration: alepha23.TInteger;
2430
+ verificationCooldown: alepha23.TInteger;
2431
+ limitPerDay: alepha23.TInteger;
2432
2432
  }>;
2433
- purgeDays: alepha1.TInteger;
2433
+ purgeDays: alepha23.TInteger;
2434
2434
  }>, "alepha.api.verifications.options">;
2435
2435
  type VerificationOptions = Static<typeof verificationOptions.schema>;
2436
2436
  declare module "alepha" {
@@ -2459,62 +2459,62 @@ declare class VerificationParameters {
2459
2459
  }
2460
2460
  //#endregion
2461
2461
  //#region src/api-verifications/schemas/requestVerificationCodeResponseSchema.d.ts
2462
- declare const requestVerificationCodeResponseSchema: alepha1.TObject<{
2463
- token: alepha1.TString;
2464
- codeExpiration: alepha1.TInteger;
2465
- verificationCooldown: alepha1.TInteger;
2466
- maxVerificationAttempts: alepha1.TInteger;
2462
+ declare const requestVerificationCodeResponseSchema: alepha23.TObject<{
2463
+ token: alepha23.TString;
2464
+ codeExpiration: alepha23.TInteger;
2465
+ verificationCooldown: alepha23.TInteger;
2466
+ maxVerificationAttempts: alepha23.TInteger;
2467
2467
  }>;
2468
2468
  type RequestVerificationResponse = Static<typeof requestVerificationCodeResponseSchema>;
2469
2469
  //#endregion
2470
2470
  //#region src/api-verifications/schemas/validateVerificationCodeResponseSchema.d.ts
2471
- declare const validateVerificationCodeResponseSchema: alepha1.TObject<{
2472
- ok: alepha1.TBoolean;
2473
- alreadyVerified: alepha1.TOptional<alepha1.TBoolean>;
2471
+ declare const validateVerificationCodeResponseSchema: alepha23.TObject<{
2472
+ ok: alepha23.TBoolean;
2473
+ alreadyVerified: alepha23.TOptional<alepha23.TBoolean>;
2474
2474
  }>;
2475
2475
  type ValidateVerificationCodeResponse = Static<typeof validateVerificationCodeResponseSchema>;
2476
2476
  //#endregion
2477
2477
  //#region src/api-verifications/schemas/verificationTypeEnumSchema.d.ts
2478
- declare const verificationTypeEnumSchema: alepha1.TUnsafe<"link" | "code">;
2478
+ declare const verificationTypeEnumSchema: alepha23.TUnsafe<"link" | "code">;
2479
2479
  type VerificationTypeEnum = Static<typeof verificationTypeEnumSchema>;
2480
2480
  //#endregion
2481
2481
  //#region src/api-verifications/services/VerificationService.d.ts
2482
2482
  declare class VerificationService {
2483
- protected readonly log: alepha_logger0.Logger;
2483
+ protected readonly log: alepha_logger1.Logger;
2484
2484
  protected readonly dateTimeProvider: DateTimeProvider;
2485
2485
  protected readonly verificationParameters: VerificationParameters;
2486
- protected readonly verificationRepository: alepha_orm179.Repository<alepha1.TObject<{
2487
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2488
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2489
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2490
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2491
- type: alepha1.TUnsafe<"link" | "code">;
2492
- target: alepha1.TString;
2493
- code: alepha1.TString;
2494
- verifiedAt: alepha1.TOptional<alepha1.TString>;
2495
- attempts: alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_DEFAULT>;
2486
+ protected readonly verificationRepository: alepha_orm204.Repository<alepha23.TObject<{
2487
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2488
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2489
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2490
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2491
+ type: alepha23.TUnsafe<"link" | "code">;
2492
+ target: alepha23.TString;
2493
+ code: alepha23.TString;
2494
+ verifiedAt: alepha23.TOptional<alepha23.TString>;
2495
+ attempts: alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_DEFAULT>;
2496
2496
  }>>;
2497
2497
  findByEntry(entry: VerificationEntry): Promise<VerificationEntity>;
2498
- findRecentsByEntry(entry: VerificationEntry): Promise<alepha_orm179.PgStatic<alepha1.TObject<{
2499
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2500
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2501
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2502
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2503
- type: alepha1.TUnsafe<"link" | "code">;
2504
- target: alepha1.TString;
2505
- code: alepha1.TString;
2506
- verifiedAt: alepha1.TOptional<alepha1.TString>;
2507
- attempts: alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_DEFAULT>;
2508
- }>, alepha_orm179.PgRelationMap<alepha1.TObject<{
2509
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2510
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2511
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2512
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2513
- type: alepha1.TUnsafe<"link" | "code">;
2514
- target: alepha1.TString;
2515
- code: alepha1.TString;
2516
- verifiedAt: alepha1.TOptional<alepha1.TString>;
2517
- attempts: alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_DEFAULT>;
2498
+ findRecentsByEntry(entry: VerificationEntry): Promise<alepha_orm204.PgStatic<alepha23.TObject<{
2499
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2500
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2501
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2502
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2503
+ type: alepha23.TUnsafe<"link" | "code">;
2504
+ target: alepha23.TString;
2505
+ code: alepha23.TString;
2506
+ verifiedAt: alepha23.TOptional<alepha23.TString>;
2507
+ attempts: alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_DEFAULT>;
2508
+ }>, alepha_orm204.PgRelationMap<alepha23.TObject<{
2509
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2510
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2511
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2512
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2513
+ type: alepha23.TUnsafe<"link" | "code">;
2514
+ target: alepha23.TString;
2515
+ code: alepha23.TString;
2516
+ verifiedAt: alepha23.TOptional<alepha23.TString>;
2517
+ attempts: alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_DEFAULT>;
2518
2518
  }>>>[]>;
2519
2519
  /**
2520
2520
  * Creates a verification entry and returns the token.
@@ -2537,62 +2537,62 @@ declare class VerificationController {
2537
2537
  readonly url = "/verifications";
2538
2538
  readonly group = "verifications";
2539
2539
  readonly requestVerificationCode: alepha_server0.ActionDescriptorFn<{
2540
- params: alepha1.TObject<{
2541
- type: alepha1.TUnsafe<"link" | "code">;
2540
+ params: alepha23.TObject<{
2541
+ type: alepha23.TUnsafe<"link" | "code">;
2542
2542
  }>;
2543
- body: alepha1.TObject<{
2544
- target: alepha1.TString;
2543
+ body: alepha23.TObject<{
2544
+ target: alepha23.TString;
2545
2545
  }>;
2546
- response: alepha1.TObject<{
2547
- token: alepha1.TString;
2548
- codeExpiration: alepha1.TInteger;
2549
- verificationCooldown: alepha1.TInteger;
2550
- maxVerificationAttempts: alepha1.TInteger;
2546
+ response: alepha23.TObject<{
2547
+ token: alepha23.TString;
2548
+ codeExpiration: alepha23.TInteger;
2549
+ verificationCooldown: alepha23.TInteger;
2550
+ maxVerificationAttempts: alepha23.TInteger;
2551
2551
  }>;
2552
2552
  }>;
2553
2553
  readonly validateVerificationCode: alepha_server0.ActionDescriptorFn<{
2554
- params: alepha1.TObject<{
2555
- type: alepha1.TUnsafe<"link" | "code">;
2554
+ params: alepha23.TObject<{
2555
+ type: alepha23.TUnsafe<"link" | "code">;
2556
2556
  }>;
2557
- body: alepha1.TObject<{
2558
- target: alepha1.TString;
2559
- token: alepha1.TString;
2557
+ body: alepha23.TObject<{
2558
+ target: alepha23.TString;
2559
+ token: alepha23.TString;
2560
2560
  }>;
2561
- response: alepha1.TObject<{
2562
- ok: alepha1.TBoolean;
2563
- alreadyVerified: alepha1.TOptional<alepha1.TBoolean>;
2561
+ response: alepha23.TObject<{
2562
+ ok: alepha23.TBoolean;
2563
+ alreadyVerified: alepha23.TOptional<alepha23.TBoolean>;
2564
2564
  }>;
2565
2565
  }>;
2566
2566
  }
2567
2567
  //#endregion
2568
2568
  //#region src/api-notifications/schemas/notificationCreateSchema.d.ts
2569
- declare const notificationCreateSchema: alepha1.TObject<{
2570
- type: alepha1.TUnsafe<"email" | "sms">;
2571
- template: alepha1.TString;
2572
- contact: alepha1.TString;
2573
- variables: alepha1.TOptional<alepha1.TRecord<"^.*$", alepha1.TAny>>;
2569
+ declare const notificationCreateSchema: alepha23.TObject<{
2570
+ type: alepha23.TUnsafe<"email" | "sms">;
2571
+ template: alepha23.TString;
2572
+ contact: alepha23.TString;
2573
+ variables: alepha23.TOptional<alepha23.TRecord<"^.*$", alepha23.TAny>>;
2574
2574
  }>;
2575
2575
  type NotificationCreate = Static<typeof notificationCreateSchema>;
2576
2576
  //#endregion
2577
2577
  //#region src/api-notifications/entities/notifications.d.ts
2578
- declare const notifications: alepha_orm179.EntityDescriptor<alepha1.TObject<{
2579
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2580
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2581
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2582
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2583
- type: alepha1.TUnsafe<"email" | "sms">;
2584
- template: alepha1.TString;
2585
- category: alepha1.TOptional<alepha1.TString>;
2586
- critical: alepha1.TOptional<alepha1.TBoolean>;
2587
- sensitive: alepha1.TOptional<alepha1.TBoolean>;
2588
- contact: alepha1.TString;
2589
- variables: alepha1.TOptional<alepha1.TRecord<"^.*$", alepha1.TAny>>;
2590
- scheduledAt: alepha1.TOptional<alepha1.TString>;
2591
- sentAt: alepha1.TOptional<alepha1.TString>;
2592
- error: alepha1.TOptional<alepha1.TObject<{
2593
- at: alepha1.TString;
2594
- name: alepha1.TString;
2595
- message: alepha1.TString;
2578
+ declare const notifications: alepha_orm204.EntityDescriptor<alepha23.TObject<{
2579
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2580
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2581
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2582
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2583
+ type: alepha23.TUnsafe<"email" | "sms">;
2584
+ template: alepha23.TString;
2585
+ category: alepha23.TOptional<alepha23.TString>;
2586
+ critical: alepha23.TOptional<alepha23.TBoolean>;
2587
+ sensitive: alepha23.TOptional<alepha23.TBoolean>;
2588
+ contact: alepha23.TString;
2589
+ variables: alepha23.TOptional<alepha23.TRecord<"^.*$", alepha23.TAny>>;
2590
+ scheduledAt: alepha23.TOptional<alepha23.TString>;
2591
+ sentAt: alepha23.TOptional<alepha23.TString>;
2592
+ error: alepha23.TOptional<alepha23.TObject<{
2593
+ at: alepha23.TString;
2594
+ name: alepha23.TString;
2595
+ message: alepha23.TString;
2596
2596
  }>>;
2597
2597
  }>>;
2598
2598
  type NotificationEntity = Static<typeof notifications.schema>;
@@ -2609,25 +2609,25 @@ interface SmsSendOptions {
2609
2609
  //#region src/api-notifications/services/NotificationSenderService.d.ts
2610
2610
  declare class NotificationSenderService {
2611
2611
  protected readonly alepha: Alepha;
2612
- protected readonly log: alepha_logger0.Logger;
2613
- protected readonly notificationRepository: alepha_orm179.Repository<alepha1.TObject<{
2614
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2615
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2616
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2617
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2618
- type: alepha1.TUnsafe<"email" | "sms">;
2619
- template: alepha1.TString;
2620
- category: alepha1.TOptional<alepha1.TString>;
2621
- critical: alepha1.TOptional<alepha1.TBoolean>;
2622
- sensitive: alepha1.TOptional<alepha1.TBoolean>;
2623
- contact: alepha1.TString;
2624
- variables: alepha1.TOptional<alepha1.TRecord<"^.*$", alepha1.TAny>>;
2625
- scheduledAt: alepha1.TOptional<alepha1.TString>;
2626
- sentAt: alepha1.TOptional<alepha1.TString>;
2627
- error: alepha1.TOptional<alepha1.TObject<{
2628
- at: alepha1.TString;
2629
- name: alepha1.TString;
2630
- message: alepha1.TString;
2612
+ protected readonly log: alepha_logger1.Logger;
2613
+ protected readonly notificationRepository: alepha_orm204.Repository<alepha23.TObject<{
2614
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2615
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2616
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2617
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2618
+ type: alepha23.TUnsafe<"email" | "sms">;
2619
+ template: alepha23.TString;
2620
+ category: alepha23.TOptional<alepha23.TString>;
2621
+ critical: alepha23.TOptional<alepha23.TBoolean>;
2622
+ sensitive: alepha23.TOptional<alepha23.TBoolean>;
2623
+ contact: alepha23.TString;
2624
+ variables: alepha23.TOptional<alepha23.TRecord<"^.*$", alepha23.TAny>>;
2625
+ scheduledAt: alepha23.TOptional<alepha23.TString>;
2626
+ sentAt: alepha23.TOptional<alepha23.TString>;
2627
+ error: alepha23.TOptional<alepha23.TObject<{
2628
+ at: alepha23.TString;
2629
+ name: alepha23.TString;
2630
+ message: alepha23.TString;
2631
2631
  }>>;
2632
2632
  }>>;
2633
2633
  protected readonly dateTimeProvider: DateTimeProvider;
@@ -2644,90 +2644,90 @@ declare class NotificationSenderService {
2644
2644
  body: string;
2645
2645
  };
2646
2646
  protected load(notification: NotificationEntity): {
2647
- template: NotificationDescriptor<alepha1.TObject<alepha1.TProperties>>;
2647
+ template: NotificationDescriptor<alepha23.TObject<alepha23.TProperties>>;
2648
2648
  variables: Record<string, any>;
2649
2649
  contact: string;
2650
2650
  };
2651
2651
  }
2652
2652
  //#endregion
2653
2653
  //#region src/api-notifications/services/NotificationService.d.ts
2654
- declare const notificationServiceEnvSchema: alepha1.TObject<{
2655
- NOTIFICATION_QUEUE: alepha1.TOptional<alepha1.TBoolean>;
2654
+ declare const notificationServiceEnvSchema: alepha23.TObject<{
2655
+ NOTIFICATION_QUEUE: alepha23.TOptional<alepha23.TBoolean>;
2656
2656
  }>;
2657
2657
  declare module "alepha" {
2658
2658
  interface Env extends Partial<Static<typeof notificationServiceEnvSchema>> {}
2659
2659
  }
2660
2660
  declare class NotificationService {
2661
2661
  protected readonly alepha: Alepha;
2662
- protected readonly log: alepha_logger0.Logger;
2662
+ protected readonly log: alepha_logger1.Logger;
2663
2663
  protected readonly env: {
2664
2664
  NOTIFICATION_QUEUE?: boolean | undefined;
2665
2665
  };
2666
- protected readonly notificationRepository: alepha_orm179.Repository<alepha1.TObject<{
2667
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2668
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2669
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2670
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2671
- type: alepha1.TUnsafe<"email" | "sms">;
2672
- template: alepha1.TString;
2673
- category: alepha1.TOptional<alepha1.TString>;
2674
- critical: alepha1.TOptional<alepha1.TBoolean>;
2675
- sensitive: alepha1.TOptional<alepha1.TBoolean>;
2676
- contact: alepha1.TString;
2677
- variables: alepha1.TOptional<alepha1.TRecord<"^.*$", alepha1.TAny>>;
2678
- scheduledAt: alepha1.TOptional<alepha1.TString>;
2679
- sentAt: alepha1.TOptional<alepha1.TString>;
2680
- error: alepha1.TOptional<alepha1.TObject<{
2681
- at: alepha1.TString;
2682
- name: alepha1.TString;
2683
- message: alepha1.TString;
2666
+ protected readonly notificationRepository: alepha_orm204.Repository<alepha23.TObject<{
2667
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2668
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2669
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2670
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2671
+ type: alepha23.TUnsafe<"email" | "sms">;
2672
+ template: alepha23.TString;
2673
+ category: alepha23.TOptional<alepha23.TString>;
2674
+ critical: alepha23.TOptional<alepha23.TBoolean>;
2675
+ sensitive: alepha23.TOptional<alepha23.TBoolean>;
2676
+ contact: alepha23.TString;
2677
+ variables: alepha23.TOptional<alepha23.TRecord<"^.*$", alepha23.TAny>>;
2678
+ scheduledAt: alepha23.TOptional<alepha23.TString>;
2679
+ sentAt: alepha23.TOptional<alepha23.TString>;
2680
+ error: alepha23.TOptional<alepha23.TObject<{
2681
+ at: alepha23.TString;
2682
+ name: alepha23.TString;
2683
+ message: alepha23.TString;
2684
2684
  }>>;
2685
2685
  }>>;
2686
2686
  protected readonly dateTimeProvider: DateTimeProvider;
2687
2687
  protected readonly notificationSenderService: NotificationSenderService;
2688
- readonly notificationBatch: alepha_batch0.BatchDescriptor<alepha1.TObject<{
2689
- type: alepha1.TUnsafe<"email" | "sms">;
2690
- template: alepha1.TString;
2691
- contact: alepha1.TString;
2692
- variables: alepha1.TOptional<alepha1.TRecord<"^.*$", alepha1.TAny>>;
2688
+ readonly notificationBatch: alepha_batch0.BatchDescriptor<alepha23.TObject<{
2689
+ type: alepha23.TUnsafe<"email" | "sms">;
2690
+ template: alepha23.TString;
2691
+ contact: alepha23.TString;
2692
+ variables: alepha23.TOptional<alepha23.TRecord<"^.*$", alepha23.TAny>>;
2693
2693
  }>, Promise<void>>;
2694
- findNotificationById(id: string): Promise<alepha_orm179.PgStatic<alepha1.TObject<{
2695
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2696
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2697
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2698
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2699
- type: alepha1.TUnsafe<"email" | "sms">;
2700
- template: alepha1.TString;
2701
- category: alepha1.TOptional<alepha1.TString>;
2702
- critical: alepha1.TOptional<alepha1.TBoolean>;
2703
- sensitive: alepha1.TOptional<alepha1.TBoolean>;
2704
- contact: alepha1.TString;
2705
- variables: alepha1.TOptional<alepha1.TRecord<"^.*$", alepha1.TAny>>;
2706
- scheduledAt: alepha1.TOptional<alepha1.TString>;
2707
- sentAt: alepha1.TOptional<alepha1.TString>;
2708
- error: alepha1.TOptional<alepha1.TObject<{
2709
- at: alepha1.TString;
2710
- name: alepha1.TString;
2711
- message: alepha1.TString;
2694
+ findNotificationById(id: string): Promise<alepha_orm204.PgStatic<alepha23.TObject<{
2695
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2696
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2697
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2698
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2699
+ type: alepha23.TUnsafe<"email" | "sms">;
2700
+ template: alepha23.TString;
2701
+ category: alepha23.TOptional<alepha23.TString>;
2702
+ critical: alepha23.TOptional<alepha23.TBoolean>;
2703
+ sensitive: alepha23.TOptional<alepha23.TBoolean>;
2704
+ contact: alepha23.TString;
2705
+ variables: alepha23.TOptional<alepha23.TRecord<"^.*$", alepha23.TAny>>;
2706
+ scheduledAt: alepha23.TOptional<alepha23.TString>;
2707
+ sentAt: alepha23.TOptional<alepha23.TString>;
2708
+ error: alepha23.TOptional<alepha23.TObject<{
2709
+ at: alepha23.TString;
2710
+ name: alepha23.TString;
2711
+ message: alepha23.TString;
2712
2712
  }>>;
2713
- }>, alepha_orm179.PgRelationMap<alepha1.TObject<{
2714
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
2715
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
2716
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2717
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
2718
- type: alepha1.TUnsafe<"email" | "sms">;
2719
- template: alepha1.TString;
2720
- category: alepha1.TOptional<alepha1.TString>;
2721
- critical: alepha1.TOptional<alepha1.TBoolean>;
2722
- sensitive: alepha1.TOptional<alepha1.TBoolean>;
2723
- contact: alepha1.TString;
2724
- variables: alepha1.TOptional<alepha1.TRecord<"^.*$", alepha1.TAny>>;
2725
- scheduledAt: alepha1.TOptional<alepha1.TString>;
2726
- sentAt: alepha1.TOptional<alepha1.TString>;
2727
- error: alepha1.TOptional<alepha1.TObject<{
2728
- at: alepha1.TString;
2729
- name: alepha1.TString;
2730
- message: alepha1.TString;
2713
+ }>, alepha_orm204.PgRelationMap<alepha23.TObject<{
2714
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
2715
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
2716
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2717
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
2718
+ type: alepha23.TUnsafe<"email" | "sms">;
2719
+ template: alepha23.TString;
2720
+ category: alepha23.TOptional<alepha23.TString>;
2721
+ critical: alepha23.TOptional<alepha23.TBoolean>;
2722
+ sensitive: alepha23.TOptional<alepha23.TBoolean>;
2723
+ contact: alepha23.TString;
2724
+ variables: alepha23.TOptional<alepha23.TRecord<"^.*$", alepha23.TAny>>;
2725
+ scheduledAt: alepha23.TOptional<alepha23.TString>;
2726
+ sentAt: alepha23.TOptional<alepha23.TString>;
2727
+ error: alepha23.TOptional<alepha23.TObject<{
2728
+ at: alepha23.TString;
2729
+ name: alepha23.TString;
2730
+ message: alepha23.TString;
2731
2731
  }>>;
2732
2732
  }>>>>;
2733
2733
  /**
@@ -2770,30 +2770,30 @@ interface NotificationMessage<T extends TObject> {
2770
2770
  //#endregion
2771
2771
  //#region src/api-users/notifications/UserNotifications.d.ts
2772
2772
  declare class UserNotifications {
2773
- readonly passwordReset: NotificationDescriptor<alepha1.TObject<{
2774
- email: alepha1.TString;
2775
- code: alepha1.TString;
2776
- expiresInMinutes: alepha1.TNumber;
2773
+ readonly passwordReset: NotificationDescriptor<alepha23.TObject<{
2774
+ email: alepha23.TString;
2775
+ code: alepha23.TString;
2776
+ expiresInMinutes: alepha23.TNumber;
2777
2777
  }>>;
2778
- readonly emailVerification: NotificationDescriptor<alepha1.TObject<{
2779
- email: alepha1.TString;
2780
- code: alepha1.TString;
2781
- expiresInMinutes: alepha1.TNumber;
2778
+ readonly emailVerification: NotificationDescriptor<alepha23.TObject<{
2779
+ email: alepha23.TString;
2780
+ code: alepha23.TString;
2781
+ expiresInMinutes: alepha23.TNumber;
2782
2782
  }>>;
2783
- readonly phoneVerification: NotificationDescriptor<alepha1.TObject<{
2784
- phoneNumber: alepha1.TString;
2785
- code: alepha1.TString;
2786
- expiresInMinutes: alepha1.TNumber;
2783
+ readonly phoneVerification: NotificationDescriptor<alepha23.TObject<{
2784
+ phoneNumber: alepha23.TString;
2785
+ code: alepha23.TString;
2786
+ expiresInMinutes: alepha23.TNumber;
2787
2787
  }>>;
2788
- readonly passwordResetLink: NotificationDescriptor<alepha1.TObject<{
2789
- email: alepha1.TString;
2790
- resetUrl: alepha1.TString;
2791
- expiresInMinutes: alepha1.TNumber;
2788
+ readonly passwordResetLink: NotificationDescriptor<alepha23.TObject<{
2789
+ email: alepha23.TString;
2790
+ resetUrl: alepha23.TString;
2791
+ expiresInMinutes: alepha23.TNumber;
2792
2792
  }>>;
2793
- readonly emailVerificationLink: NotificationDescriptor<alepha1.TObject<{
2794
- email: alepha1.TString;
2795
- verifyUrl: alepha1.TString;
2796
- expiresInMinutes: alepha1.TNumber;
2793
+ readonly emailVerificationLink: NotificationDescriptor<alepha23.TObject<{
2794
+ email: alepha23.TString;
2795
+ verifyUrl: alepha23.TString;
2796
+ expiresInMinutes: alepha23.TNumber;
2797
2797
  }>>;
2798
2798
  }
2799
2799
  //#endregion
@@ -2804,10 +2804,10 @@ declare class UserNotifications {
2804
2804
  * Requires the intent ID from Phase 1, the verification code,
2805
2805
  * and the new password.
2806
2806
  */
2807
- declare const completePasswordResetRequestSchema: alepha1.TObject<{
2808
- intentId: alepha1.TString;
2809
- code: alepha1.TString;
2810
- newPassword: alepha1.TString;
2807
+ declare const completePasswordResetRequestSchema: alepha23.TObject<{
2808
+ intentId: alepha23.TString;
2809
+ code: alepha23.TString;
2810
+ newPassword: alepha23.TString;
2811
2811
  }>;
2812
2812
  type CompletePasswordResetRequest = Static<typeof completePasswordResetRequestSchema>;
2813
2813
  //#endregion
@@ -2818,9 +2818,9 @@ type CompletePasswordResetRequest = Static<typeof completePasswordResetRequestSc
2818
2818
  * Contains the intent ID needed for Phase 2 completion,
2819
2819
  * along with expiration time.
2820
2820
  */
2821
- declare const passwordResetIntentResponseSchema: alepha1.TObject<{
2822
- intentId: alepha1.TString;
2823
- expiresAt: alepha1.TString;
2821
+ declare const passwordResetIntentResponseSchema: alepha23.TObject<{
2822
+ intentId: alepha23.TString;
2823
+ expiresAt: alepha23.TString;
2824
2824
  }>;
2825
2825
  type PasswordResetIntentResponse = Static<typeof passwordResetIntentResponseSchema>;
2826
2826
  //#endregion
@@ -2836,54 +2836,54 @@ interface PasswordResetIntent {
2836
2836
  expiresAt: string;
2837
2837
  }
2838
2838
  declare class CredentialService {
2839
- protected readonly log: alepha_logger0.Logger;
2839
+ protected readonly log: alepha_logger1.Logger;
2840
2840
  protected readonly cryptoProvider: CryptoProvider;
2841
2841
  protected readonly dateTimeProvider: DateTimeProvider;
2842
2842
  protected readonly verificationController: HttpVirtualClient<VerificationController>;
2843
2843
  protected readonly userNotifications: UserNotifications;
2844
2844
  protected readonly userRealmProvider: UserRealmProvider;
2845
2845
  protected readonly intentCache: alepha_cache0.CacheDescriptorFn<PasswordResetIntent, any[]>;
2846
- users(userRealmName?: string): Repository$1<alepha1.TObject<{
2847
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2848
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2849
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2850
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2851
- realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
2852
- username: alepha1.TOptional<alepha1.TString>;
2853
- email: alepha1.TOptional<alepha1.TString>;
2854
- phoneNumber: alepha1.TOptional<alepha1.TString>;
2855
- roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
2856
- firstName: alepha1.TOptional<alepha1.TString>;
2857
- lastName: alepha1.TOptional<alepha1.TString>;
2858
- picture: alepha1.TOptional<alepha1.TString>;
2859
- enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2860
- emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
2846
+ users(userRealmName?: string): Repository$1<alepha23.TObject<{
2847
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2848
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2849
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2850
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2851
+ realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
2852
+ username: alepha23.TOptional<alepha23.TString>;
2853
+ email: alepha23.TOptional<alepha23.TString>;
2854
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
2855
+ roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
2856
+ firstName: alepha23.TOptional<alepha23.TString>;
2857
+ lastName: alepha23.TOptional<alepha23.TString>;
2858
+ picture: alepha23.TOptional<alepha23.TString>;
2859
+ enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2860
+ emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
2861
2861
  }>>;
2862
- sessions(userRealmName?: string): Repository$1<alepha1.TObject<{
2863
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2864
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2865
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2866
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2867
- refreshToken: alepha1.TString;
2868
- userId: PgAttr<alepha1.TString, typeof PG_REF>;
2869
- expiresAt: alepha1.TString;
2870
- ip: alepha1.TOptional<alepha1.TString>;
2871
- userAgent: alepha1.TOptional<alepha1.TObject<{
2872
- os: alepha1.TString;
2873
- browser: alepha1.TString;
2874
- device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2862
+ sessions(userRealmName?: string): Repository$1<alepha23.TObject<{
2863
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2864
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2865
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2866
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2867
+ refreshToken: alepha23.TString;
2868
+ userId: PgAttr<alepha23.TString, typeof PG_REF>;
2869
+ expiresAt: alepha23.TString;
2870
+ ip: alepha23.TOptional<alepha23.TString>;
2871
+ userAgent: alepha23.TOptional<alepha23.TObject<{
2872
+ os: alepha23.TString;
2873
+ browser: alepha23.TString;
2874
+ device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
2875
2875
  }>>;
2876
2876
  }>>;
2877
- identities(userRealmName?: string): Repository$1<alepha1.TObject<{
2878
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2879
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2880
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2881
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2882
- userId: PgAttr<alepha1.TString, typeof PG_REF>;
2883
- password: alepha1.TOptional<alepha1.TString>;
2884
- provider: alepha1.TString;
2885
- providerUserId: alepha1.TOptional<alepha1.TString>;
2886
- providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
2877
+ identities(userRealmName?: string): Repository$1<alepha23.TObject<{
2878
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
2879
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
2880
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
2881
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
2882
+ userId: PgAttr<alepha23.TString, typeof PG_REF>;
2883
+ password: alepha23.TOptional<alepha23.TString>;
2884
+ provider: alepha23.TString;
2885
+ providerUserId: alepha23.TOptional<alepha23.TString>;
2886
+ providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
2887
2887
  }>>;
2888
2888
  /**
2889
2889
  * Phase 1: Create a password reset intent.
@@ -2920,11 +2920,11 @@ declare class CredentialService {
2920
2920
  }
2921
2921
  //#endregion
2922
2922
  //#region src/api-users/schemas/completeRegistrationRequestSchema.d.ts
2923
- declare const completeRegistrationRequestSchema: alepha1.TObject<{
2924
- intentId: alepha1.TString;
2925
- emailCode: alepha1.TOptional<alepha1.TString>;
2926
- phoneCode: alepha1.TOptional<alepha1.TString>;
2927
- captchaToken: alepha1.TOptional<alepha1.TString>;
2923
+ declare const completeRegistrationRequestSchema: alepha23.TObject<{
2924
+ intentId: alepha23.TString;
2925
+ emailCode: alepha23.TOptional<alepha23.TString>;
2926
+ phoneCode: alepha23.TOptional<alepha23.TString>;
2927
+ captchaToken: alepha23.TOptional<alepha23.TString>;
2928
2928
  }>;
2929
2929
  type CompleteRegistrationRequest = Static<typeof completeRegistrationRequestSchema>;
2930
2930
  //#endregion
@@ -2933,24 +2933,24 @@ type CompleteRegistrationRequest = Static<typeof completeRegistrationRequestSche
2933
2933
  * Schema for user registration request body.
2934
2934
  * Password is always required, other fields depend on realm settings.
2935
2935
  */
2936
- declare const registerRequestSchema: alepha1.TObject<{
2937
- password: alepha1.TString;
2938
- username: alepha1.TOptional<alepha1.TString>;
2939
- email: alepha1.TOptional<alepha1.TString>;
2940
- phoneNumber: alepha1.TOptional<alepha1.TString>;
2941
- firstName: alepha1.TOptional<alepha1.TString>;
2942
- lastName: alepha1.TOptional<alepha1.TString>;
2943
- picture: alepha1.TOptional<alepha1.TString>;
2936
+ declare const registerRequestSchema: alepha23.TObject<{
2937
+ password: alepha23.TString;
2938
+ username: alepha23.TOptional<alepha23.TString>;
2939
+ email: alepha23.TOptional<alepha23.TString>;
2940
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
2941
+ firstName: alepha23.TOptional<alepha23.TString>;
2942
+ lastName: alepha23.TOptional<alepha23.TString>;
2943
+ picture: alepha23.TOptional<alepha23.TString>;
2944
2944
  }>;
2945
2945
  type RegisterRequest = Static<typeof registerRequestSchema>;
2946
2946
  //#endregion
2947
2947
  //#region src/api-users/schemas/registrationIntentResponseSchema.d.ts
2948
- declare const registrationIntentResponseSchema: alepha1.TObject<{
2949
- intentId: alepha1.TString;
2950
- expectCaptcha: alepha1.TBoolean;
2951
- expectEmailVerification: alepha1.TBoolean;
2952
- expectPhoneVerification: alepha1.TBoolean;
2953
- expiresAt: alepha1.TString;
2948
+ declare const registrationIntentResponseSchema: alepha23.TObject<{
2949
+ intentId: alepha23.TString;
2950
+ expectCaptcha: alepha23.TBoolean;
2951
+ expectEmailVerification: alepha23.TBoolean;
2952
+ expectPhoneVerification: alepha23.TBoolean;
2953
+ expiresAt: alepha23.TString;
2954
2954
  }>;
2955
2955
  type RegistrationIntentResponse = Static<typeof registrationIntentResponseSchema>;
2956
2956
  //#endregion
@@ -2977,7 +2977,7 @@ interface RegistrationIntent {
2977
2977
  expiresAt: string;
2978
2978
  }
2979
2979
  declare class RegistrationService {
2980
- protected readonly log: alepha_logger0.Logger;
2980
+ protected readonly log: alepha_logger1.Logger;
2981
2981
  protected readonly dateTimeProvider: DateTimeProvider;
2982
2982
  protected readonly cryptoProvider: CryptoProvider;
2983
2983
  protected readonly verificationController: HttpVirtualClient<VerificationController>;
@@ -3021,70 +3021,70 @@ declare class RegistrationService {
3021
3021
  }
3022
3022
  //#endregion
3023
3023
  //#region src/api-users/schemas/createUserSchema.d.ts
3024
- declare const createUserSchema: alepha1.TObject<{
3025
- id: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
3026
- version: alepha1.TOptional<PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
3027
- email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3028
- createdAt: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
3029
- updatedAt: alepha1.TOptional<PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
3030
- username: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3031
- phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3032
- roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
3033
- firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3034
- lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3035
- picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3036
- enabled: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
3037
- emailVerified: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
3024
+ declare const createUserSchema: alepha23.TObject<{
3025
+ id: alepha23.TOptional<PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
3026
+ version: alepha23.TOptional<PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
3027
+ email: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3028
+ createdAt: alepha23.TOptional<PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
3029
+ updatedAt: alepha23.TOptional<PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
3030
+ username: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3031
+ phoneNumber: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3032
+ roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
3033
+ firstName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3034
+ lastName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3035
+ picture: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3036
+ enabled: alepha23.TOptional<PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>>;
3037
+ emailVerified: alepha23.TOptional<PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>>;
3038
3038
  }>;
3039
3039
  type CreateUser = Static<typeof createUserSchema>;
3040
3040
  //#endregion
3041
3041
  //#region src/api-users/schemas/updateUserSchema.d.ts
3042
- declare const updateUserSchema: alepha1.TObject<{
3043
- email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3044
- realm: alepha1.TOptional<PgAttr<alepha1.TString, typeof PG_DEFAULT>>;
3045
- phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3046
- roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
3047
- firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3048
- lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3049
- picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3050
- enabled: alepha1.TOptional<PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>>;
3042
+ declare const updateUserSchema: alepha23.TObject<{
3043
+ email: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3044
+ realm: alepha23.TOptional<PgAttr<alepha23.TString, typeof PG_DEFAULT>>;
3045
+ phoneNumber: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3046
+ roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
3047
+ firstName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3048
+ lastName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3049
+ picture: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3050
+ enabled: alepha23.TOptional<PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>>;
3051
3051
  }>;
3052
3052
  type UpdateUser = Static<typeof updateUserSchema>;
3053
3053
  //#endregion
3054
3054
  //#region src/api-users/schemas/userQuerySchema.d.ts
3055
- declare const userQuerySchema: alepha1.TObject<{
3056
- page: alepha1.TOptional<alepha1.TInteger>;
3057
- size: alepha1.TOptional<alepha1.TInteger>;
3058
- sort: alepha1.TOptional<alepha1.TString>;
3059
- email: alepha1.TOptional<alepha1.TString>;
3060
- enabled: alepha1.TOptional<alepha1.TBoolean>;
3061
- emailVerified: alepha1.TOptional<alepha1.TBoolean>;
3062
- roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
3063
- query: alepha1.TOptional<alepha1.TString>;
3055
+ declare const userQuerySchema: alepha23.TObject<{
3056
+ page: alepha23.TOptional<alepha23.TInteger>;
3057
+ size: alepha23.TOptional<alepha23.TInteger>;
3058
+ sort: alepha23.TOptional<alepha23.TString>;
3059
+ email: alepha23.TOptional<alepha23.TString>;
3060
+ enabled: alepha23.TOptional<alepha23.TBoolean>;
3061
+ emailVerified: alepha23.TOptional<alepha23.TBoolean>;
3062
+ roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
3063
+ query: alepha23.TOptional<alepha23.TString>;
3064
3064
  }>;
3065
3065
  type UserQuery = Static<typeof userQuerySchema>;
3066
3066
  //#endregion
3067
3067
  //#region src/api-users/services/UserService.d.ts
3068
3068
  declare class UserService {
3069
- protected readonly log: alepha_logger0.Logger;
3069
+ protected readonly log: alepha_logger1.Logger;
3070
3070
  protected readonly verificationController: HttpVirtualClient<VerificationController>;
3071
3071
  protected readonly userNotifications: UserNotifications;
3072
3072
  protected readonly userRealmProvider: UserRealmProvider;
3073
- users(userRealmName?: string): alepha_orm179.Repository<alepha1.TObject<{
3074
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
3075
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
3076
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
3077
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
3078
- realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
3079
- username: alepha1.TOptional<alepha1.TString>;
3080
- email: alepha1.TOptional<alepha1.TString>;
3081
- phoneNumber: alepha1.TOptional<alepha1.TString>;
3082
- roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
3083
- firstName: alepha1.TOptional<alepha1.TString>;
3084
- lastName: alepha1.TOptional<alepha1.TString>;
3085
- picture: alepha1.TOptional<alepha1.TString>;
3086
- enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
3087
- emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
3073
+ users(userRealmName?: string): alepha_orm204.Repository<alepha23.TObject<{
3074
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
3075
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
3076
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
3077
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
3078
+ realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
3079
+ username: alepha23.TOptional<alepha23.TString>;
3080
+ email: alepha23.TOptional<alepha23.TString>;
3081
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
3082
+ roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
3083
+ firstName: alepha23.TOptional<alepha23.TString>;
3084
+ lastName: alepha23.TOptional<alepha23.TString>;
3085
+ picture: alepha23.TOptional<alepha23.TString>;
3086
+ enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
3087
+ emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
3088
3088
  }>>;
3089
3089
  /**
3090
3090
  * Request email verification for a user.
@@ -3132,122 +3132,122 @@ declare class UserController {
3132
3132
  * Validates data, creates verification sessions, and stores intent in cache.
3133
3133
  */
3134
3134
  readonly createRegistrationIntent: alepha_server0.ActionDescriptorFn<{
3135
- body: alepha1.TObject<{
3136
- password: alepha1.TString;
3137
- username: alepha1.TOptional<alepha1.TString>;
3138
- email: alepha1.TOptional<alepha1.TString>;
3139
- phoneNumber: alepha1.TOptional<alepha1.TString>;
3140
- firstName: alepha1.TOptional<alepha1.TString>;
3141
- lastName: alepha1.TOptional<alepha1.TString>;
3142
- picture: alepha1.TOptional<alepha1.TString>;
3135
+ body: alepha23.TObject<{
3136
+ password: alepha23.TString;
3137
+ username: alepha23.TOptional<alepha23.TString>;
3138
+ email: alepha23.TOptional<alepha23.TString>;
3139
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
3140
+ firstName: alepha23.TOptional<alepha23.TString>;
3141
+ lastName: alepha23.TOptional<alepha23.TString>;
3142
+ picture: alepha23.TOptional<alepha23.TString>;
3143
3143
  }>;
3144
- query: alepha1.TObject<{
3145
- userRealmName: alepha1.TOptional<alepha1.TString>;
3144
+ query: alepha23.TObject<{
3145
+ userRealmName: alepha23.TOptional<alepha23.TString>;
3146
3146
  }>;
3147
- response: alepha1.TObject<{
3148
- intentId: alepha1.TString;
3149
- expectCaptcha: alepha1.TBoolean;
3150
- expectEmailVerification: alepha1.TBoolean;
3151
- expectPhoneVerification: alepha1.TBoolean;
3152
- expiresAt: alepha1.TString;
3147
+ response: alepha23.TObject<{
3148
+ intentId: alepha23.TString;
3149
+ expectCaptcha: alepha23.TBoolean;
3150
+ expectEmailVerification: alepha23.TBoolean;
3151
+ expectPhoneVerification: alepha23.TBoolean;
3152
+ expiresAt: alepha23.TString;
3153
3153
  }>;
3154
3154
  }>;
3155
3155
  /**
3156
3156
  * Find users with pagination and filtering.
3157
3157
  */
3158
3158
  readonly findUsers: alepha_server0.ActionDescriptorFn<{
3159
- query: alepha1.TObject<{
3160
- page: alepha1.TOptional<alepha1.TInteger>;
3161
- size: alepha1.TOptional<alepha1.TInteger>;
3162
- sort: alepha1.TOptional<alepha1.TString>;
3163
- email: alepha1.TOptional<alepha1.TString>;
3164
- enabled: alepha1.TOptional<alepha1.TBoolean>;
3165
- emailVerified: alepha1.TOptional<alepha1.TBoolean>;
3166
- roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
3167
- query: alepha1.TOptional<alepha1.TString>;
3168
- userRealmName: alepha1.TOptional<alepha1.TString>;
3159
+ query: alepha23.TObject<{
3160
+ page: alepha23.TOptional<alepha23.TInteger>;
3161
+ size: alepha23.TOptional<alepha23.TInteger>;
3162
+ sort: alepha23.TOptional<alepha23.TString>;
3163
+ email: alepha23.TOptional<alepha23.TString>;
3164
+ enabled: alepha23.TOptional<alepha23.TBoolean>;
3165
+ emailVerified: alepha23.TOptional<alepha23.TBoolean>;
3166
+ roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
3167
+ query: alepha23.TOptional<alepha23.TString>;
3168
+ userRealmName: alepha23.TOptional<alepha23.TString>;
3169
3169
  }>;
3170
- response: alepha1.TPage<alepha1.TObject<{
3171
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
3172
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
3173
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
3174
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
3175
- realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
3176
- username: alepha1.TOptional<alepha1.TString>;
3177
- email: alepha1.TOptional<alepha1.TString>;
3178
- phoneNumber: alepha1.TOptional<alepha1.TString>;
3179
- roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
3180
- firstName: alepha1.TOptional<alepha1.TString>;
3181
- lastName: alepha1.TOptional<alepha1.TString>;
3182
- picture: alepha1.TOptional<alepha1.TString>;
3183
- enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
3184
- emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
3170
+ response: alepha23.TPage<alepha23.TObject<{
3171
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
3172
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
3173
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
3174
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
3175
+ realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
3176
+ username: alepha23.TOptional<alepha23.TString>;
3177
+ email: alepha23.TOptional<alepha23.TString>;
3178
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
3179
+ roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
3180
+ firstName: alepha23.TOptional<alepha23.TString>;
3181
+ lastName: alepha23.TOptional<alepha23.TString>;
3182
+ picture: alepha23.TOptional<alepha23.TString>;
3183
+ enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
3184
+ emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
3185
3185
  }>>;
3186
3186
  }>;
3187
3187
  /**
3188
3188
  * Get a user by ID.
3189
3189
  */
3190
3190
  readonly getUser: alepha_server0.ActionDescriptorFn<{
3191
- params: alepha1.TObject<{
3192
- id: alepha1.TString;
3191
+ params: alepha23.TObject<{
3192
+ id: alepha23.TString;
3193
3193
  }>;
3194
- query: alepha1.TObject<{
3195
- userRealmName: alepha1.TOptional<alepha1.TString>;
3194
+ query: alepha23.TObject<{
3195
+ userRealmName: alepha23.TOptional<alepha23.TString>;
3196
3196
  }>;
3197
- response: alepha1.TObject<{
3198
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
3199
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
3200
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
3201
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
3202
- realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
3203
- username: alepha1.TOptional<alepha1.TString>;
3204
- email: alepha1.TOptional<alepha1.TString>;
3205
- phoneNumber: alepha1.TOptional<alepha1.TString>;
3206
- roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
3207
- firstName: alepha1.TOptional<alepha1.TString>;
3208
- lastName: alepha1.TOptional<alepha1.TString>;
3209
- picture: alepha1.TOptional<alepha1.TString>;
3210
- enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
3211
- emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
3197
+ response: alepha23.TObject<{
3198
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
3199
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
3200
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
3201
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
3202
+ realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
3203
+ username: alepha23.TOptional<alepha23.TString>;
3204
+ email: alepha23.TOptional<alepha23.TString>;
3205
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
3206
+ roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
3207
+ firstName: alepha23.TOptional<alepha23.TString>;
3208
+ lastName: alepha23.TOptional<alepha23.TString>;
3209
+ picture: alepha23.TOptional<alepha23.TString>;
3210
+ enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
3211
+ emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
3212
3212
  }>;
3213
3213
  }>;
3214
3214
  /**
3215
3215
  * Create a new user.
3216
3216
  */
3217
3217
  readonly createUser: alepha_server0.ActionDescriptorFn<{
3218
- query: alepha1.TObject<{
3219
- userRealmName: alepha1.TOptional<alepha1.TString>;
3218
+ query: alepha23.TObject<{
3219
+ userRealmName: alepha23.TOptional<alepha23.TString>;
3220
3220
  }>;
3221
- body: alepha1.TObject<{
3222
- id: alepha1.TOptional<alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>>;
3223
- version: alepha1.TOptional<alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>>;
3224
- email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3225
- createdAt: alepha1.TOptional<alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>>;
3226
- updatedAt: alepha1.TOptional<alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>>;
3227
- username: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3228
- phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3229
- roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
3230
- firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3231
- lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3232
- picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3233
- enabled: alepha1.TOptional<alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>>;
3234
- emailVerified: alepha1.TOptional<alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>>;
3221
+ body: alepha23.TObject<{
3222
+ id: alepha23.TOptional<alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>>;
3223
+ version: alepha23.TOptional<alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>>;
3224
+ email: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3225
+ createdAt: alepha23.TOptional<alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>>;
3226
+ updatedAt: alepha23.TOptional<alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>>;
3227
+ username: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3228
+ phoneNumber: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3229
+ roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
3230
+ firstName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3231
+ lastName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3232
+ picture: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3233
+ enabled: alepha23.TOptional<alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>>;
3234
+ emailVerified: alepha23.TOptional<alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>>;
3235
3235
  }>;
3236
- response: alepha1.TObject<{
3237
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
3238
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
3239
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
3240
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
3241
- realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
3242
- username: alepha1.TOptional<alepha1.TString>;
3243
- email: alepha1.TOptional<alepha1.TString>;
3244
- phoneNumber: alepha1.TOptional<alepha1.TString>;
3245
- roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
3246
- firstName: alepha1.TOptional<alepha1.TString>;
3247
- lastName: alepha1.TOptional<alepha1.TString>;
3248
- picture: alepha1.TOptional<alepha1.TString>;
3249
- enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
3250
- emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
3236
+ response: alepha23.TObject<{
3237
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
3238
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
3239
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
3240
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
3241
+ realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
3242
+ username: alepha23.TOptional<alepha23.TString>;
3243
+ email: alepha23.TOptional<alepha23.TString>;
3244
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
3245
+ roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
3246
+ firstName: alepha23.TOptional<alepha23.TString>;
3247
+ lastName: alepha23.TOptional<alepha23.TString>;
3248
+ picture: alepha23.TOptional<alepha23.TString>;
3249
+ enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
3250
+ emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
3251
3251
  }>;
3252
3252
  }>;
3253
3253
  /**
@@ -3255,80 +3255,80 @@ declare class UserController {
3255
3255
  * Validates verification codes and creates the user.
3256
3256
  */
3257
3257
  readonly createUserFromIntent: alepha_server0.ActionDescriptorFn<{
3258
- body: alepha1.TObject<{
3259
- intentId: alepha1.TString;
3260
- emailCode: alepha1.TOptional<alepha1.TString>;
3261
- phoneCode: alepha1.TOptional<alepha1.TString>;
3262
- captchaToken: alepha1.TOptional<alepha1.TString>;
3258
+ body: alepha23.TObject<{
3259
+ intentId: alepha23.TString;
3260
+ emailCode: alepha23.TOptional<alepha23.TString>;
3261
+ phoneCode: alepha23.TOptional<alepha23.TString>;
3262
+ captchaToken: alepha23.TOptional<alepha23.TString>;
3263
3263
  }>;
3264
- response: alepha1.TObject<{
3265
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
3266
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
3267
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
3268
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
3269
- realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
3270
- username: alepha1.TOptional<alepha1.TString>;
3271
- email: alepha1.TOptional<alepha1.TString>;
3272
- phoneNumber: alepha1.TOptional<alepha1.TString>;
3273
- roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
3274
- firstName: alepha1.TOptional<alepha1.TString>;
3275
- lastName: alepha1.TOptional<alepha1.TString>;
3276
- picture: alepha1.TOptional<alepha1.TString>;
3277
- enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
3278
- emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
3264
+ response: alepha23.TObject<{
3265
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
3266
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
3267
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
3268
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
3269
+ realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
3270
+ username: alepha23.TOptional<alepha23.TString>;
3271
+ email: alepha23.TOptional<alepha23.TString>;
3272
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
3273
+ roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
3274
+ firstName: alepha23.TOptional<alepha23.TString>;
3275
+ lastName: alepha23.TOptional<alepha23.TString>;
3276
+ picture: alepha23.TOptional<alepha23.TString>;
3277
+ enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
3278
+ emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
3279
3279
  }>;
3280
3280
  }>;
3281
3281
  /**
3282
3282
  * Update a user.
3283
3283
  */
3284
3284
  readonly updateUser: alepha_server0.ActionDescriptorFn<{
3285
- params: alepha1.TObject<{
3286
- id: alepha1.TString;
3285
+ params: alepha23.TObject<{
3286
+ id: alepha23.TString;
3287
3287
  }>;
3288
- query: alepha1.TObject<{
3289
- userRealmName: alepha1.TOptional<alepha1.TString>;
3288
+ query: alepha23.TObject<{
3289
+ userRealmName: alepha23.TOptional<alepha23.TString>;
3290
3290
  }>;
3291
- body: alepha1.TObject<{
3292
- email: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3293
- realm: alepha1.TOptional<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>>;
3294
- phoneNumber: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3295
- roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
3296
- firstName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3297
- lastName: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3298
- picture: alepha1.TOptional<alepha1.TOptional<alepha1.TString>>;
3299
- enabled: alepha1.TOptional<alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>>;
3291
+ body: alepha23.TObject<{
3292
+ email: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3293
+ realm: alepha23.TOptional<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>>;
3294
+ phoneNumber: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3295
+ roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
3296
+ firstName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3297
+ lastName: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3298
+ picture: alepha23.TOptional<alepha23.TOptional<alepha23.TString>>;
3299
+ enabled: alepha23.TOptional<alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>>;
3300
3300
  }>;
3301
- response: alepha1.TObject<{
3302
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
3303
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
3304
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
3305
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
3306
- realm: alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_DEFAULT>;
3307
- username: alepha1.TOptional<alepha1.TString>;
3308
- email: alepha1.TOptional<alepha1.TString>;
3309
- phoneNumber: alepha1.TOptional<alepha1.TString>;
3310
- roles: alepha_orm179.PgAttr<alepha1.TArray<alepha1.TString>, typeof alepha_orm179.PG_DEFAULT>;
3311
- firstName: alepha1.TOptional<alepha1.TString>;
3312
- lastName: alepha1.TOptional<alepha1.TString>;
3313
- picture: alepha1.TOptional<alepha1.TString>;
3314
- enabled: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
3315
- emailVerified: alepha_orm179.PgAttr<alepha1.TBoolean, typeof alepha_orm179.PG_DEFAULT>;
3301
+ response: alepha23.TObject<{
3302
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
3303
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
3304
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
3305
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
3306
+ realm: alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_DEFAULT>;
3307
+ username: alepha23.TOptional<alepha23.TString>;
3308
+ email: alepha23.TOptional<alepha23.TString>;
3309
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
3310
+ roles: alepha_orm204.PgAttr<alepha23.TArray<alepha23.TString>, typeof alepha_orm204.PG_DEFAULT>;
3311
+ firstName: alepha23.TOptional<alepha23.TString>;
3312
+ lastName: alepha23.TOptional<alepha23.TString>;
3313
+ picture: alepha23.TOptional<alepha23.TString>;
3314
+ enabled: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
3315
+ emailVerified: alepha_orm204.PgAttr<alepha23.TBoolean, typeof alepha_orm204.PG_DEFAULT>;
3316
3316
  }>;
3317
3317
  }>;
3318
3318
  /**
3319
3319
  * Delete a user.
3320
3320
  */
3321
3321
  readonly deleteUser: alepha_server0.ActionDescriptorFn<{
3322
- params: alepha1.TObject<{
3323
- id: alepha1.TString;
3322
+ params: alepha23.TObject<{
3323
+ id: alepha23.TString;
3324
3324
  }>;
3325
- query: alepha1.TObject<{
3326
- userRealmName: alepha1.TOptional<alepha1.TString>;
3325
+ query: alepha23.TObject<{
3326
+ userRealmName: alepha23.TOptional<alepha23.TString>;
3327
3327
  }>;
3328
- response: alepha1.TObject<{
3329
- ok: alepha1.TBoolean;
3330
- id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
3331
- count: alepha1.TOptional<alepha1.TNumber>;
3328
+ response: alepha23.TObject<{
3329
+ ok: alepha23.TBoolean;
3330
+ id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
3331
+ count: alepha23.TOptional<alepha23.TNumber>;
3332
3332
  }>;
3333
3333
  }>;
3334
3334
  /**
@@ -3336,15 +3336,15 @@ declare class UserController {
3336
3336
  * Validates email, sends verification code, and stores intent in cache.
3337
3337
  */
3338
3338
  readonly createPasswordResetIntent: alepha_server0.ActionDescriptorFn<{
3339
- query: alepha1.TObject<{
3340
- userRealmName: alepha1.TOptional<alepha1.TString>;
3339
+ query: alepha23.TObject<{
3340
+ userRealmName: alepha23.TOptional<alepha23.TString>;
3341
3341
  }>;
3342
- body: alepha1.TObject<{
3343
- email: alepha1.TString;
3342
+ body: alepha23.TObject<{
3343
+ email: alepha23.TString;
3344
3344
  }>;
3345
- response: alepha1.TObject<{
3346
- intentId: alepha1.TString;
3347
- expiresAt: alepha1.TString;
3345
+ response: alepha23.TObject<{
3346
+ intentId: alepha23.TString;
3347
+ expiresAt: alepha23.TString;
3348
3348
  }>;
3349
3349
  }>;
3350
3350
  /**
@@ -3352,61 +3352,61 @@ declare class UserController {
3352
3352
  * Validates verification code, updates password, and invalidates sessions.
3353
3353
  */
3354
3354
  readonly completePasswordReset: alepha_server0.ActionDescriptorFn<{
3355
- body: alepha1.TObject<{
3356
- intentId: alepha1.TString;
3357
- code: alepha1.TString;
3358
- newPassword: alepha1.TString;
3355
+ body: alepha23.TObject<{
3356
+ intentId: alepha23.TString;
3357
+ code: alepha23.TString;
3358
+ newPassword: alepha23.TString;
3359
3359
  }>;
3360
- response: alepha1.TObject<{
3361
- ok: alepha1.TBoolean;
3362
- id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
3363
- count: alepha1.TOptional<alepha1.TNumber>;
3360
+ response: alepha23.TObject<{
3361
+ ok: alepha23.TBoolean;
3362
+ id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
3363
+ count: alepha23.TOptional<alepha23.TNumber>;
3364
3364
  }>;
3365
3365
  }>;
3366
3366
  /**
3367
3367
  * @deprecated Use createPasswordResetIntent instead
3368
3368
  */
3369
3369
  requestPasswordReset: alepha_server0.ActionDescriptorFn<{
3370
- query: alepha1.TObject<{
3371
- userRealmName: alepha1.TOptional<alepha1.TString>;
3370
+ query: alepha23.TObject<{
3371
+ userRealmName: alepha23.TOptional<alepha23.TString>;
3372
3372
  }>;
3373
- body: alepha1.TObject<{
3374
- email: alepha1.TString;
3373
+ body: alepha23.TObject<{
3374
+ email: alepha23.TString;
3375
3375
  }>;
3376
- response: alepha1.TObject<{
3377
- success: alepha1.TBoolean;
3378
- message: alepha1.TString;
3376
+ response: alepha23.TObject<{
3377
+ success: alepha23.TBoolean;
3378
+ message: alepha23.TString;
3379
3379
  }>;
3380
3380
  }>;
3381
3381
  /**
3382
3382
  * @deprecated Use completePasswordReset instead
3383
3383
  */
3384
3384
  validateResetToken: alepha_server0.ActionDescriptorFn<{
3385
- query: alepha1.TObject<{
3386
- email: alepha1.TString;
3387
- token: alepha1.TString;
3388
- userRealmName: alepha1.TOptional<alepha1.TString>;
3385
+ query: alepha23.TObject<{
3386
+ email: alepha23.TString;
3387
+ token: alepha23.TString;
3388
+ userRealmName: alepha23.TOptional<alepha23.TString>;
3389
3389
  }>;
3390
- response: alepha1.TObject<{
3391
- valid: alepha1.TBoolean;
3392
- email: alepha1.TOptional<alepha1.TString>;
3390
+ response: alepha23.TObject<{
3391
+ valid: alepha23.TBoolean;
3392
+ email: alepha23.TOptional<alepha23.TString>;
3393
3393
  }>;
3394
3394
  }>;
3395
3395
  /**
3396
3396
  * @deprecated Use completePasswordReset instead
3397
3397
  */
3398
3398
  resetPassword: alepha_server0.ActionDescriptorFn<{
3399
- query: alepha1.TObject<{
3400
- userRealmName: alepha1.TOptional<alepha1.TString>;
3399
+ query: alepha23.TObject<{
3400
+ userRealmName: alepha23.TOptional<alepha23.TString>;
3401
3401
  }>;
3402
- body: alepha1.TObject<{
3403
- email: alepha1.TString;
3404
- token: alepha1.TString;
3405
- newPassword: alepha1.TString;
3402
+ body: alepha23.TObject<{
3403
+ email: alepha23.TString;
3404
+ token: alepha23.TString;
3405
+ newPassword: alepha23.TString;
3406
3406
  }>;
3407
- response: alepha1.TObject<{
3408
- success: alepha1.TBoolean;
3409
- message: alepha1.TString;
3407
+ response: alepha23.TObject<{
3408
+ success: alepha23.TBoolean;
3409
+ message: alepha23.TString;
3410
3410
  }>;
3411
3411
  }>;
3412
3412
  /**
@@ -3414,15 +3414,15 @@ declare class UserController {
3414
3414
  * Generates a verification token using verification service and sends an email to the user.
3415
3415
  */
3416
3416
  requestEmailVerification: alepha_server0.ActionDescriptorFn<{
3417
- query: alepha1.TObject<{
3418
- userRealmName: alepha1.TOptional<alepha1.TString>;
3417
+ query: alepha23.TObject<{
3418
+ userRealmName: alepha23.TOptional<alepha23.TString>;
3419
3419
  }>;
3420
- body: alepha1.TObject<{
3421
- email: alepha1.TString;
3420
+ body: alepha23.TObject<{
3421
+ email: alepha23.TString;
3422
3422
  }>;
3423
- response: alepha1.TObject<{
3424
- success: alepha1.TBoolean;
3425
- message: alepha1.TString;
3423
+ response: alepha23.TObject<{
3424
+ success: alepha23.TBoolean;
3425
+ message: alepha23.TString;
3426
3426
  }>;
3427
3427
  }>;
3428
3428
  /**
@@ -3430,28 +3430,28 @@ declare class UserController {
3430
3430
  * Updates the user's emailVerified status.
3431
3431
  */
3432
3432
  verifyEmail: alepha_server0.ActionDescriptorFn<{
3433
- query: alepha1.TObject<{
3434
- userRealmName: alepha1.TOptional<alepha1.TString>;
3433
+ query: alepha23.TObject<{
3434
+ userRealmName: alepha23.TOptional<alepha23.TString>;
3435
3435
  }>;
3436
- body: alepha1.TObject<{
3437
- email: alepha1.TString;
3438
- token: alepha1.TString;
3436
+ body: alepha23.TObject<{
3437
+ email: alepha23.TString;
3438
+ token: alepha23.TString;
3439
3439
  }>;
3440
- response: alepha1.TObject<{
3441
- success: alepha1.TBoolean;
3442
- message: alepha1.TString;
3440
+ response: alepha23.TObject<{
3441
+ success: alepha23.TBoolean;
3442
+ message: alepha23.TString;
3443
3443
  }>;
3444
3444
  }>;
3445
3445
  /**
3446
3446
  * Check if an email is verified.
3447
3447
  */
3448
3448
  checkEmailVerification: alepha_server0.ActionDescriptorFn<{
3449
- query: alepha1.TObject<{
3450
- email: alepha1.TString;
3451
- userRealmName: alepha1.TOptional<alepha1.TString>;
3449
+ query: alepha23.TObject<{
3450
+ email: alepha23.TString;
3451
+ userRealmName: alepha23.TOptional<alepha23.TString>;
3452
3452
  }>;
3453
- response: alepha1.TObject<{
3454
- verified: alepha1.TBoolean;
3453
+ response: alepha23.TObject<{
3454
+ verified: alepha23.TBoolean;
3455
3455
  }>;
3456
3456
  }>;
3457
3457
  }
@@ -3466,7 +3466,7 @@ declare class CookieParser {
3466
3466
  //#region src/server-cookies/providers/ServerCookiesProvider.d.ts
3467
3467
  declare class ServerCookiesProvider {
3468
3468
  protected readonly alepha: Alepha;
3469
- protected readonly log: alepha_logger0.Logger;
3469
+ protected readonly log: alepha_logger1.Logger;
3470
3470
  protected readonly cookieParser: CookieParser;
3471
3471
  protected readonly dateTimeProvider: DateTimeProvider;
3472
3472
  protected readonly env: {
@@ -3476,9 +3476,9 @@ declare class ServerCookiesProvider {
3476
3476
  protected readonly IV_LENGTH = 16;
3477
3477
  protected readonly AUTH_TAG_LENGTH = 16;
3478
3478
  protected readonly SIGNATURE_LENGTH = 32;
3479
- readonly onRequest: alepha1.HookDescriptor<"server:onRequest">;
3480
- readonly onAction: alepha1.HookDescriptor<"action:onRequest">;
3481
- readonly onSend: alepha1.HookDescriptor<"server:onSend">;
3479
+ readonly onRequest: alepha23.HookDescriptor<"server:onRequest">;
3480
+ readonly onAction: alepha23.HookDescriptor<"action:onRequest">;
3481
+ readonly onSend: alepha23.HookDescriptor<"server:onSend">;
3482
3482
  protected getCookiesFromContext(cookies?: Cookies): Cookies;
3483
3483
  getCookie<T extends TSchema>(name: string, options: CookieDescriptorOptions<T>, contextCookies?: Cookies): Static<T> | undefined;
3484
3484
  setCookie<T extends TSchema>(name: string, options: CookieDescriptorOptions<T>, data: Static<T>, contextCookies?: Cookies): void;
@@ -3560,61 +3560,61 @@ declare module "alepha/server" {
3560
3560
  */
3561
3561
  //#endregion
3562
3562
  //#region src/server-auth/schemas/authenticationProviderSchema.d.ts
3563
- declare const authenticationProviderSchema: alepha1.TObject<{
3564
- name: alepha1.TString;
3565
- type: alepha1.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
3563
+ declare const authenticationProviderSchema: alepha23.TObject<{
3564
+ name: alepha23.TString;
3565
+ type: alepha23.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
3566
3566
  }>;
3567
3567
  type AuthenticationProvider = Static<typeof authenticationProviderSchema>;
3568
3568
  //#endregion
3569
3569
  //#region src/server-auth/schemas/tokensSchema.d.ts
3570
- declare const tokensSchema: alepha1.TObject<{
3571
- provider: alepha1.TString;
3572
- access_token: alepha1.TString;
3573
- issued_at: alepha1.TNumber;
3574
- expires_in: alepha1.TOptional<alepha1.TNumber>;
3575
- refresh_token: alepha1.TOptional<alepha1.TString>;
3576
- refresh_token_expires_in: alepha1.TOptional<alepha1.TNumber>;
3577
- refresh_expires_in: alepha1.TOptional<alepha1.TNumber>;
3578
- id_token: alepha1.TOptional<alepha1.TString>;
3579
- scope: alepha1.TOptional<alepha1.TString>;
3570
+ declare const tokensSchema: alepha23.TObject<{
3571
+ provider: alepha23.TString;
3572
+ access_token: alepha23.TString;
3573
+ issued_at: alepha23.TNumber;
3574
+ expires_in: alepha23.TOptional<alepha23.TNumber>;
3575
+ refresh_token: alepha23.TOptional<alepha23.TString>;
3576
+ refresh_token_expires_in: alepha23.TOptional<alepha23.TNumber>;
3577
+ refresh_expires_in: alepha23.TOptional<alepha23.TNumber>;
3578
+ id_token: alepha23.TOptional<alepha23.TString>;
3579
+ scope: alepha23.TOptional<alepha23.TString>;
3580
3580
  }>;
3581
3581
  type Tokens = Static<typeof tokensSchema>;
3582
3582
  //#endregion
3583
3583
  //#region src/server-auth/providers/ServerAuthProvider.d.ts
3584
3584
  declare class ServerAuthProvider {
3585
- protected readonly log: alepha_logger0.Logger;
3585
+ protected readonly log: alepha_logger1.Logger;
3586
3586
  protected readonly alepha: Alepha;
3587
3587
  protected readonly serverCookiesProvider: ServerCookiesProvider;
3588
3588
  protected readonly dateTimeProvider: DateTimeProvider;
3589
3589
  protected readonly serverLinksProvider: ServerLinksProvider;
3590
- protected readonly authorizationCode: AbstractCookieDescriptor<alepha1.TObject<{
3591
- provider: alepha1.TString;
3592
- codeVerifier: alepha1.TOptional<alepha1.TString>;
3593
- redirectUri: alepha1.TOptional<alepha1.TString>;
3594
- state: alepha1.TOptional<alepha1.TString>;
3595
- nonce: alepha1.TOptional<alepha1.TString>;
3590
+ protected readonly authorizationCode: AbstractCookieDescriptor<alepha23.TObject<{
3591
+ provider: alepha23.TString;
3592
+ codeVerifier: alepha23.TOptional<alepha23.TString>;
3593
+ redirectUri: alepha23.TOptional<alepha23.TString>;
3594
+ state: alepha23.TOptional<alepha23.TString>;
3595
+ nonce: alepha23.TOptional<alepha23.TString>;
3596
3596
  }>>;
3597
- readonly tokens: AbstractCookieDescriptor<alepha1.TObject<{
3598
- provider: alepha1.TString;
3599
- access_token: alepha1.TString;
3600
- issued_at: alepha1.TNumber;
3601
- expires_in: alepha1.TOptional<alepha1.TNumber>;
3602
- refresh_token: alepha1.TOptional<alepha1.TString>;
3603
- refresh_token_expires_in: alepha1.TOptional<alepha1.TNumber>;
3604
- refresh_expires_in: alepha1.TOptional<alepha1.TNumber>;
3605
- id_token: alepha1.TOptional<alepha1.TString>;
3606
- scope: alepha1.TOptional<alepha1.TString>;
3597
+ readonly tokens: AbstractCookieDescriptor<alepha23.TObject<{
3598
+ provider: alepha23.TString;
3599
+ access_token: alepha23.TString;
3600
+ issued_at: alepha23.TNumber;
3601
+ expires_in: alepha23.TOptional<alepha23.TNumber>;
3602
+ refresh_token: alepha23.TOptional<alepha23.TString>;
3603
+ refresh_token_expires_in: alepha23.TOptional<alepha23.TNumber>;
3604
+ refresh_expires_in: alepha23.TOptional<alepha23.TNumber>;
3605
+ id_token: alepha23.TOptional<alepha23.TString>;
3606
+ scope: alepha23.TOptional<alepha23.TString>;
3607
3607
  }>>;
3608
3608
  get identities(): Array<AuthDescriptor>;
3609
3609
  getAuthenticationProviders(filters?: {
3610
3610
  realmName?: string;
3611
3611
  }): AuthenticationProvider[];
3612
- protected readonly configure: alepha1.HookDescriptor<"configure">;
3612
+ protected readonly configure: alepha23.HookDescriptor<"configure">;
3613
3613
  protected getAccessTokens(tokens: Tokens): string | undefined;
3614
3614
  /**
3615
3615
  * Fill request headers with access token from cookies or fallback to provider's fallback function.
3616
3616
  */
3617
- protected readonly onRequest: alepha1.HookDescriptor<"server:onRequest">;
3617
+ protected readonly onRequest: alepha23.HookDescriptor<"server:onRequest">;
3618
3618
  /**
3619
3619
  * Convert cookies to tokens.
3620
3620
  * If the tokens are expired, try to refresh them using the refresh token.
@@ -3625,26 +3625,26 @@ declare class ServerAuthProvider {
3625
3625
  * Get user information.
3626
3626
  */
3627
3627
  readonly userinfo: alepha_server0.RouteDescriptor<{
3628
- response: alepha1.TObject<{
3629
- user: alepha1.TOptional<alepha1.TObject<{
3630
- id: alepha1.TString;
3631
- name: alepha1.TOptional<alepha1.TString>;
3632
- email: alepha1.TOptional<alepha1.TString>;
3633
- username: alepha1.TOptional<alepha1.TString>;
3634
- picture: alepha1.TOptional<alepha1.TString>;
3635
- sessionId: alepha1.TOptional<alepha1.TString>;
3636
- organizations: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
3637
- roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
3628
+ response: alepha23.TObject<{
3629
+ user: alepha23.TOptional<alepha23.TObject<{
3630
+ id: alepha23.TString;
3631
+ name: alepha23.TOptional<alepha23.TString>;
3632
+ email: alepha23.TOptional<alepha23.TString>;
3633
+ username: alepha23.TOptional<alepha23.TString>;
3634
+ picture: alepha23.TOptional<alepha23.TString>;
3635
+ sessionId: alepha23.TOptional<alepha23.TString>;
3636
+ organizations: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
3637
+ roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
3638
3638
  }>>;
3639
- api: alepha1.TObject<{
3640
- prefix: alepha1.TOptional<alepha1.TString>;
3641
- links: alepha1.TArray<alepha1.TObject<{
3642
- name: alepha1.TString;
3643
- group: alepha1.TOptional<alepha1.TString>;
3644
- path: alepha1.TString;
3645
- method: alepha1.TOptional<alepha1.TString>;
3646
- requestBodyType: alepha1.TOptional<alepha1.TString>;
3647
- service: alepha1.TOptional<alepha1.TString>;
3639
+ api: alepha23.TObject<{
3640
+ prefix: alepha23.TOptional<alepha23.TString>;
3641
+ links: alepha23.TArray<alepha23.TObject<{
3642
+ name: alepha23.TString;
3643
+ group: alepha23.TOptional<alepha23.TString>;
3644
+ path: alepha23.TString;
3645
+ method: alepha23.TOptional<alepha23.TString>;
3646
+ requestBodyType: alepha23.TOptional<alepha23.TString>;
3647
+ service: alepha23.TOptional<alepha23.TString>;
3648
3648
  }>>;
3649
3649
  }>;
3650
3650
  }>;
@@ -3653,65 +3653,65 @@ declare class ServerAuthProvider {
3653
3653
  * Refresh a token for internal providers.
3654
3654
  */
3655
3655
  readonly refresh: alepha_server0.RouteDescriptor<{
3656
- query: alepha1.TObject<{
3657
- provider: alepha1.TString;
3656
+ query: alepha23.TObject<{
3657
+ provider: alepha23.TString;
3658
3658
  }>;
3659
- body: alepha1.TObject<{
3660
- refresh_token: alepha1.TString;
3661
- access_token: alepha1.TOptional<alepha1.TString>;
3659
+ body: alepha23.TObject<{
3660
+ refresh_token: alepha23.TString;
3661
+ access_token: alepha23.TOptional<alepha23.TString>;
3662
3662
  }>;
3663
- response: alepha1.TObject<{
3664
- provider: alepha1.TString;
3665
- access_token: alepha1.TString;
3666
- issued_at: alepha1.TNumber;
3667
- expires_in: alepha1.TOptional<alepha1.TNumber>;
3668
- refresh_token: alepha1.TOptional<alepha1.TString>;
3669
- refresh_token_expires_in: alepha1.TOptional<alepha1.TNumber>;
3670
- refresh_expires_in: alepha1.TOptional<alepha1.TNumber>;
3671
- id_token: alepha1.TOptional<alepha1.TString>;
3672
- scope: alepha1.TOptional<alepha1.TString>;
3663
+ response: alepha23.TObject<{
3664
+ provider: alepha23.TString;
3665
+ access_token: alepha23.TString;
3666
+ issued_at: alepha23.TNumber;
3667
+ expires_in: alepha23.TOptional<alepha23.TNumber>;
3668
+ refresh_token: alepha23.TOptional<alepha23.TString>;
3669
+ refresh_token_expires_in: alepha23.TOptional<alepha23.TNumber>;
3670
+ refresh_expires_in: alepha23.TOptional<alepha23.TNumber>;
3671
+ id_token: alepha23.TOptional<alepha23.TString>;
3672
+ scope: alepha23.TOptional<alepha23.TString>;
3673
3673
  }>;
3674
3674
  }>;
3675
3675
  /**
3676
3676
  * Login for local password-based authentication.
3677
3677
  */
3678
3678
  readonly token: alepha_server0.RouteDescriptor<{
3679
- query: alepha1.TObject<{
3680
- provider: alepha1.TString;
3679
+ query: alepha23.TObject<{
3680
+ provider: alepha23.TString;
3681
3681
  }>;
3682
- body: alepha1.TObject<{
3683
- username: alepha1.TString;
3684
- password: alepha1.TString;
3682
+ body: alepha23.TObject<{
3683
+ username: alepha23.TString;
3684
+ password: alepha23.TString;
3685
3685
  }>;
3686
- response: alepha1.TObject<{
3687
- provider: alepha1.TString;
3688
- access_token: alepha1.TString;
3689
- issued_at: alepha1.TNumber;
3690
- expires_in: alepha1.TOptional<alepha1.TNumber>;
3691
- refresh_token: alepha1.TOptional<alepha1.TString>;
3692
- refresh_token_expires_in: alepha1.TOptional<alepha1.TNumber>;
3693
- refresh_expires_in: alepha1.TOptional<alepha1.TNumber>;
3694
- id_token: alepha1.TOptional<alepha1.TString>;
3695
- scope: alepha1.TOptional<alepha1.TString>;
3696
- user: alepha1.TObject<{
3697
- id: alepha1.TString;
3698
- name: alepha1.TOptional<alepha1.TString>;
3699
- email: alepha1.TOptional<alepha1.TString>;
3700
- username: alepha1.TOptional<alepha1.TString>;
3701
- picture: alepha1.TOptional<alepha1.TString>;
3702
- sessionId: alepha1.TOptional<alepha1.TString>;
3703
- organizations: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
3704
- roles: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
3686
+ response: alepha23.TObject<{
3687
+ provider: alepha23.TString;
3688
+ access_token: alepha23.TString;
3689
+ issued_at: alepha23.TNumber;
3690
+ expires_in: alepha23.TOptional<alepha23.TNumber>;
3691
+ refresh_token: alepha23.TOptional<alepha23.TString>;
3692
+ refresh_token_expires_in: alepha23.TOptional<alepha23.TNumber>;
3693
+ refresh_expires_in: alepha23.TOptional<alepha23.TNumber>;
3694
+ id_token: alepha23.TOptional<alepha23.TString>;
3695
+ scope: alepha23.TOptional<alepha23.TString>;
3696
+ user: alepha23.TObject<{
3697
+ id: alepha23.TString;
3698
+ name: alepha23.TOptional<alepha23.TString>;
3699
+ email: alepha23.TOptional<alepha23.TString>;
3700
+ username: alepha23.TOptional<alepha23.TString>;
3701
+ picture: alepha23.TOptional<alepha23.TString>;
3702
+ sessionId: alepha23.TOptional<alepha23.TString>;
3703
+ organizations: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
3704
+ roles: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
3705
3705
  }>;
3706
- api: alepha1.TObject<{
3707
- prefix: alepha1.TOptional<alepha1.TString>;
3708
- links: alepha1.TArray<alepha1.TObject<{
3709
- name: alepha1.TString;
3710
- group: alepha1.TOptional<alepha1.TString>;
3711
- path: alepha1.TString;
3712
- method: alepha1.TOptional<alepha1.TString>;
3713
- requestBodyType: alepha1.TOptional<alepha1.TString>;
3714
- service: alepha1.TOptional<alepha1.TString>;
3706
+ api: alepha23.TObject<{
3707
+ prefix: alepha23.TOptional<alepha23.TString>;
3708
+ links: alepha23.TArray<alepha23.TObject<{
3709
+ name: alepha23.TString;
3710
+ group: alepha23.TOptional<alepha23.TString>;
3711
+ path: alepha23.TString;
3712
+ method: alepha23.TOptional<alepha23.TString>;
3713
+ requestBodyType: alepha23.TOptional<alepha23.TString>;
3714
+ service: alepha23.TOptional<alepha23.TString>;
3715
3715
  }>>;
3716
3716
  }>;
3717
3717
  }>;
@@ -3720,9 +3720,9 @@ declare class ServerAuthProvider {
3720
3720
  * Oauth2/OIDC login route.
3721
3721
  */
3722
3722
  readonly login: alepha_server0.RouteDescriptor<{
3723
- query: alepha1.TObject<{
3724
- provider: alepha1.TString;
3725
- redirect_uri: alepha1.TOptional<alepha1.TString>;
3723
+ query: alepha23.TObject<{
3724
+ provider: alepha23.TString;
3725
+ redirect_uri: alepha23.TOptional<alepha23.TString>;
3726
3726
  }>;
3727
3727
  }>;
3728
3728
  /**
@@ -3734,8 +3734,8 @@ declare class ServerAuthProvider {
3734
3734
  * Logout route for OAuth2/OIDC providers.
3735
3735
  */
3736
3736
  readonly logout: alepha_server0.RouteDescriptor<{
3737
- query: alepha1.TObject<{
3738
- post_logout_redirect_uri: alepha1.TOptional<alepha1.TString>;
3737
+ query: alepha23.TObject<{
3738
+ post_logout_redirect_uri: alepha23.TOptional<alepha23.TString>;
3739
3739
  }>;
3740
3740
  }>;
3741
3741
  protected provider(opts: string | {
@@ -4000,47 +4000,47 @@ declare class UserRealmController {
4000
4000
  * This endpoint is not exposed in the API documentation.
4001
4001
  */
4002
4002
  readonly getRealmConfig: alepha_server0.ActionDescriptorFn<{
4003
- query: alepha1.TObject<{
4004
- userRealmName: alepha1.TOptional<alepha1.TString>;
4003
+ query: alepha23.TObject<{
4004
+ userRealmName: alepha23.TOptional<alepha23.TString>;
4005
4005
  }>;
4006
- response: alepha1.TObject<{
4007
- settings: alepha1.TObject<{
4008
- registrationAllowed: alepha1.TBoolean;
4009
- emailEnabled: alepha1.TBoolean;
4010
- emailRequired: alepha1.TBoolean;
4011
- usernameEnabled: alepha1.TBoolean;
4012
- usernameRequired: alepha1.TBoolean;
4013
- phoneEnabled: alepha1.TBoolean;
4014
- phoneRequired: alepha1.TBoolean;
4015
- verifyEmailRequired: alepha1.TBoolean;
4016
- verifyPhoneRequired: alepha1.TBoolean;
4017
- firstNameLastNameEnabled: alepha1.TBoolean;
4018
- firstNameLastNameRequired: alepha1.TBoolean;
4019
- resetPasswordAllowed: alepha1.TBoolean;
4020
- passwordPolicy: alepha1.TObject<{
4021
- minLength: alepha1.TInteger;
4022
- requireUppercase: alepha1.TBoolean;
4023
- requireLowercase: alepha1.TBoolean;
4024
- requireNumbers: alepha1.TBoolean;
4025
- requireSpecialCharacters: alepha1.TBoolean;
4006
+ response: alepha23.TObject<{
4007
+ settings: alepha23.TObject<{
4008
+ registrationAllowed: alepha23.TBoolean;
4009
+ emailEnabled: alepha23.TBoolean;
4010
+ emailRequired: alepha23.TBoolean;
4011
+ usernameEnabled: alepha23.TBoolean;
4012
+ usernameRequired: alepha23.TBoolean;
4013
+ phoneEnabled: alepha23.TBoolean;
4014
+ phoneRequired: alepha23.TBoolean;
4015
+ verifyEmailRequired: alepha23.TBoolean;
4016
+ verifyPhoneRequired: alepha23.TBoolean;
4017
+ firstNameLastNameEnabled: alepha23.TBoolean;
4018
+ firstNameLastNameRequired: alepha23.TBoolean;
4019
+ resetPasswordAllowed: alepha23.TBoolean;
4020
+ passwordPolicy: alepha23.TObject<{
4021
+ minLength: alepha23.TInteger;
4022
+ requireUppercase: alepha23.TBoolean;
4023
+ requireLowercase: alepha23.TBoolean;
4024
+ requireNumbers: alepha23.TBoolean;
4025
+ requireSpecialCharacters: alepha23.TBoolean;
4026
4026
  }>;
4027
4027
  }>;
4028
- realmName: alepha1.TString;
4029
- authenticationMethods: alepha1.TArray<alepha1.TObject<{
4030
- name: alepha1.TString;
4031
- type: alepha1.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
4028
+ realmName: alepha23.TString;
4029
+ authenticationMethods: alepha23.TArray<alepha23.TObject<{
4030
+ name: alepha23.TString;
4031
+ type: alepha23.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
4032
4032
  }>>;
4033
4033
  }>;
4034
4034
  }>;
4035
4035
  readonly checkUsernameAvailability: alepha_server0.ActionDescriptorFn<{
4036
- query: alepha1.TObject<{
4037
- userRealmName: alepha1.TOptional<alepha1.TString>;
4036
+ query: alepha23.TObject<{
4037
+ userRealmName: alepha23.TOptional<alepha23.TString>;
4038
4038
  }>;
4039
- body: alepha1.TObject<{
4040
- username: alepha1.TString;
4039
+ body: alepha23.TObject<{
4040
+ username: alepha23.TString;
4041
4041
  }>;
4042
- response: alepha1.TObject<{
4043
- available: alepha1.TBoolean;
4042
+ response: alepha23.TObject<{
4043
+ available: alepha23.TBoolean;
4044
4044
  }>;
4045
4045
  }>;
4046
4046
  }
@@ -4091,183 +4091,183 @@ interface UserRealmOptions {
4091
4091
  }
4092
4092
  //#endregion
4093
4093
  //#region src/api-users/schemas/identityResourceSchema.d.ts
4094
- declare const identityResourceSchema: alepha1.TObject<{
4095
- userId: PgAttr<alepha1.TString, typeof PG_REF>;
4096
- provider: alepha1.TString;
4097
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4098
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4099
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4100
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4101
- providerUserId: alepha1.TOptional<alepha1.TString>;
4102
- providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
4094
+ declare const identityResourceSchema: alepha23.TObject<{
4095
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4096
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4097
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4098
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4099
+ userId: PgAttr<alepha23.TString, typeof PG_REF>;
4100
+ provider: alepha23.TString;
4101
+ providerUserId: alepha23.TOptional<alepha23.TString>;
4102
+ providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
4103
4103
  }>;
4104
4104
  type IdentityResource = Static<typeof identityResourceSchema>;
4105
4105
  //#endregion
4106
4106
  //#region src/api-users/schemas/loginSchema.d.ts
4107
- declare const loginSchema: alepha1.TObject<{
4108
- username: alepha1.TString;
4109
- password: alepha1.TString;
4107
+ declare const loginSchema: alepha23.TObject<{
4108
+ username: alepha23.TString;
4109
+ password: alepha23.TString;
4110
4110
  }>;
4111
4111
  type LoginInput = Static<typeof loginSchema>;
4112
4112
  //#endregion
4113
4113
  //#region src/api-users/schemas/registerSchema.d.ts
4114
- declare const registerSchema: alepha1.TObject<{
4115
- username: alepha1.TString;
4116
- email: alepha1.TString;
4117
- password: alepha1.TString;
4118
- confirmPassword: alepha1.TString;
4119
- firstName: alepha1.TOptional<alepha1.TString>;
4120
- lastName: alepha1.TOptional<alepha1.TString>;
4114
+ declare const registerSchema: alepha23.TObject<{
4115
+ username: alepha23.TString;
4116
+ email: alepha23.TString;
4117
+ password: alepha23.TString;
4118
+ confirmPassword: alepha23.TString;
4119
+ firstName: alepha23.TOptional<alepha23.TString>;
4120
+ lastName: alepha23.TOptional<alepha23.TString>;
4121
4121
  }>;
4122
4122
  type RegisterInput = Static<typeof registerSchema>;
4123
4123
  //#endregion
4124
4124
  //#region src/api-users/schemas/resetPasswordSchema.d.ts
4125
- declare const resetPasswordRequestSchema: alepha1.TObject<{
4126
- email: alepha1.TString;
4125
+ declare const resetPasswordRequestSchema: alepha23.TObject<{
4126
+ email: alepha23.TString;
4127
4127
  }>;
4128
- declare const resetPasswordSchema: alepha1.TObject<{
4129
- token: alepha1.TString;
4130
- password: alepha1.TString;
4131
- confirmPassword: alepha1.TString;
4128
+ declare const resetPasswordSchema: alepha23.TObject<{
4129
+ token: alepha23.TString;
4130
+ password: alepha23.TString;
4131
+ confirmPassword: alepha23.TString;
4132
4132
  }>;
4133
4133
  type ResetPasswordRequest = Static<typeof resetPasswordRequestSchema>;
4134
4134
  type ResetPasswordInput = Static<typeof resetPasswordSchema>;
4135
4135
  //#endregion
4136
4136
  //#region src/api-users/schemas/sessionResourceSchema.d.ts
4137
- declare const sessionResourceSchema: alepha1.TObject<{
4138
- id: alepha1.TString;
4139
- version: alepha1.TNumber;
4140
- createdAt: alepha1.TString;
4141
- updatedAt: alepha1.TString;
4142
- refreshToken: alepha1.TString;
4143
- userId: alepha1.TString;
4144
- expiresAt: alepha1.TString;
4145
- ip: alepha1.TOptional<alepha1.TString>;
4146
- userAgent: alepha1.TOptional<alepha1.TObject<{
4147
- os: alepha1.TString;
4148
- browser: alepha1.TString;
4149
- device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
4137
+ declare const sessionResourceSchema: alepha23.TObject<{
4138
+ id: alepha23.TString;
4139
+ version: alepha23.TNumber;
4140
+ createdAt: alepha23.TString;
4141
+ updatedAt: alepha23.TString;
4142
+ refreshToken: alepha23.TString;
4143
+ userId: alepha23.TString;
4144
+ expiresAt: alepha23.TString;
4145
+ ip: alepha23.TOptional<alepha23.TString>;
4146
+ userAgent: alepha23.TOptional<alepha23.TObject<{
4147
+ os: alepha23.TString;
4148
+ browser: alepha23.TString;
4149
+ device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
4150
4150
  }>>;
4151
4151
  }>;
4152
4152
  type SessionResource = Static<typeof sessionResourceSchema>;
4153
4153
  //#endregion
4154
4154
  //#region src/api-users/schemas/userRealmConfigSchema.d.ts
4155
- declare const userRealmConfigSchema: alepha1.TObject<{
4156
- settings: alepha1.TObject<{
4157
- registrationAllowed: alepha1.TBoolean;
4158
- emailEnabled: alepha1.TBoolean;
4159
- emailRequired: alepha1.TBoolean;
4160
- usernameEnabled: alepha1.TBoolean;
4161
- usernameRequired: alepha1.TBoolean;
4162
- phoneEnabled: alepha1.TBoolean;
4163
- phoneRequired: alepha1.TBoolean;
4164
- verifyEmailRequired: alepha1.TBoolean;
4165
- verifyPhoneRequired: alepha1.TBoolean;
4166
- firstNameLastNameEnabled: alepha1.TBoolean;
4167
- firstNameLastNameRequired: alepha1.TBoolean;
4168
- resetPasswordAllowed: alepha1.TBoolean;
4169
- passwordPolicy: alepha1.TObject<{
4170
- minLength: alepha1.TInteger;
4171
- requireUppercase: alepha1.TBoolean;
4172
- requireLowercase: alepha1.TBoolean;
4173
- requireNumbers: alepha1.TBoolean;
4174
- requireSpecialCharacters: alepha1.TBoolean;
4155
+ declare const userRealmConfigSchema: alepha23.TObject<{
4156
+ settings: alepha23.TObject<{
4157
+ registrationAllowed: alepha23.TBoolean;
4158
+ emailEnabled: alepha23.TBoolean;
4159
+ emailRequired: alepha23.TBoolean;
4160
+ usernameEnabled: alepha23.TBoolean;
4161
+ usernameRequired: alepha23.TBoolean;
4162
+ phoneEnabled: alepha23.TBoolean;
4163
+ phoneRequired: alepha23.TBoolean;
4164
+ verifyEmailRequired: alepha23.TBoolean;
4165
+ verifyPhoneRequired: alepha23.TBoolean;
4166
+ firstNameLastNameEnabled: alepha23.TBoolean;
4167
+ firstNameLastNameRequired: alepha23.TBoolean;
4168
+ resetPasswordAllowed: alepha23.TBoolean;
4169
+ passwordPolicy: alepha23.TObject<{
4170
+ minLength: alepha23.TInteger;
4171
+ requireUppercase: alepha23.TBoolean;
4172
+ requireLowercase: alepha23.TBoolean;
4173
+ requireNumbers: alepha23.TBoolean;
4174
+ requireSpecialCharacters: alepha23.TBoolean;
4175
4175
  }>;
4176
4176
  }>;
4177
- realmName: alepha1.TString;
4178
- authenticationMethods: alepha1.TArray<alepha1.TObject<{
4179
- name: alepha1.TString;
4180
- type: alepha1.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
4177
+ realmName: alepha23.TString;
4178
+ authenticationMethods: alepha23.TArray<alepha23.TObject<{
4179
+ name: alepha23.TString;
4180
+ type: alepha23.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
4181
4181
  }>>;
4182
4182
  }>;
4183
4183
  type UserRealmConfig = Static<typeof userRealmConfigSchema>;
4184
4184
  //#endregion
4185
4185
  //#region src/api-users/schemas/userResourceSchema.d.ts
4186
- declare const userResourceSchema: alepha1.TObject<{
4187
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4188
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4189
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4190
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4191
- realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
4192
- username: alepha1.TOptional<alepha1.TString>;
4193
- email: alepha1.TOptional<alepha1.TString>;
4194
- phoneNumber: alepha1.TOptional<alepha1.TString>;
4195
- roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
4196
- firstName: alepha1.TOptional<alepha1.TString>;
4197
- lastName: alepha1.TOptional<alepha1.TString>;
4198
- picture: alepha1.TOptional<alepha1.TString>;
4199
- enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
4200
- emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
4186
+ declare const userResourceSchema: alepha23.TObject<{
4187
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4188
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4189
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4190
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4191
+ realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
4192
+ username: alepha23.TOptional<alepha23.TString>;
4193
+ email: alepha23.TOptional<alepha23.TString>;
4194
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
4195
+ roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
4196
+ firstName: alepha23.TOptional<alepha23.TString>;
4197
+ lastName: alepha23.TOptional<alepha23.TString>;
4198
+ picture: alepha23.TOptional<alepha23.TString>;
4199
+ enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
4200
+ emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
4201
4201
  }>;
4202
4202
  type UserResource = Static<typeof userResourceSchema>;
4203
4203
  //#endregion
4204
4204
  //#region src/api-files/entities/files.d.ts
4205
- declare const files: alepha_orm179.EntityDescriptor<alepha1.TObject<{
4206
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
4207
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
4208
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
4209
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
4210
- blobId: alepha1.TString;
4211
- creator: alepha1.TOptional<alepha1.TString>;
4212
- creatorRealm: alepha1.TOptional<alepha1.TString>;
4213
- creatorName: alepha1.TOptional<alepha1.TString>;
4214
- bucket: alepha1.TString;
4215
- expirationDate: alepha1.TOptional<alepha1.TString>;
4216
- name: alepha1.TString;
4217
- size: alepha1.TNumber;
4218
- mimeType: alepha1.TString;
4219
- tags: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
4220
- checksum: alepha1.TOptional<alepha1.TString>;
4205
+ declare const files: alepha_orm204.EntityDescriptor<alepha23.TObject<{
4206
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
4207
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
4208
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
4209
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
4210
+ blobId: alepha23.TString;
4211
+ creator: alepha23.TOptional<alepha23.TString>;
4212
+ creatorRealm: alepha23.TOptional<alepha23.TString>;
4213
+ creatorName: alepha23.TOptional<alepha23.TString>;
4214
+ bucket: alepha23.TString;
4215
+ expirationDate: alepha23.TOptional<alepha23.TString>;
4216
+ name: alepha23.TString;
4217
+ size: alepha23.TNumber;
4218
+ mimeType: alepha23.TString;
4219
+ tags: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
4220
+ checksum: alepha23.TOptional<alepha23.TString>;
4221
4221
  }>>;
4222
4222
  type FileEntity = Static<typeof files.schema>;
4223
4223
  //#endregion
4224
4224
  //#region src/api-files/schemas/fileQuerySchema.d.ts
4225
- declare const fileQuerySchema: alepha1.TObject<{
4226
- page: alepha1.TOptional<alepha1.TInteger>;
4227
- size: alepha1.TOptional<alepha1.TInteger>;
4228
- sort: alepha1.TOptional<alepha1.TString>;
4229
- bucket: alepha1.TOptional<alepha1.TString>;
4230
- tags: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
4231
- name: alepha1.TOptional<alepha1.TString>;
4232
- mimeType: alepha1.TOptional<alepha1.TString>;
4233
- creator: alepha1.TOptional<alepha1.TString>;
4234
- createdAfter: alepha1.TOptional<alepha1.TString>;
4235
- createdBefore: alepha1.TOptional<alepha1.TString>;
4225
+ declare const fileQuerySchema: alepha23.TObject<{
4226
+ page: alepha23.TOptional<alepha23.TInteger>;
4227
+ size: alepha23.TOptional<alepha23.TInteger>;
4228
+ sort: alepha23.TOptional<alepha23.TString>;
4229
+ bucket: alepha23.TOptional<alepha23.TString>;
4230
+ tags: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
4231
+ name: alepha23.TOptional<alepha23.TString>;
4232
+ mimeType: alepha23.TOptional<alepha23.TString>;
4233
+ creator: alepha23.TOptional<alepha23.TString>;
4234
+ createdAfter: alepha23.TOptional<alepha23.TString>;
4235
+ createdBefore: alepha23.TOptional<alepha23.TString>;
4236
4236
  }>;
4237
4237
  type FileQuery = Static<typeof fileQuerySchema>;
4238
4238
  //#endregion
4239
4239
  //#region src/api-files/schemas/fileResourceSchema.d.ts
4240
- declare const fileResourceSchema: alepha1.TObject<{
4241
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4242
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4243
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4244
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4245
- blobId: alepha1.TString;
4246
- creator: alepha1.TOptional<alepha1.TString>;
4247
- creatorRealm: alepha1.TOptional<alepha1.TString>;
4248
- creatorName: alepha1.TOptional<alepha1.TString>;
4249
- bucket: alepha1.TString;
4250
- expirationDate: alepha1.TOptional<alepha1.TString>;
4251
- name: alepha1.TString;
4252
- size: alepha1.TNumber;
4253
- mimeType: alepha1.TString;
4254
- tags: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
4255
- checksum: alepha1.TOptional<alepha1.TString>;
4240
+ declare const fileResourceSchema: alepha23.TObject<{
4241
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4242
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4243
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4244
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4245
+ blobId: alepha23.TString;
4246
+ creator: alepha23.TOptional<alepha23.TString>;
4247
+ creatorRealm: alepha23.TOptional<alepha23.TString>;
4248
+ creatorName: alepha23.TOptional<alepha23.TString>;
4249
+ bucket: alepha23.TString;
4250
+ expirationDate: alepha23.TOptional<alepha23.TString>;
4251
+ name: alepha23.TString;
4252
+ size: alepha23.TNumber;
4253
+ mimeType: alepha23.TString;
4254
+ tags: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
4255
+ checksum: alepha23.TOptional<alepha23.TString>;
4256
4256
  }>;
4257
4257
  type FileResource = Static<typeof fileResourceSchema>;
4258
4258
  //#endregion
4259
4259
  //#region src/api-files/schemas/storageStatsSchema.d.ts
4260
- declare const storageStatsSchema: alepha1.TObject<{
4261
- totalSize: alepha1.TNumber;
4262
- totalFiles: alepha1.TNumber;
4263
- byBucket: alepha1.TArray<alepha1.TObject<{
4264
- bucket: alepha1.TString;
4265
- totalSize: alepha1.TNumber;
4266
- fileCount: alepha1.TNumber;
4260
+ declare const storageStatsSchema: alepha23.TObject<{
4261
+ totalSize: alepha23.TNumber;
4262
+ totalFiles: alepha23.TNumber;
4263
+ byBucket: alepha23.TArray<alepha23.TObject<{
4264
+ bucket: alepha23.TString;
4265
+ totalSize: alepha23.TNumber;
4266
+ fileCount: alepha23.TNumber;
4267
4267
  }>>;
4268
- byMimeType: alepha1.TArray<alepha1.TObject<{
4269
- mimeType: alepha1.TString;
4270
- fileCount: alepha1.TNumber;
4268
+ byMimeType: alepha23.TArray<alepha23.TObject<{
4269
+ mimeType: alepha23.TString;
4270
+ fileCount: alepha23.TNumber;
4271
4271
  }>>;
4272
4272
  }>;
4273
4273
  type StorageStats = Static<typeof storageStatsSchema>;
@@ -4275,28 +4275,28 @@ type StorageStats = Static<typeof storageStatsSchema>;
4275
4275
  //#region src/api-files/services/FileService.d.ts
4276
4276
  declare class FileService {
4277
4277
  protected readonly alepha: Alepha;
4278
- protected readonly log: alepha_logger0.Logger;
4279
- protected readonly fileRepository: alepha_orm179.Repository<alepha1.TObject<{
4280
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
4281
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
4282
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
4283
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
4284
- blobId: alepha1.TString;
4285
- creator: alepha1.TOptional<alepha1.TString>;
4286
- creatorRealm: alepha1.TOptional<alepha1.TString>;
4287
- creatorName: alepha1.TOptional<alepha1.TString>;
4288
- bucket: alepha1.TString;
4289
- expirationDate: alepha1.TOptional<alepha1.TString>;
4290
- name: alepha1.TString;
4291
- size: alepha1.TNumber;
4292
- mimeType: alepha1.TString;
4293
- tags: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
4294
- checksum: alepha1.TOptional<alepha1.TString>;
4278
+ protected readonly log: alepha_logger1.Logger;
4279
+ protected readonly fileRepository: alepha_orm204.Repository<alepha23.TObject<{
4280
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
4281
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
4282
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
4283
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
4284
+ blobId: alepha23.TString;
4285
+ creator: alepha23.TOptional<alepha23.TString>;
4286
+ creatorRealm: alepha23.TOptional<alepha23.TString>;
4287
+ creatorName: alepha23.TOptional<alepha23.TString>;
4288
+ bucket: alepha23.TString;
4289
+ expirationDate: alepha23.TOptional<alepha23.TString>;
4290
+ name: alepha23.TString;
4291
+ size: alepha23.TNumber;
4292
+ mimeType: alepha23.TString;
4293
+ tags: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
4294
+ checksum: alepha23.TOptional<alepha23.TString>;
4295
4295
  }>>;
4296
4296
  protected readonly dateTimeProvider: DateTimeProvider;
4297
4297
  protected readonly defaultBucket: BucketDescriptor;
4298
- protected onUploadFile: alepha1.HookDescriptor<"bucket:file:uploaded">;
4299
- protected onDeleteBucketFile: alepha1.HookDescriptor<"bucket:file:deleted">;
4298
+ protected onUploadFile: alepha23.HookDescriptor<"bucket:file:uploaded">;
4299
+ protected onDeleteBucketFile: alepha23.HookDescriptor<"bucket:file:deleted">;
4300
4300
  /**
4301
4301
  * Calculates SHA-256 checksum of a file.
4302
4302
  *
@@ -4430,34 +4430,34 @@ declare class FileController {
4430
4430
  * Supports filtering by bucket and tags.
4431
4431
  */
4432
4432
  readonly findFiles: alepha_server0.ActionDescriptorFn<{
4433
- query: alepha1.TObject<{
4434
- page: alepha1.TOptional<alepha1.TInteger>;
4435
- size: alepha1.TOptional<alepha1.TInteger>;
4436
- sort: alepha1.TOptional<alepha1.TString>;
4437
- bucket: alepha1.TOptional<alepha1.TString>;
4438
- tags: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
4439
- name: alepha1.TOptional<alepha1.TString>;
4440
- mimeType: alepha1.TOptional<alepha1.TString>;
4441
- creator: alepha1.TOptional<alepha1.TString>;
4442
- createdAfter: alepha1.TOptional<alepha1.TString>;
4443
- createdBefore: alepha1.TOptional<alepha1.TString>;
4433
+ query: alepha23.TObject<{
4434
+ page: alepha23.TOptional<alepha23.TInteger>;
4435
+ size: alepha23.TOptional<alepha23.TInteger>;
4436
+ sort: alepha23.TOptional<alepha23.TString>;
4437
+ bucket: alepha23.TOptional<alepha23.TString>;
4438
+ tags: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
4439
+ name: alepha23.TOptional<alepha23.TString>;
4440
+ mimeType: alepha23.TOptional<alepha23.TString>;
4441
+ creator: alepha23.TOptional<alepha23.TString>;
4442
+ createdAfter: alepha23.TOptional<alepha23.TString>;
4443
+ createdBefore: alepha23.TOptional<alepha23.TString>;
4444
4444
  }>;
4445
- response: alepha1.TPage<alepha1.TObject<{
4446
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
4447
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
4448
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
4449
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
4450
- blobId: alepha1.TString;
4451
- creator: alepha1.TOptional<alepha1.TString>;
4452
- creatorRealm: alepha1.TOptional<alepha1.TString>;
4453
- creatorName: alepha1.TOptional<alepha1.TString>;
4454
- bucket: alepha1.TString;
4455
- expirationDate: alepha1.TOptional<alepha1.TString>;
4456
- name: alepha1.TString;
4457
- size: alepha1.TNumber;
4458
- mimeType: alepha1.TString;
4459
- tags: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
4460
- checksum: alepha1.TOptional<alepha1.TString>;
4445
+ response: alepha23.TPage<alepha23.TObject<{
4446
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
4447
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
4448
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
4449
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
4450
+ blobId: alepha23.TString;
4451
+ creator: alepha23.TOptional<alepha23.TString>;
4452
+ creatorRealm: alepha23.TOptional<alepha23.TString>;
4453
+ creatorName: alepha23.TOptional<alepha23.TString>;
4454
+ bucket: alepha23.TString;
4455
+ expirationDate: alepha23.TOptional<alepha23.TString>;
4456
+ name: alepha23.TString;
4457
+ size: alepha23.TNumber;
4458
+ mimeType: alepha23.TString;
4459
+ tags: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
4460
+ checksum: alepha23.TOptional<alepha23.TString>;
4461
4461
  }>>;
4462
4462
  }>;
4463
4463
  /**
@@ -4465,13 +4465,13 @@ declare class FileController {
4465
4465
  * Removes the file from the bucket and cleans up the database record.
4466
4466
  */
4467
4467
  readonly deleteFile: alepha_server0.ActionDescriptorFn<{
4468
- params: alepha1.TObject<{
4469
- id: alepha1.TString;
4468
+ params: alepha23.TObject<{
4469
+ id: alepha23.TString;
4470
4470
  }>;
4471
- response: alepha1.TObject<{
4472
- ok: alepha1.TBoolean;
4473
- id: alepha1.TOptional<alepha1.TUnion<[alepha1.TString, alepha1.TInteger]>>;
4474
- count: alepha1.TOptional<alepha1.TNumber>;
4471
+ response: alepha23.TObject<{
4472
+ ok: alepha23.TBoolean;
4473
+ id: alepha23.TOptional<alepha23.TUnion<[alepha23.TString, alepha23.TInteger]>>;
4474
+ count: alepha23.TOptional<alepha23.TNumber>;
4475
4475
  }>;
4476
4476
  }>;
4477
4477
  /**
@@ -4480,29 +4480,29 @@ declare class FileController {
4480
4480
  * Optionally specify bucket and expiration date.
4481
4481
  */
4482
4482
  readonly uploadFile: alepha_server0.ActionDescriptorFn<{
4483
- body: alepha1.TObject<{
4484
- file: alepha1.TFile;
4483
+ body: alepha23.TObject<{
4484
+ file: alepha23.TFile;
4485
4485
  }>;
4486
- query: alepha1.TObject<{
4487
- expirationDate: alepha1.TOptional<alepha1.TString>;
4488
- bucket: alepha1.TOptional<alepha1.TString>;
4486
+ query: alepha23.TObject<{
4487
+ expirationDate: alepha23.TOptional<alepha23.TString>;
4488
+ bucket: alepha23.TOptional<alepha23.TString>;
4489
4489
  }>;
4490
- response: alepha1.TObject<{
4491
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
4492
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
4493
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
4494
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
4495
- blobId: alepha1.TString;
4496
- creator: alepha1.TOptional<alepha1.TString>;
4497
- creatorRealm: alepha1.TOptional<alepha1.TString>;
4498
- creatorName: alepha1.TOptional<alepha1.TString>;
4499
- bucket: alepha1.TString;
4500
- expirationDate: alepha1.TOptional<alepha1.TString>;
4501
- name: alepha1.TString;
4502
- size: alepha1.TNumber;
4503
- mimeType: alepha1.TString;
4504
- tags: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
4505
- checksum: alepha1.TOptional<alepha1.TString>;
4490
+ response: alepha23.TObject<{
4491
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
4492
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
4493
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
4494
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
4495
+ blobId: alepha23.TString;
4496
+ creator: alepha23.TOptional<alepha23.TString>;
4497
+ creatorRealm: alepha23.TOptional<alepha23.TString>;
4498
+ creatorName: alepha23.TOptional<alepha23.TString>;
4499
+ bucket: alepha23.TString;
4500
+ expirationDate: alepha23.TOptional<alepha23.TString>;
4501
+ name: alepha23.TString;
4502
+ size: alepha23.TNumber;
4503
+ mimeType: alepha23.TString;
4504
+ tags: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
4505
+ checksum: alepha23.TOptional<alepha23.TString>;
4506
4506
  }>;
4507
4507
  }>;
4508
4508
  /**
@@ -4510,30 +4510,30 @@ declare class FileController {
4510
4510
  * Allows updating name, tags, and expiration date without modifying file content.
4511
4511
  */
4512
4512
  readonly updateFile: alepha_server0.ActionDescriptorFn<{
4513
- params: alepha1.TObject<{
4514
- id: alepha1.TString;
4513
+ params: alepha23.TObject<{
4514
+ id: alepha23.TString;
4515
4515
  }>;
4516
- body: alepha1.TObject<{
4517
- name: alepha1.TOptional<alepha1.TString>;
4518
- tags: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
4519
- expirationDate: alepha1.TOptional<alepha1.TString>;
4516
+ body: alepha23.TObject<{
4517
+ name: alepha23.TOptional<alepha23.TString>;
4518
+ tags: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
4519
+ expirationDate: alepha23.TOptional<alepha23.TString>;
4520
4520
  }>;
4521
- response: alepha1.TObject<{
4522
- id: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_PRIMARY_KEY>, typeof alepha_orm179.PG_DEFAULT>;
4523
- version: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TInteger, typeof alepha_orm179.PG_VERSION>, typeof alepha_orm179.PG_DEFAULT>;
4524
- createdAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_CREATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
4525
- updatedAt: alepha_orm179.PgAttr<alepha_orm179.PgAttr<alepha1.TString, typeof alepha_orm179.PG_UPDATED_AT>, typeof alepha_orm179.PG_DEFAULT>;
4526
- blobId: alepha1.TString;
4527
- creator: alepha1.TOptional<alepha1.TString>;
4528
- creatorRealm: alepha1.TOptional<alepha1.TString>;
4529
- creatorName: alepha1.TOptional<alepha1.TString>;
4530
- bucket: alepha1.TString;
4531
- expirationDate: alepha1.TOptional<alepha1.TString>;
4532
- name: alepha1.TString;
4533
- size: alepha1.TNumber;
4534
- mimeType: alepha1.TString;
4535
- tags: alepha1.TOptional<alepha1.TArray<alepha1.TString>>;
4536
- checksum: alepha1.TOptional<alepha1.TString>;
4521
+ response: alepha23.TObject<{
4522
+ id: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_PRIMARY_KEY>, typeof alepha_orm204.PG_DEFAULT>;
4523
+ version: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TInteger, typeof alepha_orm204.PG_VERSION>, typeof alepha_orm204.PG_DEFAULT>;
4524
+ createdAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_CREATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
4525
+ updatedAt: alepha_orm204.PgAttr<alepha_orm204.PgAttr<alepha23.TString, typeof alepha_orm204.PG_UPDATED_AT>, typeof alepha_orm204.PG_DEFAULT>;
4526
+ blobId: alepha23.TString;
4527
+ creator: alepha23.TOptional<alepha23.TString>;
4528
+ creatorRealm: alepha23.TOptional<alepha23.TString>;
4529
+ creatorName: alepha23.TOptional<alepha23.TString>;
4530
+ bucket: alepha23.TString;
4531
+ expirationDate: alepha23.TOptional<alepha23.TString>;
4532
+ name: alepha23.TString;
4533
+ size: alepha23.TNumber;
4534
+ mimeType: alepha23.TString;
4535
+ tags: alepha23.TOptional<alepha23.TArray<alepha23.TString>>;
4536
+ checksum: alepha23.TOptional<alepha23.TString>;
4537
4537
  }>;
4538
4538
  }>;
4539
4539
  /**
@@ -4542,10 +4542,10 @@ declare class FileController {
4542
4542
  * Cached with ETag support for 1 year (immutable).
4543
4543
  */
4544
4544
  readonly streamFile: alepha_server0.ActionDescriptorFn<{
4545
- params: alepha1.TObject<{
4546
- id: alepha1.TString;
4545
+ params: alepha23.TObject<{
4546
+ id: alepha23.TString;
4547
4547
  }>;
4548
- response: alepha1.TFile;
4548
+ response: alepha23.TFile;
4549
4549
  }>;
4550
4550
  }
4551
4551
  //#endregion
@@ -4587,50 +4587,50 @@ declare class SessionService {
4587
4587
  protected readonly fsp: FileSystemProvider;
4588
4588
  protected readonly dateTimeProvider: DateTimeProvider;
4589
4589
  protected readonly cryptoProvider: CryptoProvider;
4590
- protected readonly log: alepha_logger0.Logger;
4590
+ protected readonly log: alepha_logger1.Logger;
4591
4591
  protected readonly userRealmProvider: UserRealmProvider;
4592
4592
  protected readonly fileController: HttpVirtualClient<FileController>;
4593
- users(userRealmName?: string): Repository$1<alepha1.TObject<{
4594
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4595
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4596
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4597
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4598
- realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
4599
- username: alepha1.TOptional<alepha1.TString>;
4600
- email: alepha1.TOptional<alepha1.TString>;
4601
- phoneNumber: alepha1.TOptional<alepha1.TString>;
4602
- roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
4603
- firstName: alepha1.TOptional<alepha1.TString>;
4604
- lastName: alepha1.TOptional<alepha1.TString>;
4605
- picture: alepha1.TOptional<alepha1.TString>;
4606
- enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
4607
- emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
4593
+ users(userRealmName?: string): Repository$1<alepha23.TObject<{
4594
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4595
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4596
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4597
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4598
+ realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
4599
+ username: alepha23.TOptional<alepha23.TString>;
4600
+ email: alepha23.TOptional<alepha23.TString>;
4601
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
4602
+ roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
4603
+ firstName: alepha23.TOptional<alepha23.TString>;
4604
+ lastName: alepha23.TOptional<alepha23.TString>;
4605
+ picture: alepha23.TOptional<alepha23.TString>;
4606
+ enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
4607
+ emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
4608
4608
  }>>;
4609
- sessions(userRealmName?: string): Repository$1<alepha1.TObject<{
4610
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4611
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4612
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4613
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4614
- refreshToken: alepha1.TString;
4615
- userId: PgAttr<alepha1.TString, typeof PG_REF>;
4616
- expiresAt: alepha1.TString;
4617
- ip: alepha1.TOptional<alepha1.TString>;
4618
- userAgent: alepha1.TOptional<alepha1.TObject<{
4619
- os: alepha1.TString;
4620
- browser: alepha1.TString;
4621
- device: alepha1.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
4609
+ sessions(userRealmName?: string): Repository$1<alepha23.TObject<{
4610
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4611
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4612
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4613
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4614
+ refreshToken: alepha23.TString;
4615
+ userId: PgAttr<alepha23.TString, typeof PG_REF>;
4616
+ expiresAt: alepha23.TString;
4617
+ ip: alepha23.TOptional<alepha23.TString>;
4618
+ userAgent: alepha23.TOptional<alepha23.TObject<{
4619
+ os: alepha23.TString;
4620
+ browser: alepha23.TString;
4621
+ device: alepha23.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
4622
4622
  }>>;
4623
4623
  }>>;
4624
- identities(userRealmName?: string): Repository$1<alepha1.TObject<{
4625
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4626
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4627
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4628
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4629
- userId: PgAttr<alepha1.TString, typeof PG_REF>;
4630
- password: alepha1.TOptional<alepha1.TString>;
4631
- provider: alepha1.TString;
4632
- providerUserId: alepha1.TOptional<alepha1.TString>;
4633
- providerData: alepha1.TOptional<alepha1.TRecord<string, alepha1.TAny>>;
4624
+ identities(userRealmName?: string): Repository$1<alepha23.TObject<{
4625
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4626
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4627
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4628
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4629
+ userId: PgAttr<alepha23.TString, typeof PG_REF>;
4630
+ password: alepha23.TOptional<alepha23.TString>;
4631
+ provider: alepha23.TString;
4632
+ providerUserId: alepha23.TOptional<alepha23.TString>;
4633
+ providerData: alepha23.TOptional<alepha23.TRecord<string, alepha23.TAny>>;
4634
4634
  }>>;
4635
4635
  /**
4636
4636
  * Random delay to prevent timing attacks (50-200ms)
@@ -4646,36 +4646,36 @@ declare class SessionService {
4646
4646
  sessionId: string;
4647
4647
  }>;
4648
4648
  refreshSession(refreshToken: string, userRealmName?: string): Promise<{
4649
- user: PgStatic<alepha1.TObject<{
4650
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4651
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4652
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4653
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4654
- realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
4655
- username: alepha1.TOptional<alepha1.TString>;
4656
- email: alepha1.TOptional<alepha1.TString>;
4657
- phoneNumber: alepha1.TOptional<alepha1.TString>;
4658
- roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
4659
- firstName: alepha1.TOptional<alepha1.TString>;
4660
- lastName: alepha1.TOptional<alepha1.TString>;
4661
- picture: alepha1.TOptional<alepha1.TString>;
4662
- enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
4663
- emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
4664
- }>, PgRelationMap<alepha1.TObject<{
4665
- id: PgAttr<PgAttr<alepha1.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4666
- version: PgAttr<PgAttr<alepha1.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4667
- createdAt: PgAttr<PgAttr<alepha1.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4668
- updatedAt: PgAttr<PgAttr<alepha1.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4669
- realm: PgAttr<alepha1.TString, typeof PG_DEFAULT>;
4670
- username: alepha1.TOptional<alepha1.TString>;
4671
- email: alepha1.TOptional<alepha1.TString>;
4672
- phoneNumber: alepha1.TOptional<alepha1.TString>;
4673
- roles: PgAttr<alepha1.TArray<alepha1.TString>, typeof PG_DEFAULT>;
4674
- firstName: alepha1.TOptional<alepha1.TString>;
4675
- lastName: alepha1.TOptional<alepha1.TString>;
4676
- picture: alepha1.TOptional<alepha1.TString>;
4677
- enabled: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
4678
- emailVerified: PgAttr<alepha1.TBoolean, typeof PG_DEFAULT>;
4649
+ user: PgStatic<alepha23.TObject<{
4650
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4651
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4652
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4653
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4654
+ realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
4655
+ username: alepha23.TOptional<alepha23.TString>;
4656
+ email: alepha23.TOptional<alepha23.TString>;
4657
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
4658
+ roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
4659
+ firstName: alepha23.TOptional<alepha23.TString>;
4660
+ lastName: alepha23.TOptional<alepha23.TString>;
4661
+ picture: alepha23.TOptional<alepha23.TString>;
4662
+ enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
4663
+ emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
4664
+ }>, PgRelationMap<alepha23.TObject<{
4665
+ id: PgAttr<PgAttr<alepha23.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
4666
+ version: PgAttr<PgAttr<alepha23.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
4667
+ createdAt: PgAttr<PgAttr<alepha23.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
4668
+ updatedAt: PgAttr<PgAttr<alepha23.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
4669
+ realm: PgAttr<alepha23.TString, typeof PG_DEFAULT>;
4670
+ username: alepha23.TOptional<alepha23.TString>;
4671
+ email: alepha23.TOptional<alepha23.TString>;
4672
+ phoneNumber: alepha23.TOptional<alepha23.TString>;
4673
+ roles: PgAttr<alepha23.TArray<alepha23.TString>, typeof PG_DEFAULT>;
4674
+ firstName: alepha23.TOptional<alepha23.TString>;
4675
+ lastName: alepha23.TOptional<alepha23.TString>;
4676
+ picture: alepha23.TOptional<alepha23.TString>;
4677
+ enabled: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
4678
+ emailVerified: PgAttr<alepha23.TBoolean, typeof PG_DEFAULT>;
4679
4679
  }>>>;
4680
4680
  expiresIn: number;
4681
4681
  sessionId: string;
@@ -4737,7 +4737,7 @@ declare class SessionService {
4737
4737
  *
4738
4738
  * @module alepha.api.users
4739
4739
  */
4740
- declare const AlephaApiUsers: alepha1.Service<alepha1.Module>;
4740
+ declare const AlephaApiUsers: alepha23.Service<alepha23.Module>;
4741
4741
  //#endregion
4742
4742
  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, UserRealmDescriptor, UserRealmOptions, 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 };
4743
4743
  //# sourceMappingURL=index.d.ts.map