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