alepha 0.11.12 → 0.12.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,13 +1,13 @@
1
1
  import * as alepha1 from "alepha";
2
2
  import { Alepha, Descriptor, Static, StaticEncode, TObject } from "alepha";
3
- import * as typebox44 from "typebox";
3
+ import * as typebox282 from "typebox";
4
4
  import * as alepha_server0 from "alepha/server";
5
5
  import { ActionDescriptor, ClientRequestEntry, ClientRequestOptions, ClientRequestResponse, FetchOptions, RequestConfigSchema } from "alepha/server";
6
- import * as alepha_orm0 from "alepha/orm";
6
+ import * as alepha_orm20 from "alepha/orm";
7
7
  import { Page } from "alepha/orm";
8
8
  import * as alepha_security0 from "alepha/security";
9
9
  import { CryptoProvider, RealmDescriptorOptions, UserAccount, UserAccountToken } from "alepha/security";
10
- import * as alepha_logger2 from "alepha/logger";
10
+ import * as alepha_logger3 from "alepha/logger";
11
11
  import "alepha/retry";
12
12
  import { DateTimeProvider } from "alepha/datetime";
13
13
  import * as alepha_batch0 from "alepha/batch";
@@ -15,39 +15,39 @@ import * as alepha_queue0 from "alepha/queue";
15
15
  import { EmailProvider } from "alepha/email";
16
16
 
17
17
  //#region src/api-users/entities/identities.d.ts
18
- declare const identities: alepha_orm0.EntityDescriptor<typebox44.TObject<{
19
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
20
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
21
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
22
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
23
- userId: alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_REF>;
24
- provider: typebox44.TString;
25
- providerUserId: typebox44.TString;
26
- providerData: typebox44.TOptional<typebox44.TRecord<string, typebox44.TAny>>;
18
+ declare const identities: alepha_orm20.EntityDescriptor<typebox282.TObject<{
19
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
20
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
21
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
22
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
23
+ userId: alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_REF>;
24
+ provider: typebox282.TString;
25
+ providerUserId: typebox282.TString;
26
+ providerData: typebox282.TOptional<typebox282.TRecord<string, typebox282.TAny>>;
27
27
  }>>;
28
28
  type IdentityEntity = Static<typeof identities.schema>;
29
29
  //#endregion
30
30
  //#region src/api-users/schemas/identityQuerySchema.d.ts
31
- declare const identityQuerySchema: typebox44.TObject<{
32
- page: typebox44.TOptional<typebox44.TInteger>;
33
- size: typebox44.TOptional<typebox44.TInteger>;
34
- sort: typebox44.TOptional<typebox44.TString>;
35
- userId: typebox44.TOptional<typebox44.TString>;
36
- provider: typebox44.TOptional<typebox44.TString>;
31
+ declare const identityQuerySchema: typebox282.TObject<{
32
+ page: typebox282.TOptional<typebox282.TInteger>;
33
+ size: typebox282.TOptional<typebox282.TInteger>;
34
+ sort: typebox282.TOptional<typebox282.TString>;
35
+ userId: typebox282.TOptional<typebox282.TString>;
36
+ provider: typebox282.TOptional<typebox282.TString>;
37
37
  }>;
38
38
  type IdentityQuery = Static<typeof identityQuerySchema>;
39
39
  //#endregion
40
40
  //#region src/api-users/services/IdentityService.d.ts
41
41
  declare class IdentityService {
42
- readonly identities: alepha_orm0.Repository<typebox44.TObject<{
43
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
44
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
45
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
46
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
47
- userId: alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_REF>;
48
- provider: typebox44.TString;
49
- providerUserId: typebox44.TString;
50
- providerData: typebox44.TOptional<typebox44.TRecord<string, typebox44.TAny>>;
42
+ readonly identities: alepha_orm20.Repository<typebox282.TObject<{
43
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
44
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
45
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
46
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
47
+ userId: alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_REF>;
48
+ provider: typebox282.TString;
49
+ providerUserId: typebox282.TString;
50
+ providerData: typebox282.TOptional<typebox282.TRecord<string, typebox282.TAny>>;
51
51
  }>>;
52
52
  /**
53
53
  * Find identities with pagination and filtering.
@@ -72,99 +72,99 @@ declare class IdentityController {
72
72
  * Find identities with pagination and filtering.
73
73
  */
74
74
  readonly findIdentities: alepha_server0.ActionDescriptorFn<{
75
- query: typebox44.TObject<{
76
- page: typebox44.TOptional<typebox44.TInteger>;
77
- size: typebox44.TOptional<typebox44.TInteger>;
78
- sort: typebox44.TOptional<typebox44.TString>;
79
- userId: typebox44.TOptional<typebox44.TString>;
80
- provider: typebox44.TOptional<typebox44.TString>;
75
+ query: typebox282.TObject<{
76
+ page: typebox282.TOptional<typebox282.TInteger>;
77
+ size: typebox282.TOptional<typebox282.TInteger>;
78
+ sort: typebox282.TOptional<typebox282.TString>;
79
+ userId: typebox282.TOptional<typebox282.TString>;
80
+ provider: typebox282.TOptional<typebox282.TString>;
81
81
  }>;
82
- response: alepha1.TPage<typebox44.TObject<{
83
- id: typebox44.TString;
84
- version: typebox44.TNumber;
85
- createdAt: typebox44.TString;
86
- updatedAt: typebox44.TString;
87
- userId: typebox44.TString;
88
- provider: typebox44.TString;
89
- providerUserId: typebox44.TString;
90
- providerData: typebox44.TOptional<typebox44.TRecord<string, typebox44.TAny>>;
82
+ response: alepha1.TPage<typebox282.TObject<{
83
+ id: typebox282.TString;
84
+ version: typebox282.TNumber;
85
+ createdAt: typebox282.TString;
86
+ updatedAt: typebox282.TString;
87
+ userId: typebox282.TString;
88
+ provider: typebox282.TString;
89
+ providerUserId: typebox282.TString;
90
+ providerData: typebox282.TOptional<typebox282.TRecord<string, typebox282.TAny>>;
91
91
  }>>;
92
92
  }>;
93
93
  /**
94
94
  * Get an identity by ID.
95
95
  */
96
96
  readonly getIdentity: alepha_server0.ActionDescriptorFn<{
97
- params: typebox44.TObject<{
98
- id: typebox44.TString;
97
+ params: typebox282.TObject<{
98
+ id: typebox282.TString;
99
99
  }>;
100
- response: typebox44.TObject<{
101
- id: typebox44.TString;
102
- version: typebox44.TNumber;
103
- createdAt: typebox44.TString;
104
- updatedAt: typebox44.TString;
105
- userId: typebox44.TString;
106
- provider: typebox44.TString;
107
- providerUserId: typebox44.TString;
108
- providerData: typebox44.TOptional<typebox44.TRecord<string, typebox44.TAny>>;
100
+ response: typebox282.TObject<{
101
+ id: typebox282.TString;
102
+ version: typebox282.TNumber;
103
+ createdAt: typebox282.TString;
104
+ updatedAt: typebox282.TString;
105
+ userId: typebox282.TString;
106
+ provider: typebox282.TString;
107
+ providerUserId: typebox282.TString;
108
+ providerData: typebox282.TOptional<typebox282.TRecord<string, typebox282.TAny>>;
109
109
  }>;
110
110
  }>;
111
111
  /**
112
112
  * Delete an identity.
113
113
  */
114
114
  readonly deleteIdentity: alepha_server0.ActionDescriptorFn<{
115
- params: typebox44.TObject<{
116
- id: typebox44.TString;
115
+ params: typebox282.TObject<{
116
+ id: typebox282.TString;
117
117
  }>;
118
- response: typebox44.TObject<{
119
- ok: typebox44.TBoolean;
120
- id: typebox44.TOptional<typebox44.TUnion<[typebox44.TString, typebox44.TInteger]>>;
121
- count: typebox44.TOptional<typebox44.TNumber>;
118
+ response: typebox282.TObject<{
119
+ ok: typebox282.TBoolean;
120
+ id: typebox282.TOptional<typebox282.TUnion<[typebox282.TString, typebox282.TInteger]>>;
121
+ count: typebox282.TOptional<typebox282.TNumber>;
122
122
  }>;
123
123
  }>;
124
124
  }
125
125
  //#endregion
126
126
  //#region src/api-users/entities/sessions.d.ts
127
- declare const sessions: alepha_orm0.EntityDescriptor<typebox44.TObject<{
128
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
129
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
130
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
131
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
132
- refreshToken: typebox44.TString;
133
- userId: alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_REF>;
134
- expiresAt: typebox44.TString;
135
- ip: typebox44.TOptional<typebox44.TString>;
136
- userAgent: typebox44.TOptional<typebox44.TObject<{
137
- os: typebox44.TString;
138
- browser: typebox44.TString;
139
- device: typebox44.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
127
+ declare const sessions: alepha_orm20.EntityDescriptor<typebox282.TObject<{
128
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
129
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
130
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
131
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
132
+ refreshToken: typebox282.TString;
133
+ userId: alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_REF>;
134
+ expiresAt: typebox282.TString;
135
+ ip: typebox282.TOptional<typebox282.TString>;
136
+ userAgent: typebox282.TOptional<typebox282.TObject<{
137
+ os: typebox282.TString;
138
+ browser: typebox282.TString;
139
+ device: typebox282.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
140
140
  }>>;
141
141
  }>>;
142
142
  type SessionEntity = Static<typeof sessions.schema>;
143
143
  //#endregion
144
144
  //#region src/api-users/schemas/sessionQuerySchema.d.ts
145
- declare const sessionQuerySchema: typebox44.TObject<{
146
- page: typebox44.TOptional<typebox44.TInteger>;
147
- size: typebox44.TOptional<typebox44.TInteger>;
148
- sort: typebox44.TOptional<typebox44.TString>;
149
- userId: typebox44.TOptional<typebox44.TString>;
145
+ declare const sessionQuerySchema: typebox282.TObject<{
146
+ page: typebox282.TOptional<typebox282.TInteger>;
147
+ size: typebox282.TOptional<typebox282.TInteger>;
148
+ sort: typebox282.TOptional<typebox282.TString>;
149
+ userId: typebox282.TOptional<typebox282.TString>;
150
150
  }>;
151
151
  type SessionQuery = Static<typeof sessionQuerySchema>;
152
152
  //#endregion
153
153
  //#region src/api-users/services/SessionCrudService.d.ts
154
154
  declare class SessionCrudService {
155
- readonly sessions: alepha_orm0.Repository<typebox44.TObject<{
156
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
157
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
158
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
159
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
160
- refreshToken: typebox44.TString;
161
- userId: alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_REF>;
162
- expiresAt: typebox44.TString;
163
- ip: typebox44.TOptional<typebox44.TString>;
164
- userAgent: typebox44.TOptional<typebox44.TObject<{
165
- os: typebox44.TString;
166
- browser: typebox44.TString;
167
- device: typebox44.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
155
+ readonly sessions: alepha_orm20.Repository<typebox282.TObject<{
156
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
157
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
158
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
159
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
160
+ refreshToken: typebox282.TString;
161
+ userId: alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_REF>;
162
+ expiresAt: typebox282.TString;
163
+ ip: typebox282.TOptional<typebox282.TString>;
164
+ userAgent: typebox282.TOptional<typebox282.TObject<{
165
+ os: typebox282.TString;
166
+ browser: typebox282.TString;
167
+ device: typebox282.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
168
168
  }>>;
169
169
  }>>;
170
170
  /**
@@ -190,25 +190,25 @@ declare class SessionController {
190
190
  * Find sessions with pagination and filtering.
191
191
  */
192
192
  readonly findSessions: alepha_server0.ActionDescriptorFn<{
193
- query: typebox44.TObject<{
194
- page: typebox44.TOptional<typebox44.TInteger>;
195
- size: typebox44.TOptional<typebox44.TInteger>;
196
- sort: typebox44.TOptional<typebox44.TString>;
197
- userId: typebox44.TOptional<typebox44.TString>;
193
+ query: typebox282.TObject<{
194
+ page: typebox282.TOptional<typebox282.TInteger>;
195
+ size: typebox282.TOptional<typebox282.TInteger>;
196
+ sort: typebox282.TOptional<typebox282.TString>;
197
+ userId: typebox282.TOptional<typebox282.TString>;
198
198
  }>;
199
- response: alepha1.TPage<typebox44.TObject<{
200
- id: typebox44.TString;
201
- version: typebox44.TNumber;
202
- createdAt: typebox44.TString;
203
- updatedAt: typebox44.TString;
204
- refreshToken: typebox44.TString;
205
- userId: typebox44.TString;
206
- expiresAt: typebox44.TString;
207
- ip: typebox44.TOptional<typebox44.TString>;
208
- userAgent: typebox44.TOptional<typebox44.TObject<{
209
- os: typebox44.TString;
210
- browser: typebox44.TString;
211
- device: typebox44.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
199
+ response: alepha1.TPage<typebox282.TObject<{
200
+ id: typebox282.TString;
201
+ version: typebox282.TNumber;
202
+ createdAt: typebox282.TString;
203
+ updatedAt: typebox282.TString;
204
+ refreshToken: typebox282.TString;
205
+ userId: typebox282.TString;
206
+ expiresAt: typebox282.TString;
207
+ ip: typebox282.TOptional<typebox282.TString>;
208
+ userAgent: typebox282.TOptional<typebox282.TObject<{
209
+ os: typebox282.TString;
210
+ browser: typebox282.TString;
211
+ device: typebox282.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
212
212
  }>>;
213
213
  }>>;
214
214
  }>;
@@ -216,22 +216,22 @@ declare class SessionController {
216
216
  * Get a session by ID.
217
217
  */
218
218
  readonly getSession: alepha_server0.ActionDescriptorFn<{
219
- params: typebox44.TObject<{
220
- id: typebox44.TString;
219
+ params: typebox282.TObject<{
220
+ id: typebox282.TString;
221
221
  }>;
222
- response: typebox44.TObject<{
223
- id: typebox44.TString;
224
- version: typebox44.TNumber;
225
- createdAt: typebox44.TString;
226
- updatedAt: typebox44.TString;
227
- refreshToken: typebox44.TString;
228
- userId: typebox44.TString;
229
- expiresAt: typebox44.TString;
230
- ip: typebox44.TOptional<typebox44.TString>;
231
- userAgent: typebox44.TOptional<typebox44.TObject<{
232
- os: typebox44.TString;
233
- browser: typebox44.TString;
234
- device: typebox44.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
222
+ response: typebox282.TObject<{
223
+ id: typebox282.TString;
224
+ version: typebox282.TNumber;
225
+ createdAt: typebox282.TString;
226
+ updatedAt: typebox282.TString;
227
+ refreshToken: typebox282.TString;
228
+ userId: typebox282.TString;
229
+ expiresAt: typebox282.TString;
230
+ ip: typebox282.TOptional<typebox282.TString>;
231
+ userAgent: typebox282.TOptional<typebox282.TObject<{
232
+ os: typebox282.TString;
233
+ browser: typebox282.TString;
234
+ device: typebox282.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
235
235
  }>>;
236
236
  }>;
237
237
  }>;
@@ -239,13 +239,13 @@ declare class SessionController {
239
239
  * Delete a session.
240
240
  */
241
241
  readonly deleteSession: alepha_server0.ActionDescriptorFn<{
242
- params: typebox44.TObject<{
243
- id: typebox44.TString;
242
+ params: typebox282.TObject<{
243
+ id: typebox282.TString;
244
244
  }>;
245
- response: typebox44.TObject<{
246
- ok: typebox44.TBoolean;
247
- id: typebox44.TOptional<typebox44.TUnion<[typebox44.TString, typebox44.TInteger]>>;
248
- count: typebox44.TOptional<typebox44.TNumber>;
245
+ response: typebox282.TObject<{
246
+ ok: typebox282.TBoolean;
247
+ id: typebox282.TOptional<typebox282.TUnion<[typebox282.TString, typebox282.TInteger]>>;
248
+ count: typebox282.TOptional<typebox282.TNumber>;
249
249
  }>;
250
250
  }>;
251
251
  }
@@ -308,15 +308,15 @@ declare module "alepha/server" {
308
308
  */
309
309
  //#endregion
310
310
  //#region src/server-links/schemas/apiLinksResponseSchema.d.ts
311
- declare const apiLinksResponseSchema: typebox44.TObject<{
312
- prefix: typebox44.TOptional<typebox44.TString>;
313
- links: typebox44.TArray<typebox44.TObject<{
314
- name: typebox44.TString;
315
- group: typebox44.TOptional<typebox44.TString>;
316
- path: typebox44.TString;
317
- method: typebox44.TOptional<typebox44.TString>;
318
- requestBodyType: typebox44.TOptional<typebox44.TString>;
319
- service: typebox44.TOptional<typebox44.TString>;
311
+ declare const apiLinksResponseSchema: typebox282.TObject<{
312
+ prefix: typebox282.TOptional<typebox282.TString>;
313
+ links: typebox282.TArray<typebox282.TObject<{
314
+ name: typebox282.TString;
315
+ group: typebox282.TOptional<typebox282.TString>;
316
+ path: typebox282.TString;
317
+ method: typebox282.TOptional<typebox282.TString>;
318
+ requestBodyType: typebox282.TOptional<typebox282.TString>;
319
+ service: typebox282.TOptional<typebox282.TString>;
320
320
  }>>;
321
321
  }>;
322
322
  type ApiLinksResponse = Static<typeof apiLinksResponseSchema>;
@@ -353,35 +353,35 @@ declare module "alepha" {
353
353
  */
354
354
  //#endregion
355
355
  //#region src/api-verifications/entities/verifications.d.ts
356
- declare const verifications: alepha_orm0.EntityDescriptor<typebox44.TObject<{
357
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
358
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
359
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
360
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
361
- type: typebox44.TUnsafe<"email" | "phone">;
362
- target: typebox44.TString;
363
- code: typebox44.TString;
364
- verifiedAt: typebox44.TOptional<typebox44.TString>;
365
- attempts: alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_DEFAULT>;
356
+ declare const verifications: alepha_orm20.EntityDescriptor<typebox282.TObject<{
357
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
358
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
359
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
360
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
361
+ type: typebox282.TUnsafe<"email" | "phone">;
362
+ target: typebox282.TString;
363
+ code: typebox282.TString;
364
+ verifiedAt: typebox282.TOptional<typebox282.TString>;
365
+ attempts: alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_DEFAULT>;
366
366
  }>>;
367
367
  type VerificationEntity = Static<typeof verifications.schema>;
368
368
  //#endregion
369
369
  //#region src/api-verifications/schemas/verificationSettingsSchema.d.ts
370
- declare const verificationSettingsSchema: typebox44.TObject<{
371
- phone: typebox44.TObject<{
372
- maxAttempts: typebox44.TInteger;
373
- codeLength: typebox44.TInteger;
374
- codeExpiration: typebox44.TInteger;
375
- verificationCooldown: typebox44.TInteger;
376
- limitPerDay: typebox44.TInteger;
370
+ declare const verificationSettingsSchema: typebox282.TObject<{
371
+ phone: typebox282.TObject<{
372
+ maxAttempts: typebox282.TInteger;
373
+ codeLength: typebox282.TInteger;
374
+ codeExpiration: typebox282.TInteger;
375
+ verificationCooldown: typebox282.TInteger;
376
+ limitPerDay: typebox282.TInteger;
377
377
  }>;
378
- email: typebox44.TObject<{
379
- maxAttempts: typebox44.TInteger;
380
- codeExpiration: typebox44.TInteger;
381
- verificationCooldown: typebox44.TInteger;
382
- limitPerDay: typebox44.TInteger;
378
+ email: typebox282.TObject<{
379
+ maxAttempts: typebox282.TInteger;
380
+ codeExpiration: typebox282.TInteger;
381
+ verificationCooldown: typebox282.TInteger;
382
+ limitPerDay: typebox282.TInteger;
383
383
  }>;
384
- purgeDays: typebox44.TInteger;
384
+ purgeDays: typebox282.TInteger;
385
385
  }>;
386
386
  type VerificationSettings = Static<typeof verificationSettingsSchema>;
387
387
  //#endregion
@@ -389,21 +389,21 @@ type VerificationSettings = Static<typeof verificationSettingsSchema>;
389
389
  /**
390
390
  * Verification settings configuration atom
391
391
  */
392
- declare const verificationOptions: alepha1.Atom<typebox44.TObject<{
393
- phone: typebox44.TObject<{
394
- maxAttempts: typebox44.TInteger;
395
- codeLength: typebox44.TInteger;
396
- codeExpiration: typebox44.TInteger;
397
- verificationCooldown: typebox44.TInteger;
398
- limitPerDay: typebox44.TInteger;
392
+ declare const verificationOptions: alepha1.Atom<typebox282.TObject<{
393
+ phone: typebox282.TObject<{
394
+ maxAttempts: typebox282.TInteger;
395
+ codeLength: typebox282.TInteger;
396
+ codeExpiration: typebox282.TInteger;
397
+ verificationCooldown: typebox282.TInteger;
398
+ limitPerDay: typebox282.TInteger;
399
399
  }>;
400
- email: typebox44.TObject<{
401
- maxAttempts: typebox44.TInteger;
402
- codeExpiration: typebox44.TInteger;
403
- verificationCooldown: typebox44.TInteger;
404
- limitPerDay: typebox44.TInteger;
400
+ email: typebox282.TObject<{
401
+ maxAttempts: typebox282.TInteger;
402
+ codeExpiration: typebox282.TInteger;
403
+ verificationCooldown: typebox282.TInteger;
404
+ limitPerDay: typebox282.TInteger;
405
405
  }>;
406
- purgeDays: typebox44.TInteger;
406
+ purgeDays: typebox282.TInteger;
407
407
  }>, "alepha.api.verifications.options">;
408
408
  type VerificationOptions = Static<typeof verificationOptions.schema>;
409
409
  declare module "alepha" {
@@ -432,61 +432,61 @@ declare class VerificationParameters {
432
432
  }
433
433
  //#endregion
434
434
  //#region src/api-verifications/schemas/requestVerificationCodeResponseSchema.d.ts
435
- declare const requestVerificationCodeResponseSchema: typebox44.TObject<{
436
- token: typebox44.TString;
437
- codeExpiration: typebox44.TInteger;
438
- verificationCooldown: typebox44.TInteger;
439
- maxVerificationAttempts: typebox44.TInteger;
435
+ declare const requestVerificationCodeResponseSchema: typebox282.TObject<{
436
+ token: typebox282.TString;
437
+ codeExpiration: typebox282.TInteger;
438
+ verificationCooldown: typebox282.TInteger;
439
+ maxVerificationAttempts: typebox282.TInteger;
440
440
  }>;
441
441
  type RequestVerificationResponse = Static<typeof requestVerificationCodeResponseSchema>;
442
442
  //#endregion
443
443
  //#region src/api-verifications/schemas/validateVerificationCodeResponseSchema.d.ts
444
- declare const validateVerificationCodeResponseSchema: typebox44.TObject<{
445
- ok: typebox44.TBoolean;
446
- alreadyVerified: typebox44.TOptional<typebox44.TBoolean>;
444
+ declare const validateVerificationCodeResponseSchema: typebox282.TObject<{
445
+ ok: typebox282.TBoolean;
446
+ alreadyVerified: typebox282.TOptional<typebox282.TBoolean>;
447
447
  }>;
448
448
  type ValidateVerificationCodeResponse = Static<typeof validateVerificationCodeResponseSchema>;
449
449
  //#endregion
450
450
  //#region src/api-verifications/schemas/verificationTypeEnumSchema.d.ts
451
- declare const verificationTypeEnumSchema: typebox44.TUnsafe<"email" | "phone">;
451
+ declare const verificationTypeEnumSchema: typebox282.TUnsafe<"email" | "phone">;
452
452
  type VerificationTypeEnum = Static<typeof verificationTypeEnumSchema>;
453
453
  //#endregion
454
454
  //#region src/api-verifications/services/VerificationService.d.ts
455
455
  declare class VerificationService {
456
456
  protected readonly dateTimeProvider: DateTimeProvider;
457
457
  protected readonly verificationParameters: VerificationParameters;
458
- protected readonly verificationRepository: alepha_orm0.Repository<typebox44.TObject<{
459
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
460
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
461
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
462
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
463
- type: typebox44.TUnsafe<"email" | "phone">;
464
- target: typebox44.TString;
465
- code: typebox44.TString;
466
- verifiedAt: typebox44.TOptional<typebox44.TString>;
467
- attempts: alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_DEFAULT>;
458
+ protected readonly verificationRepository: alepha_orm20.Repository<typebox282.TObject<{
459
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
460
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
461
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
462
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
463
+ type: typebox282.TUnsafe<"email" | "phone">;
464
+ target: typebox282.TString;
465
+ code: typebox282.TString;
466
+ verifiedAt: typebox282.TOptional<typebox282.TString>;
467
+ attempts: alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_DEFAULT>;
468
468
  }>>;
469
469
  findByEntry(entry: VerificationEntry): Promise<VerificationEntity>;
470
- findRecentsByEntry(entry: VerificationEntry): Promise<alepha_orm0.PgStatic<typebox44.TObject<{
471
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
472
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
473
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
474
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
475
- type: typebox44.TUnsafe<"email" | "phone">;
476
- target: typebox44.TString;
477
- code: typebox44.TString;
478
- verifiedAt: typebox44.TOptional<typebox44.TString>;
479
- attempts: alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_DEFAULT>;
480
- }>, alepha_orm0.PgRelationMap<typebox44.TObject<{
481
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
482
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
483
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
484
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
485
- type: typebox44.TUnsafe<"email" | "phone">;
486
- target: typebox44.TString;
487
- code: typebox44.TString;
488
- verifiedAt: typebox44.TOptional<typebox44.TString>;
489
- attempts: alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_DEFAULT>;
470
+ findRecentsByEntry(entry: VerificationEntry): Promise<alepha_orm20.PgStatic<typebox282.TObject<{
471
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
472
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
473
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
474
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
475
+ type: typebox282.TUnsafe<"email" | "phone">;
476
+ target: typebox282.TString;
477
+ code: typebox282.TString;
478
+ verifiedAt: typebox282.TOptional<typebox282.TString>;
479
+ attempts: alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_DEFAULT>;
480
+ }>, alepha_orm20.PgRelationMap<typebox282.TObject<{
481
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
482
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
483
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
484
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
485
+ type: typebox282.TUnsafe<"email" | "phone">;
486
+ target: typebox282.TString;
487
+ code: typebox282.TString;
488
+ verifiedAt: typebox282.TOptional<typebox282.TString>;
489
+ attempts: alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_DEFAULT>;
490
490
  }>>>[]>;
491
491
  /**
492
492
  * Creates a verification entry and returns the token.
@@ -514,53 +514,53 @@ declare class VerificationController {
514
514
  readonly url = "/verifications";
515
515
  readonly group = "verifications";
516
516
  readonly requestVerificationCode: alepha_server0.ActionDescriptorFn<{
517
- params: typebox44.TObject<{
518
- type: typebox44.TUnsafe<"email" | "phone">;
517
+ params: typebox282.TObject<{
518
+ type: typebox282.TUnsafe<"email" | "phone">;
519
519
  }>;
520
- body: typebox44.TObject<{
521
- target: typebox44.TString;
520
+ body: typebox282.TObject<{
521
+ target: typebox282.TString;
522
522
  }>;
523
- response: typebox44.TObject<{
524
- token: typebox44.TString;
525
- codeExpiration: typebox44.TInteger;
526
- verificationCooldown: typebox44.TInteger;
527
- maxVerificationAttempts: typebox44.TInteger;
523
+ response: typebox282.TObject<{
524
+ token: typebox282.TString;
525
+ codeExpiration: typebox282.TInteger;
526
+ verificationCooldown: typebox282.TInteger;
527
+ maxVerificationAttempts: typebox282.TInteger;
528
528
  }>;
529
529
  }>;
530
530
  readonly validateVerificationCode: alepha_server0.ActionDescriptorFn<{
531
- params: typebox44.TObject<{
532
- type: typebox44.TUnsafe<"email" | "phone">;
531
+ params: typebox282.TObject<{
532
+ type: typebox282.TUnsafe<"email" | "phone">;
533
533
  }>;
534
- body: typebox44.TObject<{
535
- target: typebox44.TString;
536
- token: typebox44.TString;
534
+ body: typebox282.TObject<{
535
+ target: typebox282.TString;
536
+ token: typebox282.TString;
537
537
  }>;
538
- response: typebox44.TObject<{
539
- ok: typebox44.TBoolean;
540
- alreadyVerified: typebox44.TOptional<typebox44.TBoolean>;
538
+ response: typebox282.TObject<{
539
+ ok: typebox282.TBoolean;
540
+ alreadyVerified: typebox282.TOptional<typebox282.TBoolean>;
541
541
  }>;
542
542
  }>;
543
543
  }
544
544
  //#endregion
545
545
  //#region src/api-notifications/entities/notifications.d.ts
546
- declare const notifications: alepha_orm0.EntityDescriptor<typebox44.TObject<{
547
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
548
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
549
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
550
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
551
- type: typebox44.TUnsafe<"email" | "sms">;
552
- template: typebox44.TString;
553
- category: typebox44.TOptional<typebox44.TString>;
554
- critical: typebox44.TOptional<typebox44.TBoolean>;
555
- sensitive: typebox44.TOptional<typebox44.TBoolean>;
556
- contact: typebox44.TString;
557
- variables: typebox44.TOptional<typebox44.TRecord<"^.*$", typebox44.TAny>>;
558
- scheduledAt: typebox44.TOptional<typebox44.TString>;
559
- sentAt: typebox44.TOptional<typebox44.TString>;
560
- error: typebox44.TOptional<typebox44.TObject<{
561
- at: typebox44.TString;
562
- name: typebox44.TString;
563
- message: typebox44.TString;
546
+ declare const notifications: alepha_orm20.EntityDescriptor<typebox282.TObject<{
547
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
548
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
549
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
550
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
551
+ type: typebox282.TUnsafe<"email" | "sms">;
552
+ template: typebox282.TString;
553
+ category: typebox282.TOptional<typebox282.TString>;
554
+ critical: typebox282.TOptional<typebox282.TBoolean>;
555
+ sensitive: typebox282.TOptional<typebox282.TBoolean>;
556
+ contact: typebox282.TString;
557
+ variables: typebox282.TOptional<typebox282.TRecord<"^.*$", typebox282.TAny>>;
558
+ scheduledAt: typebox282.TOptional<typebox282.TString>;
559
+ sentAt: typebox282.TOptional<typebox282.TString>;
560
+ error: typebox282.TOptional<typebox282.TObject<{
561
+ at: typebox282.TString;
562
+ name: typebox282.TString;
563
+ message: typebox282.TString;
564
564
  }>>;
565
565
  }>>;
566
566
  type NotificationEntity = Static<typeof notifications.schema>;
@@ -577,25 +577,25 @@ interface SmsSendOptions {
577
577
  //#region src/api-notifications/services/NotificationSenderService.d.ts
578
578
  declare class NotificationSenderService {
579
579
  protected readonly alepha: Alepha;
580
- protected readonly log: alepha_logger2.Logger;
581
- protected readonly notificationRepository: alepha_orm0.Repository<typebox44.TObject<{
582
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
583
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
584
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
585
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
586
- type: typebox44.TUnsafe<"email" | "sms">;
587
- template: typebox44.TString;
588
- category: typebox44.TOptional<typebox44.TString>;
589
- critical: typebox44.TOptional<typebox44.TBoolean>;
590
- sensitive: typebox44.TOptional<typebox44.TBoolean>;
591
- contact: typebox44.TString;
592
- variables: typebox44.TOptional<typebox44.TRecord<"^.*$", typebox44.TAny>>;
593
- scheduledAt: typebox44.TOptional<typebox44.TString>;
594
- sentAt: typebox44.TOptional<typebox44.TString>;
595
- error: typebox44.TOptional<typebox44.TObject<{
596
- at: typebox44.TString;
597
- name: typebox44.TString;
598
- message: typebox44.TString;
580
+ protected readonly log: alepha_logger3.Logger;
581
+ protected readonly notificationRepository: alepha_orm20.Repository<typebox282.TObject<{
582
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
583
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
584
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
585
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
586
+ type: typebox282.TUnsafe<"email" | "sms">;
587
+ template: typebox282.TString;
588
+ category: typebox282.TOptional<typebox282.TString>;
589
+ critical: typebox282.TOptional<typebox282.TBoolean>;
590
+ sensitive: typebox282.TOptional<typebox282.TBoolean>;
591
+ contact: typebox282.TString;
592
+ variables: typebox282.TOptional<typebox282.TRecord<"^.*$", typebox282.TAny>>;
593
+ scheduledAt: typebox282.TOptional<typebox282.TString>;
594
+ sentAt: typebox282.TOptional<typebox282.TString>;
595
+ error: typebox282.TOptional<typebox282.TObject<{
596
+ at: typebox282.TString;
597
+ name: typebox282.TString;
598
+ message: typebox282.TString;
599
599
  }>>;
600
600
  }>>;
601
601
  protected readonly dateTimeProvider: DateTimeProvider;
@@ -612,7 +612,7 @@ declare class NotificationSenderService {
612
612
  body: string;
613
613
  };
614
614
  protected load(notification: NotificationEntity): {
615
- template: NotificationDescriptor<typebox44.TObject<typebox44.TProperties>>;
615
+ template: NotificationDescriptor<typebox282.TObject<typebox282.TProperties>>;
616
616
  variables: Record<string, any>;
617
617
  contact: string;
618
618
  };
@@ -621,17 +621,17 @@ declare class NotificationSenderService {
621
621
  //#region src/api-notifications/queues/NotificationQueues.d.ts
622
622
  declare class NotificationQueues {
623
623
  protected readonly notificationSenderService: NotificationSenderService;
624
- readonly processNotification: alepha_queue0.QueueDescriptor<typebox44.TObject<{
625
- notificationId: typebox44.TString;
624
+ readonly processNotification: alepha_queue0.QueueDescriptor<typebox282.TObject<{
625
+ notificationId: typebox282.TString;
626
626
  }>>;
627
627
  }
628
628
  //#endregion
629
629
  //#region src/api-notifications/schemas/notificationCreateSchema.d.ts
630
- declare const notificationCreateSchema: typebox44.TObject<{
631
- type: typebox44.TUnsafe<"email" | "sms">;
632
- template: typebox44.TString;
633
- contact: typebox44.TString;
634
- variables: typebox44.TOptional<typebox44.TRecord<"^.*$", typebox44.TAny>>;
630
+ declare const notificationCreateSchema: typebox282.TObject<{
631
+ type: typebox282.TUnsafe<"email" | "sms">;
632
+ template: typebox282.TString;
633
+ contact: typebox282.TString;
634
+ variables: typebox282.TOptional<typebox282.TRecord<"^.*$", typebox282.TAny>>;
635
635
  }>;
636
636
  type NotificationCreate = Static<typeof notificationCreateSchema>;
637
637
  //#endregion
@@ -644,76 +644,76 @@ declare module "alepha" {
644
644
  }
645
645
  declare class NotificationService {
646
646
  protected readonly alepha: Alepha;
647
- protected readonly log: alepha_logger2.Logger;
647
+ protected readonly log: alepha_logger3.Logger;
648
648
  protected readonly env: {
649
649
  NOTIFICATION_IMMEDIATE?: boolean | undefined;
650
650
  };
651
- protected readonly notificationRepository: alepha_orm0.Repository<alepha1.TObject<{
652
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
653
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
654
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
655
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
656
- type: typebox44.TUnsafe<"email" | "sms">;
657
- template: typebox44.TString;
658
- category: alepha1.TOptional<typebox44.TString>;
651
+ protected readonly notificationRepository: alepha_orm20.Repository<alepha1.TObject<{
652
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
653
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
654
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
655
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
656
+ type: typebox282.TUnsafe<"email" | "sms">;
657
+ template: typebox282.TString;
658
+ category: alepha1.TOptional<typebox282.TString>;
659
659
  critical: alepha1.TOptional<alepha1.TBoolean>;
660
660
  sensitive: alepha1.TOptional<alepha1.TBoolean>;
661
- contact: typebox44.TString;
662
- variables: alepha1.TOptional<typebox44.TRecord<"^.*$", typebox44.TAny>>;
663
- scheduledAt: alepha1.TOptional<typebox44.TString>;
664
- sentAt: alepha1.TOptional<typebox44.TString>;
661
+ contact: typebox282.TString;
662
+ variables: alepha1.TOptional<typebox282.TRecord<"^.*$", typebox282.TAny>>;
663
+ scheduledAt: alepha1.TOptional<typebox282.TString>;
664
+ sentAt: alepha1.TOptional<typebox282.TString>;
665
665
  error: alepha1.TOptional<alepha1.TObject<{
666
- at: typebox44.TString;
667
- name: typebox44.TString;
668
- message: typebox44.TString;
666
+ at: typebox282.TString;
667
+ name: typebox282.TString;
668
+ message: typebox282.TString;
669
669
  }>>;
670
670
  }>>;
671
671
  protected readonly dateTimeProvider: DateTimeProvider;
672
672
  protected readonly notificationQueues: NotificationQueues;
673
673
  protected readonly notificationSenderService: NotificationSenderService;
674
674
  readonly notificationBatch: alepha_batch0.BatchDescriptor<alepha1.TObject<{
675
- type: typebox44.TUnsafe<"email" | "sms">;
676
- template: typebox44.TString;
677
- contact: typebox44.TString;
678
- variables: alepha1.TOptional<typebox44.TRecord<"^.*$", typebox44.TAny>>;
675
+ type: typebox282.TUnsafe<"email" | "sms">;
676
+ template: typebox282.TString;
677
+ contact: typebox282.TString;
678
+ variables: alepha1.TOptional<typebox282.TRecord<"^.*$", typebox282.TAny>>;
679
679
  }>, Promise<void>>;
680
- findNotificationById(id: string): Promise<alepha_orm0.PgStatic<alepha1.TObject<{
681
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
682
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
683
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
684
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
685
- type: typebox44.TUnsafe<"email" | "sms">;
686
- template: typebox44.TString;
687
- category: alepha1.TOptional<typebox44.TString>;
680
+ findNotificationById(id: string): Promise<alepha_orm20.PgStatic<alepha1.TObject<{
681
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
682
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
683
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
684
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
685
+ type: typebox282.TUnsafe<"email" | "sms">;
686
+ template: typebox282.TString;
687
+ category: alepha1.TOptional<typebox282.TString>;
688
688
  critical: alepha1.TOptional<alepha1.TBoolean>;
689
689
  sensitive: alepha1.TOptional<alepha1.TBoolean>;
690
- contact: typebox44.TString;
691
- variables: alepha1.TOptional<typebox44.TRecord<"^.*$", typebox44.TAny>>;
692
- scheduledAt: alepha1.TOptional<typebox44.TString>;
693
- sentAt: alepha1.TOptional<typebox44.TString>;
690
+ contact: typebox282.TString;
691
+ variables: alepha1.TOptional<typebox282.TRecord<"^.*$", typebox282.TAny>>;
692
+ scheduledAt: alepha1.TOptional<typebox282.TString>;
693
+ sentAt: alepha1.TOptional<typebox282.TString>;
694
694
  error: alepha1.TOptional<alepha1.TObject<{
695
- at: typebox44.TString;
696
- name: typebox44.TString;
697
- message: typebox44.TString;
695
+ at: typebox282.TString;
696
+ name: typebox282.TString;
697
+ message: typebox282.TString;
698
698
  }>>;
699
- }>, alepha_orm0.PgRelationMap<alepha1.TObject<{
700
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
701
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
702
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
703
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
704
- type: typebox44.TUnsafe<"email" | "sms">;
705
- template: typebox44.TString;
706
- category: alepha1.TOptional<typebox44.TString>;
699
+ }>, alepha_orm20.PgRelationMap<alepha1.TObject<{
700
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
701
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
702
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
703
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
704
+ type: typebox282.TUnsafe<"email" | "sms">;
705
+ template: typebox282.TString;
706
+ category: alepha1.TOptional<typebox282.TString>;
707
707
  critical: alepha1.TOptional<alepha1.TBoolean>;
708
708
  sensitive: alepha1.TOptional<alepha1.TBoolean>;
709
- contact: typebox44.TString;
710
- variables: alepha1.TOptional<typebox44.TRecord<"^.*$", typebox44.TAny>>;
711
- scheduledAt: alepha1.TOptional<typebox44.TString>;
712
- sentAt: alepha1.TOptional<typebox44.TString>;
709
+ contact: typebox282.TString;
710
+ variables: alepha1.TOptional<typebox282.TRecord<"^.*$", typebox282.TAny>>;
711
+ scheduledAt: alepha1.TOptional<typebox282.TString>;
712
+ sentAt: alepha1.TOptional<typebox282.TString>;
713
713
  error: alepha1.TOptional<alepha1.TObject<{
714
- at: typebox44.TString;
715
- name: typebox44.TString;
716
- message: typebox44.TString;
714
+ at: typebox282.TString;
715
+ name: typebox282.TString;
716
+ message: typebox282.TString;
717
717
  }>>;
718
718
  }>>>>;
719
719
  /**
@@ -756,15 +756,15 @@ interface NotificationMessage<T extends TObject> {
756
756
  //#endregion
757
757
  //#region src/api-users/notifications/UserNotifications.d.ts
758
758
  declare class UserNotifications {
759
- readonly passwordReset: NotificationDescriptor<typebox44.TObject<{
760
- email: typebox44.TString;
761
- resetUrl: typebox44.TString;
762
- expiresInMinutes: typebox44.TNumber;
759
+ readonly passwordReset: NotificationDescriptor<typebox282.TObject<{
760
+ email: typebox282.TString;
761
+ resetUrl: typebox282.TString;
762
+ expiresInMinutes: typebox282.TNumber;
763
763
  }>>;
764
- readonly emailVerification: NotificationDescriptor<typebox44.TObject<{
765
- email: typebox44.TString;
766
- verifyUrl: typebox44.TString;
767
- expiresInMinutes: typebox44.TNumber;
764
+ readonly emailVerification: NotificationDescriptor<typebox282.TObject<{
765
+ email: typebox282.TString;
766
+ verifyUrl: typebox282.TString;
767
+ expiresInMinutes: typebox282.TNumber;
768
768
  }>>;
769
769
  }
770
770
  //#endregion
@@ -773,44 +773,44 @@ declare class CredentialService {
773
773
  protected readonly cryptoProvider: CryptoProvider;
774
774
  protected readonly verificationController: HttpVirtualClient<VerificationController>;
775
775
  protected readonly userNotifications: UserNotifications;
776
- readonly users: alepha_orm0.Repository<typebox44.TObject<{
777
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
778
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
779
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
780
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
781
- email: typebox44.TString;
782
- roles: typebox44.TArray<typebox44.TString>;
783
- name: typebox44.TOptional<typebox44.TString>;
784
- firstName: typebox44.TOptional<typebox44.TString>;
785
- lastName: typebox44.TOptional<typebox44.TString>;
786
- picture: typebox44.TOptional<typebox44.TString>;
787
- enabled: alepha_orm0.PgAttr<typebox44.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
788
- emailVerified: alepha_orm0.PgAttr<typebox44.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
776
+ readonly users: alepha_orm20.Repository<typebox282.TObject<{
777
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
778
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
779
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
780
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
781
+ email: typebox282.TString;
782
+ roles: typebox282.TArray<typebox282.TString>;
783
+ name: typebox282.TOptional<typebox282.TString>;
784
+ firstName: typebox282.TOptional<typebox282.TString>;
785
+ lastName: typebox282.TOptional<typebox282.TString>;
786
+ picture: typebox282.TOptional<typebox282.TString>;
787
+ enabled: alepha_orm20.PgAttr<typebox282.TBoolean, typeof alepha_orm20.PG_DEFAULT>;
788
+ emailVerified: alepha_orm20.PgAttr<typebox282.TBoolean, typeof alepha_orm20.PG_DEFAULT>;
789
789
  }>>;
790
- readonly sessions: alepha_orm0.Repository<typebox44.TObject<{
791
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
792
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
793
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
794
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
795
- refreshToken: typebox44.TString;
796
- userId: alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_REF>;
797
- expiresAt: typebox44.TString;
798
- ip: typebox44.TOptional<typebox44.TString>;
799
- userAgent: typebox44.TOptional<typebox44.TObject<{
800
- os: typebox44.TString;
801
- browser: typebox44.TString;
802
- device: typebox44.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
790
+ readonly sessions: alepha_orm20.Repository<typebox282.TObject<{
791
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
792
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
793
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
794
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
795
+ refreshToken: typebox282.TString;
796
+ userId: alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_REF>;
797
+ expiresAt: typebox282.TString;
798
+ ip: typebox282.TOptional<typebox282.TString>;
799
+ userAgent: typebox282.TOptional<typebox282.TObject<{
800
+ os: typebox282.TString;
801
+ browser: typebox282.TString;
802
+ device: typebox282.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
803
803
  }>>;
804
804
  }>>;
805
- readonly identities: alepha_orm0.Repository<typebox44.TObject<{
806
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
807
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
808
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
809
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
810
- userId: alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_REF>;
811
- provider: typebox44.TString;
812
- providerUserId: typebox44.TString;
813
- providerData: typebox44.TOptional<typebox44.TRecord<string, typebox44.TAny>>;
805
+ readonly identities: alepha_orm20.Repository<typebox282.TObject<{
806
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
807
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
808
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
809
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
810
+ userId: alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_REF>;
811
+ provider: typebox282.TString;
812
+ providerUserId: typebox282.TString;
813
+ providerData: typebox282.TOptional<typebox282.TRecord<string, typebox282.TAny>>;
814
814
  }>>;
815
815
  /**
816
816
  * Request a password reset for a user by email.
@@ -834,55 +834,55 @@ declare class CredentialService {
834
834
  }
835
835
  //#endregion
836
836
  //#region src/api-users/entities/users.d.ts
837
- declare const users: alepha_orm0.EntityDescriptor<typebox44.TObject<{
838
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
839
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
840
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
841
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
842
- email: typebox44.TString;
843
- roles: typebox44.TArray<typebox44.TString>;
844
- name: typebox44.TOptional<typebox44.TString>;
845
- firstName: typebox44.TOptional<typebox44.TString>;
846
- lastName: typebox44.TOptional<typebox44.TString>;
847
- picture: typebox44.TOptional<typebox44.TString>;
848
- enabled: alepha_orm0.PgAttr<typebox44.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
849
- emailVerified: alepha_orm0.PgAttr<typebox44.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
837
+ declare const users: alepha_orm20.EntityDescriptor<typebox282.TObject<{
838
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
839
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
840
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
841
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
842
+ email: typebox282.TString;
843
+ roles: typebox282.TArray<typebox282.TString>;
844
+ name: typebox282.TOptional<typebox282.TString>;
845
+ firstName: typebox282.TOptional<typebox282.TString>;
846
+ lastName: typebox282.TOptional<typebox282.TString>;
847
+ picture: typebox282.TOptional<typebox282.TString>;
848
+ enabled: alepha_orm20.PgAttr<typebox282.TBoolean, typeof alepha_orm20.PG_DEFAULT>;
849
+ emailVerified: alepha_orm20.PgAttr<typebox282.TBoolean, typeof alepha_orm20.PG_DEFAULT>;
850
850
  }>>;
851
851
  type UserEntity = Static<typeof users.schema>;
852
852
  //#endregion
853
853
  //#region src/api-users/schemas/createUserSchema.d.ts
854
- declare const createUserSchema: typebox44.TObject<{
855
- email: typebox44.TString;
856
- name: typebox44.TOptional<typebox44.TString>;
857
- firstName: typebox44.TOptional<typebox44.TString>;
858
- lastName: typebox44.TOptional<typebox44.TString>;
859
- picture: typebox44.TOptional<typebox44.TString>;
860
- roles: typebox44.TOptional<typebox44.TArray<typebox44.TString>>;
861
- enabled: typebox44.TOptional<typebox44.TBoolean>;
862
- emailVerified: typebox44.TOptional<typebox44.TBoolean>;
854
+ declare const createUserSchema: typebox282.TObject<{
855
+ email: typebox282.TString;
856
+ name: typebox282.TOptional<typebox282.TString>;
857
+ firstName: typebox282.TOptional<typebox282.TString>;
858
+ lastName: typebox282.TOptional<typebox282.TString>;
859
+ picture: typebox282.TOptional<typebox282.TString>;
860
+ roles: typebox282.TOptional<typebox282.TArray<typebox282.TString>>;
861
+ enabled: typebox282.TOptional<typebox282.TBoolean>;
862
+ emailVerified: typebox282.TOptional<typebox282.TBoolean>;
863
863
  }>;
864
864
  type CreateUser = Static<typeof createUserSchema>;
865
865
  //#endregion
866
866
  //#region src/api-users/schemas/updateUserSchema.d.ts
867
- declare const updateUserSchema: typebox44.TObject<{
868
- name: typebox44.TOptional<typebox44.TString>;
869
- firstName: typebox44.TOptional<typebox44.TString>;
870
- lastName: typebox44.TOptional<typebox44.TString>;
871
- picture: typebox44.TOptional<typebox44.TString>;
872
- roles: typebox44.TOptional<typebox44.TArray<typebox44.TString>>;
873
- enabled: typebox44.TOptional<typebox44.TBoolean>;
867
+ declare const updateUserSchema: typebox282.TObject<{
868
+ name: typebox282.TOptional<typebox282.TString>;
869
+ firstName: typebox282.TOptional<typebox282.TString>;
870
+ lastName: typebox282.TOptional<typebox282.TString>;
871
+ picture: typebox282.TOptional<typebox282.TString>;
872
+ roles: typebox282.TOptional<typebox282.TArray<typebox282.TString>>;
873
+ enabled: typebox282.TOptional<typebox282.TBoolean>;
874
874
  }>;
875
875
  type UpdateUser = Static<typeof updateUserSchema>;
876
876
  //#endregion
877
877
  //#region src/api-users/schemas/userQuerySchema.d.ts
878
- declare const userQuerySchema: typebox44.TObject<{
879
- page: typebox44.TOptional<typebox44.TInteger>;
880
- size: typebox44.TOptional<typebox44.TInteger>;
881
- sort: typebox44.TOptional<typebox44.TString>;
882
- email: typebox44.TOptional<typebox44.TString>;
883
- enabled: typebox44.TOptional<typebox44.TBoolean>;
884
- emailVerified: typebox44.TOptional<typebox44.TBoolean>;
885
- roles: typebox44.TOptional<typebox44.TArray<typebox44.TString>>;
878
+ declare const userQuerySchema: typebox282.TObject<{
879
+ page: typebox282.TOptional<typebox282.TInteger>;
880
+ size: typebox282.TOptional<typebox282.TInteger>;
881
+ sort: typebox282.TOptional<typebox282.TString>;
882
+ email: typebox282.TOptional<typebox282.TString>;
883
+ enabled: typebox282.TOptional<typebox282.TBoolean>;
884
+ emailVerified: typebox282.TOptional<typebox282.TBoolean>;
885
+ roles: typebox282.TOptional<typebox282.TArray<typebox282.TString>>;
886
886
  }>;
887
887
  type UserQuery = Static<typeof userQuerySchema>;
888
888
  //#endregion
@@ -890,19 +890,19 @@ type UserQuery = Static<typeof userQuerySchema>;
890
890
  declare class UserService {
891
891
  protected readonly verificationController: HttpVirtualClient<VerificationController>;
892
892
  protected readonly userNotifications: UserNotifications;
893
- readonly users: alepha_orm0.Repository<typebox44.TObject<{
894
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
895
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
896
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
897
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
898
- email: typebox44.TString;
899
- roles: typebox44.TArray<typebox44.TString>;
900
- name: typebox44.TOptional<typebox44.TString>;
901
- firstName: typebox44.TOptional<typebox44.TString>;
902
- lastName: typebox44.TOptional<typebox44.TString>;
903
- picture: typebox44.TOptional<typebox44.TString>;
904
- enabled: alepha_orm0.PgAttr<typebox44.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
905
- emailVerified: alepha_orm0.PgAttr<typebox44.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
893
+ readonly users: alepha_orm20.Repository<typebox282.TObject<{
894
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
895
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
896
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
897
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
898
+ email: typebox282.TString;
899
+ roles: typebox282.TArray<typebox282.TString>;
900
+ name: typebox282.TOptional<typebox282.TString>;
901
+ firstName: typebox282.TOptional<typebox282.TString>;
902
+ lastName: typebox282.TOptional<typebox282.TString>;
903
+ picture: typebox282.TOptional<typebox282.TString>;
904
+ enabled: alepha_orm20.PgAttr<typebox282.TBoolean, typeof alepha_orm20.PG_DEFAULT>;
905
+ emailVerified: alepha_orm20.PgAttr<typebox282.TBoolean, typeof alepha_orm20.PG_DEFAULT>;
906
906
  }>>;
907
907
  /**
908
908
  * Request email verification for a user.
@@ -957,122 +957,122 @@ declare class UserController {
957
957
  * Find users with pagination and filtering.
958
958
  */
959
959
  readonly findUsers: alepha_server0.ActionDescriptorFn<{
960
- query: typebox44.TObject<{
961
- page: typebox44.TOptional<typebox44.TInteger>;
962
- size: typebox44.TOptional<typebox44.TInteger>;
963
- sort: typebox44.TOptional<typebox44.TString>;
964
- email: typebox44.TOptional<typebox44.TString>;
965
- enabled: typebox44.TOptional<typebox44.TBoolean>;
966
- emailVerified: typebox44.TOptional<typebox44.TBoolean>;
967
- roles: typebox44.TOptional<typebox44.TArray<typebox44.TString>>;
960
+ query: typebox282.TObject<{
961
+ page: typebox282.TOptional<typebox282.TInteger>;
962
+ size: typebox282.TOptional<typebox282.TInteger>;
963
+ sort: typebox282.TOptional<typebox282.TString>;
964
+ email: typebox282.TOptional<typebox282.TString>;
965
+ enabled: typebox282.TOptional<typebox282.TBoolean>;
966
+ emailVerified: typebox282.TOptional<typebox282.TBoolean>;
967
+ roles: typebox282.TOptional<typebox282.TArray<typebox282.TString>>;
968
968
  }>;
969
- response: alepha1.TPage<typebox44.TObject<{
970
- id: typebox44.TString;
971
- version: typebox44.TNumber;
972
- createdAt: typebox44.TString;
973
- updatedAt: typebox44.TString;
974
- email: typebox44.TString;
975
- roles: typebox44.TArray<typebox44.TString>;
976
- name: typebox44.TOptional<typebox44.TString>;
977
- firstName: typebox44.TOptional<typebox44.TString>;
978
- lastName: typebox44.TOptional<typebox44.TString>;
979
- picture: typebox44.TOptional<typebox44.TString>;
980
- enabled: typebox44.TBoolean;
981
- emailVerified: typebox44.TBoolean;
969
+ response: alepha1.TPage<typebox282.TObject<{
970
+ id: typebox282.TString;
971
+ version: typebox282.TNumber;
972
+ createdAt: typebox282.TString;
973
+ updatedAt: typebox282.TString;
974
+ email: typebox282.TString;
975
+ roles: typebox282.TArray<typebox282.TString>;
976
+ name: typebox282.TOptional<typebox282.TString>;
977
+ firstName: typebox282.TOptional<typebox282.TString>;
978
+ lastName: typebox282.TOptional<typebox282.TString>;
979
+ picture: typebox282.TOptional<typebox282.TString>;
980
+ enabled: typebox282.TBoolean;
981
+ emailVerified: typebox282.TBoolean;
982
982
  }>>;
983
983
  }>;
984
984
  /**
985
985
  * Get a user by ID.
986
986
  */
987
987
  readonly getUser: alepha_server0.ActionDescriptorFn<{
988
- params: typebox44.TObject<{
989
- id: typebox44.TString;
988
+ params: typebox282.TObject<{
989
+ id: typebox282.TString;
990
990
  }>;
991
- response: typebox44.TObject<{
992
- id: typebox44.TString;
993
- version: typebox44.TNumber;
994
- createdAt: typebox44.TString;
995
- updatedAt: typebox44.TString;
996
- email: typebox44.TString;
997
- roles: typebox44.TArray<typebox44.TString>;
998
- name: typebox44.TOptional<typebox44.TString>;
999
- firstName: typebox44.TOptional<typebox44.TString>;
1000
- lastName: typebox44.TOptional<typebox44.TString>;
1001
- picture: typebox44.TOptional<typebox44.TString>;
1002
- enabled: typebox44.TBoolean;
1003
- emailVerified: typebox44.TBoolean;
991
+ response: typebox282.TObject<{
992
+ id: typebox282.TString;
993
+ version: typebox282.TNumber;
994
+ createdAt: typebox282.TString;
995
+ updatedAt: typebox282.TString;
996
+ email: typebox282.TString;
997
+ roles: typebox282.TArray<typebox282.TString>;
998
+ name: typebox282.TOptional<typebox282.TString>;
999
+ firstName: typebox282.TOptional<typebox282.TString>;
1000
+ lastName: typebox282.TOptional<typebox282.TString>;
1001
+ picture: typebox282.TOptional<typebox282.TString>;
1002
+ enabled: typebox282.TBoolean;
1003
+ emailVerified: typebox282.TBoolean;
1004
1004
  }>;
1005
1005
  }>;
1006
1006
  /**
1007
1007
  * Create a new user.
1008
1008
  */
1009
1009
  readonly createUser: alepha_server0.ActionDescriptorFn<{
1010
- body: typebox44.TObject<{
1011
- email: typebox44.TString;
1012
- name: typebox44.TOptional<typebox44.TString>;
1013
- firstName: typebox44.TOptional<typebox44.TString>;
1014
- lastName: typebox44.TOptional<typebox44.TString>;
1015
- picture: typebox44.TOptional<typebox44.TString>;
1016
- roles: typebox44.TOptional<typebox44.TArray<typebox44.TString>>;
1017
- enabled: typebox44.TOptional<typebox44.TBoolean>;
1018
- emailVerified: typebox44.TOptional<typebox44.TBoolean>;
1010
+ body: typebox282.TObject<{
1011
+ email: typebox282.TString;
1012
+ name: typebox282.TOptional<typebox282.TString>;
1013
+ firstName: typebox282.TOptional<typebox282.TString>;
1014
+ lastName: typebox282.TOptional<typebox282.TString>;
1015
+ picture: typebox282.TOptional<typebox282.TString>;
1016
+ roles: typebox282.TOptional<typebox282.TArray<typebox282.TString>>;
1017
+ enabled: typebox282.TOptional<typebox282.TBoolean>;
1018
+ emailVerified: typebox282.TOptional<typebox282.TBoolean>;
1019
1019
  }>;
1020
- response: typebox44.TObject<{
1021
- id: typebox44.TString;
1022
- version: typebox44.TNumber;
1023
- createdAt: typebox44.TString;
1024
- updatedAt: typebox44.TString;
1025
- email: typebox44.TString;
1026
- roles: typebox44.TArray<typebox44.TString>;
1027
- name: typebox44.TOptional<typebox44.TString>;
1028
- firstName: typebox44.TOptional<typebox44.TString>;
1029
- lastName: typebox44.TOptional<typebox44.TString>;
1030
- picture: typebox44.TOptional<typebox44.TString>;
1031
- enabled: typebox44.TBoolean;
1032
- emailVerified: typebox44.TBoolean;
1020
+ response: typebox282.TObject<{
1021
+ id: typebox282.TString;
1022
+ version: typebox282.TNumber;
1023
+ createdAt: typebox282.TString;
1024
+ updatedAt: typebox282.TString;
1025
+ email: typebox282.TString;
1026
+ roles: typebox282.TArray<typebox282.TString>;
1027
+ name: typebox282.TOptional<typebox282.TString>;
1028
+ firstName: typebox282.TOptional<typebox282.TString>;
1029
+ lastName: typebox282.TOptional<typebox282.TString>;
1030
+ picture: typebox282.TOptional<typebox282.TString>;
1031
+ enabled: typebox282.TBoolean;
1032
+ emailVerified: typebox282.TBoolean;
1033
1033
  }>;
1034
1034
  }>;
1035
1035
  /**
1036
1036
  * Update a user.
1037
1037
  */
1038
1038
  readonly updateUser: alepha_server0.ActionDescriptorFn<{
1039
- params: typebox44.TObject<{
1040
- id: typebox44.TString;
1039
+ params: typebox282.TObject<{
1040
+ id: typebox282.TString;
1041
1041
  }>;
1042
- body: typebox44.TObject<{
1043
- name: typebox44.TOptional<typebox44.TString>;
1044
- firstName: typebox44.TOptional<typebox44.TString>;
1045
- lastName: typebox44.TOptional<typebox44.TString>;
1046
- picture: typebox44.TOptional<typebox44.TString>;
1047
- roles: typebox44.TOptional<typebox44.TArray<typebox44.TString>>;
1048
- enabled: typebox44.TOptional<typebox44.TBoolean>;
1042
+ body: typebox282.TObject<{
1043
+ name: typebox282.TOptional<typebox282.TString>;
1044
+ firstName: typebox282.TOptional<typebox282.TString>;
1045
+ lastName: typebox282.TOptional<typebox282.TString>;
1046
+ picture: typebox282.TOptional<typebox282.TString>;
1047
+ roles: typebox282.TOptional<typebox282.TArray<typebox282.TString>>;
1048
+ enabled: typebox282.TOptional<typebox282.TBoolean>;
1049
1049
  }>;
1050
- response: typebox44.TObject<{
1051
- id: typebox44.TString;
1052
- version: typebox44.TNumber;
1053
- createdAt: typebox44.TString;
1054
- updatedAt: typebox44.TString;
1055
- email: typebox44.TString;
1056
- roles: typebox44.TArray<typebox44.TString>;
1057
- name: typebox44.TOptional<typebox44.TString>;
1058
- firstName: typebox44.TOptional<typebox44.TString>;
1059
- lastName: typebox44.TOptional<typebox44.TString>;
1060
- picture: typebox44.TOptional<typebox44.TString>;
1061
- enabled: typebox44.TBoolean;
1062
- emailVerified: typebox44.TBoolean;
1050
+ response: typebox282.TObject<{
1051
+ id: typebox282.TString;
1052
+ version: typebox282.TNumber;
1053
+ createdAt: typebox282.TString;
1054
+ updatedAt: typebox282.TString;
1055
+ email: typebox282.TString;
1056
+ roles: typebox282.TArray<typebox282.TString>;
1057
+ name: typebox282.TOptional<typebox282.TString>;
1058
+ firstName: typebox282.TOptional<typebox282.TString>;
1059
+ lastName: typebox282.TOptional<typebox282.TString>;
1060
+ picture: typebox282.TOptional<typebox282.TString>;
1061
+ enabled: typebox282.TBoolean;
1062
+ emailVerified: typebox282.TBoolean;
1063
1063
  }>;
1064
1064
  }>;
1065
1065
  /**
1066
1066
  * Delete a user.
1067
1067
  */
1068
1068
  readonly deleteUser: alepha_server0.ActionDescriptorFn<{
1069
- params: typebox44.TObject<{
1070
- id: typebox44.TString;
1069
+ params: typebox282.TObject<{
1070
+ id: typebox282.TString;
1071
1071
  }>;
1072
- response: typebox44.TObject<{
1073
- ok: typebox44.TBoolean;
1074
- id: typebox44.TOptional<typebox44.TUnion<[typebox44.TString, typebox44.TInteger]>>;
1075
- count: typebox44.TOptional<typebox44.TNumber>;
1072
+ response: typebox282.TObject<{
1073
+ ok: typebox282.TBoolean;
1074
+ id: typebox282.TOptional<typebox282.TUnion<[typebox282.TString, typebox282.TInteger]>>;
1075
+ count: typebox282.TOptional<typebox282.TNumber>;
1076
1076
  }>;
1077
1077
  }>;
1078
1078
  /**
@@ -1080,13 +1080,13 @@ declare class UserController {
1080
1080
  * Generates a reset token using verification service and sends an email to the user.
1081
1081
  */
1082
1082
  requestPasswordReset: alepha_server0.ActionDescriptorFn<{
1083
- body: typebox44.TObject<{
1084
- email: typebox44.TString;
1085
- resetUrl: typebox44.TString;
1083
+ body: typebox282.TObject<{
1084
+ email: typebox282.TString;
1085
+ resetUrl: typebox282.TString;
1086
1086
  }>;
1087
- response: typebox44.TObject<{
1088
- success: typebox44.TBoolean;
1089
- message: typebox44.TString;
1087
+ response: typebox282.TObject<{
1088
+ success: typebox282.TBoolean;
1089
+ message: typebox282.TString;
1090
1090
  }>;
1091
1091
  }>;
1092
1092
  /**
@@ -1094,13 +1094,13 @@ declare class UserController {
1094
1094
  * Checks if the token is valid and not expired.
1095
1095
  */
1096
1096
  validateResetToken: alepha_server0.ActionDescriptorFn<{
1097
- query: typebox44.TObject<{
1098
- email: typebox44.TString;
1099
- token: typebox44.TString;
1097
+ query: typebox282.TObject<{
1098
+ email: typebox282.TString;
1099
+ token: typebox282.TString;
1100
1100
  }>;
1101
- response: typebox44.TObject<{
1102
- valid: typebox44.TBoolean;
1103
- email: typebox44.TOptional<typebox44.TString>;
1101
+ response: typebox282.TObject<{
1102
+ valid: typebox282.TBoolean;
1103
+ email: typebox282.TOptional<typebox282.TString>;
1104
1104
  }>;
1105
1105
  }>;
1106
1106
  /**
@@ -1108,14 +1108,14 @@ declare class UserController {
1108
1108
  * Updates the user's password and invalidates all sessions.
1109
1109
  */
1110
1110
  resetPassword: alepha_server0.ActionDescriptorFn<{
1111
- body: typebox44.TObject<{
1112
- email: typebox44.TString;
1113
- token: typebox44.TString;
1114
- newPassword: typebox44.TString;
1111
+ body: typebox282.TObject<{
1112
+ email: typebox282.TString;
1113
+ token: typebox282.TString;
1114
+ newPassword: typebox282.TString;
1115
1115
  }>;
1116
- response: typebox44.TObject<{
1117
- success: typebox44.TBoolean;
1118
- message: typebox44.TString;
1116
+ response: typebox282.TObject<{
1117
+ success: typebox282.TBoolean;
1118
+ message: typebox282.TString;
1119
1119
  }>;
1120
1120
  }>;
1121
1121
  /**
@@ -1123,13 +1123,13 @@ declare class UserController {
1123
1123
  * Generates a verification token using verification service and sends an email to the user.
1124
1124
  */
1125
1125
  requestEmailVerification: alepha_server0.ActionDescriptorFn<{
1126
- body: typebox44.TObject<{
1127
- email: typebox44.TString;
1128
- verifyUrl: typebox44.TString;
1126
+ body: typebox282.TObject<{
1127
+ email: typebox282.TString;
1128
+ verifyUrl: typebox282.TString;
1129
1129
  }>;
1130
- response: typebox44.TObject<{
1131
- success: typebox44.TBoolean;
1132
- message: typebox44.TString;
1130
+ response: typebox282.TObject<{
1131
+ success: typebox282.TBoolean;
1132
+ message: typebox282.TString;
1133
1133
  }>;
1134
1134
  }>;
1135
1135
  /**
@@ -1137,24 +1137,24 @@ declare class UserController {
1137
1137
  * Updates the user's emailVerified status.
1138
1138
  */
1139
1139
  verifyEmail: alepha_server0.ActionDescriptorFn<{
1140
- body: typebox44.TObject<{
1141
- email: typebox44.TString;
1142
- token: typebox44.TString;
1140
+ body: typebox282.TObject<{
1141
+ email: typebox282.TString;
1142
+ token: typebox282.TString;
1143
1143
  }>;
1144
- response: typebox44.TObject<{
1145
- success: typebox44.TBoolean;
1146
- message: typebox44.TString;
1144
+ response: typebox282.TObject<{
1145
+ success: typebox282.TBoolean;
1146
+ message: typebox282.TString;
1147
1147
  }>;
1148
1148
  }>;
1149
1149
  /**
1150
1150
  * Check if an email is verified.
1151
1151
  */
1152
1152
  checkEmailVerification: alepha_server0.ActionDescriptorFn<{
1153
- query: typebox44.TObject<{
1154
- email: typebox44.TString;
1153
+ query: typebox282.TObject<{
1154
+ email: typebox282.TString;
1155
1155
  }>;
1156
- response: typebox44.TObject<{
1157
- verified: typebox44.TBoolean;
1156
+ response: typebox282.TObject<{
1157
+ verified: typebox282.TBoolean;
1158
1158
  }>;
1159
1159
  }>;
1160
1160
  }
@@ -1179,50 +1179,50 @@ declare const $realmUsers: (options?: {
1179
1179
  }) => alepha_security0.RealmDescriptor;
1180
1180
  //#endregion
1181
1181
  //#region src/api-users/schemas/identityResourceSchema.d.ts
1182
- declare const identityResourceSchema: typebox44.TObject<{
1183
- id: typebox44.TString;
1184
- version: typebox44.TNumber;
1185
- createdAt: typebox44.TString;
1186
- updatedAt: typebox44.TString;
1187
- userId: typebox44.TString;
1188
- provider: typebox44.TString;
1189
- providerUserId: typebox44.TString;
1190
- providerData: typebox44.TOptional<typebox44.TRecord<string, typebox44.TAny>>;
1182
+ declare const identityResourceSchema: typebox282.TObject<{
1183
+ id: typebox282.TString;
1184
+ version: typebox282.TNumber;
1185
+ createdAt: typebox282.TString;
1186
+ updatedAt: typebox282.TString;
1187
+ userId: typebox282.TString;
1188
+ provider: typebox282.TString;
1189
+ providerUserId: typebox282.TString;
1190
+ providerData: typebox282.TOptional<typebox282.TRecord<string, typebox282.TAny>>;
1191
1191
  }>;
1192
1192
  type IdentityResource = Static<typeof identityResourceSchema>;
1193
1193
  //#endregion
1194
1194
  //#region src/api-users/schemas/sessionResourceSchema.d.ts
1195
- declare const sessionResourceSchema: typebox44.TObject<{
1196
- id: typebox44.TString;
1197
- version: typebox44.TNumber;
1198
- createdAt: typebox44.TString;
1199
- updatedAt: typebox44.TString;
1200
- refreshToken: typebox44.TString;
1201
- userId: typebox44.TString;
1202
- expiresAt: typebox44.TString;
1203
- ip: typebox44.TOptional<typebox44.TString>;
1204
- userAgent: typebox44.TOptional<typebox44.TObject<{
1205
- os: typebox44.TString;
1206
- browser: typebox44.TString;
1207
- device: typebox44.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
1195
+ declare const sessionResourceSchema: typebox282.TObject<{
1196
+ id: typebox282.TString;
1197
+ version: typebox282.TNumber;
1198
+ createdAt: typebox282.TString;
1199
+ updatedAt: typebox282.TString;
1200
+ refreshToken: typebox282.TString;
1201
+ userId: typebox282.TString;
1202
+ expiresAt: typebox282.TString;
1203
+ ip: typebox282.TOptional<typebox282.TString>;
1204
+ userAgent: typebox282.TOptional<typebox282.TObject<{
1205
+ os: typebox282.TString;
1206
+ browser: typebox282.TString;
1207
+ device: typebox282.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
1208
1208
  }>>;
1209
1209
  }>;
1210
1210
  type SessionResource = Static<typeof sessionResourceSchema>;
1211
1211
  //#endregion
1212
1212
  //#region src/api-users/schemas/userResourceSchema.d.ts
1213
- declare const userResourceSchema: typebox44.TObject<{
1214
- id: typebox44.TString;
1215
- version: typebox44.TNumber;
1216
- createdAt: typebox44.TString;
1217
- updatedAt: typebox44.TString;
1218
- email: typebox44.TString;
1219
- roles: typebox44.TArray<typebox44.TString>;
1220
- name: typebox44.TOptional<typebox44.TString>;
1221
- firstName: typebox44.TOptional<typebox44.TString>;
1222
- lastName: typebox44.TOptional<typebox44.TString>;
1223
- picture: typebox44.TOptional<typebox44.TString>;
1224
- enabled: typebox44.TBoolean;
1225
- emailVerified: typebox44.TBoolean;
1213
+ declare const userResourceSchema: typebox282.TObject<{
1214
+ id: typebox282.TString;
1215
+ version: typebox282.TNumber;
1216
+ createdAt: typebox282.TString;
1217
+ updatedAt: typebox282.TString;
1218
+ email: typebox282.TString;
1219
+ roles: typebox282.TArray<typebox282.TString>;
1220
+ name: typebox282.TOptional<typebox282.TString>;
1221
+ firstName: typebox282.TOptional<typebox282.TString>;
1222
+ lastName: typebox282.TOptional<typebox282.TString>;
1223
+ picture: typebox282.TOptional<typebox282.TString>;
1224
+ enabled: typebox282.TBoolean;
1225
+ emailVerified: typebox282.TBoolean;
1226
1226
  }>;
1227
1227
  type UserResource = Static<typeof userResourceSchema>;
1228
1228
  //#endregion
@@ -1231,103 +1231,103 @@ declare class SessionService {
1231
1231
  protected readonly alepha: Alepha;
1232
1232
  protected readonly dateTimeProvider: DateTimeProvider;
1233
1233
  protected readonly cryptoProvider: CryptoProvider;
1234
- readonly users: alepha_orm0.Repository<typebox44.TObject<{
1235
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
1236
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
1237
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1238
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1239
- email: typebox44.TString;
1240
- roles: typebox44.TArray<typebox44.TString>;
1241
- name: typebox44.TOptional<typebox44.TString>;
1242
- firstName: typebox44.TOptional<typebox44.TString>;
1243
- lastName: typebox44.TOptional<typebox44.TString>;
1244
- picture: typebox44.TOptional<typebox44.TString>;
1245
- enabled: alepha_orm0.PgAttr<typebox44.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
1246
- emailVerified: alepha_orm0.PgAttr<typebox44.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
1234
+ readonly users: alepha_orm20.Repository<typebox282.TObject<{
1235
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
1236
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
1237
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
1238
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
1239
+ email: typebox282.TString;
1240
+ roles: typebox282.TArray<typebox282.TString>;
1241
+ name: typebox282.TOptional<typebox282.TString>;
1242
+ firstName: typebox282.TOptional<typebox282.TString>;
1243
+ lastName: typebox282.TOptional<typebox282.TString>;
1244
+ picture: typebox282.TOptional<typebox282.TString>;
1245
+ enabled: alepha_orm20.PgAttr<typebox282.TBoolean, typeof alepha_orm20.PG_DEFAULT>;
1246
+ emailVerified: alepha_orm20.PgAttr<typebox282.TBoolean, typeof alepha_orm20.PG_DEFAULT>;
1247
1247
  }>>;
1248
- readonly sessions: alepha_orm0.Repository<typebox44.TObject<{
1249
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
1250
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
1251
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1252
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1253
- refreshToken: typebox44.TString;
1254
- userId: alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_REF>;
1255
- expiresAt: typebox44.TString;
1256
- ip: typebox44.TOptional<typebox44.TString>;
1257
- userAgent: typebox44.TOptional<typebox44.TObject<{
1258
- os: typebox44.TString;
1259
- browser: typebox44.TString;
1260
- device: typebox44.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
1248
+ readonly sessions: alepha_orm20.Repository<typebox282.TObject<{
1249
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
1250
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
1251
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
1252
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
1253
+ refreshToken: typebox282.TString;
1254
+ userId: alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_REF>;
1255
+ expiresAt: typebox282.TString;
1256
+ ip: typebox282.TOptional<typebox282.TString>;
1257
+ userAgent: typebox282.TOptional<typebox282.TObject<{
1258
+ os: typebox282.TString;
1259
+ browser: typebox282.TString;
1260
+ device: typebox282.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
1261
1261
  }>>;
1262
1262
  }>>;
1263
- readonly identities: alepha_orm0.Repository<typebox44.TObject<{
1264
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
1265
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
1266
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1267
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1268
- userId: alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_REF>;
1269
- provider: typebox44.TString;
1270
- providerUserId: typebox44.TString;
1271
- providerData: typebox44.TOptional<typebox44.TRecord<string, typebox44.TAny>>;
1263
+ readonly identities: alepha_orm20.Repository<typebox282.TObject<{
1264
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
1265
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
1266
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
1267
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
1268
+ userId: alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_REF>;
1269
+ provider: typebox282.TString;
1270
+ providerUserId: typebox282.TString;
1271
+ providerData: typebox282.TOptional<typebox282.TRecord<string, typebox282.TAny>>;
1272
1272
  }>>;
1273
- login(provider: string, username: string, password: string): Promise<alepha_orm0.PgStatic<typebox44.TObject<{
1274
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
1275
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
1276
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1277
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1278
- email: typebox44.TString;
1279
- roles: typebox44.TArray<typebox44.TString>;
1280
- name: typebox44.TOptional<typebox44.TString>;
1281
- firstName: typebox44.TOptional<typebox44.TString>;
1282
- lastName: typebox44.TOptional<typebox44.TString>;
1283
- picture: typebox44.TOptional<typebox44.TString>;
1284
- enabled: alepha_orm0.PgAttr<typebox44.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
1285
- emailVerified: alepha_orm0.PgAttr<typebox44.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
1286
- }>, alepha_orm0.PgRelationMap<typebox44.TObject<{
1287
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
1288
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
1289
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1290
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1291
- email: typebox44.TString;
1292
- roles: typebox44.TArray<typebox44.TString>;
1293
- name: typebox44.TOptional<typebox44.TString>;
1294
- firstName: typebox44.TOptional<typebox44.TString>;
1295
- lastName: typebox44.TOptional<typebox44.TString>;
1296
- picture: typebox44.TOptional<typebox44.TString>;
1297
- enabled: alepha_orm0.PgAttr<typebox44.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
1298
- emailVerified: alepha_orm0.PgAttr<typebox44.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
1273
+ login(provider: string, username: string, password: string): Promise<alepha_orm20.PgStatic<typebox282.TObject<{
1274
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
1275
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
1276
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
1277
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
1278
+ email: typebox282.TString;
1279
+ roles: typebox282.TArray<typebox282.TString>;
1280
+ name: typebox282.TOptional<typebox282.TString>;
1281
+ firstName: typebox282.TOptional<typebox282.TString>;
1282
+ lastName: typebox282.TOptional<typebox282.TString>;
1283
+ picture: typebox282.TOptional<typebox282.TString>;
1284
+ enabled: alepha_orm20.PgAttr<typebox282.TBoolean, typeof alepha_orm20.PG_DEFAULT>;
1285
+ emailVerified: alepha_orm20.PgAttr<typebox282.TBoolean, typeof alepha_orm20.PG_DEFAULT>;
1286
+ }>, alepha_orm20.PgRelationMap<typebox282.TObject<{
1287
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
1288
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
1289
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
1290
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
1291
+ email: typebox282.TString;
1292
+ roles: typebox282.TArray<typebox282.TString>;
1293
+ name: typebox282.TOptional<typebox282.TString>;
1294
+ firstName: typebox282.TOptional<typebox282.TString>;
1295
+ lastName: typebox282.TOptional<typebox282.TString>;
1296
+ picture: typebox282.TOptional<typebox282.TString>;
1297
+ enabled: alepha_orm20.PgAttr<typebox282.TBoolean, typeof alepha_orm20.PG_DEFAULT>;
1298
+ emailVerified: alepha_orm20.PgAttr<typebox282.TBoolean, typeof alepha_orm20.PG_DEFAULT>;
1299
1299
  }>>>>;
1300
1300
  createSession(user: UserAccount, expiresIn: number): Promise<{
1301
1301
  refreshToken: string;
1302
1302
  sessionId: string;
1303
1303
  }>;
1304
1304
  refreshSession(refreshToken: string): Promise<{
1305
- user: alepha_orm0.PgStatic<typebox44.TObject<{
1306
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
1307
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
1308
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1309
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1310
- email: typebox44.TString;
1311
- roles: typebox44.TArray<typebox44.TString>;
1312
- name: typebox44.TOptional<typebox44.TString>;
1313
- firstName: typebox44.TOptional<typebox44.TString>;
1314
- lastName: typebox44.TOptional<typebox44.TString>;
1315
- picture: typebox44.TOptional<typebox44.TString>;
1316
- enabled: alepha_orm0.PgAttr<typebox44.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
1317
- emailVerified: alepha_orm0.PgAttr<typebox44.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
1318
- }>, alepha_orm0.PgRelationMap<typebox44.TObject<{
1319
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
1320
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
1321
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1322
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<typebox44.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
1323
- email: typebox44.TString;
1324
- roles: typebox44.TArray<typebox44.TString>;
1325
- name: typebox44.TOptional<typebox44.TString>;
1326
- firstName: typebox44.TOptional<typebox44.TString>;
1327
- lastName: typebox44.TOptional<typebox44.TString>;
1328
- picture: typebox44.TOptional<typebox44.TString>;
1329
- enabled: alepha_orm0.PgAttr<typebox44.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
1330
- emailVerified: alepha_orm0.PgAttr<typebox44.TBoolean, typeof alepha_orm0.PG_DEFAULT>;
1305
+ user: alepha_orm20.PgStatic<typebox282.TObject<{
1306
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
1307
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
1308
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
1309
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
1310
+ email: typebox282.TString;
1311
+ roles: typebox282.TArray<typebox282.TString>;
1312
+ name: typebox282.TOptional<typebox282.TString>;
1313
+ firstName: typebox282.TOptional<typebox282.TString>;
1314
+ lastName: typebox282.TOptional<typebox282.TString>;
1315
+ picture: typebox282.TOptional<typebox282.TString>;
1316
+ enabled: alepha_orm20.PgAttr<typebox282.TBoolean, typeof alepha_orm20.PG_DEFAULT>;
1317
+ emailVerified: alepha_orm20.PgAttr<typebox282.TBoolean, typeof alepha_orm20.PG_DEFAULT>;
1318
+ }>, alepha_orm20.PgRelationMap<typebox282.TObject<{
1319
+ id: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_PRIMARY_KEY>, typeof alepha_orm20.PG_DEFAULT>;
1320
+ version: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TInteger, typeof alepha_orm20.PG_VERSION>, typeof alepha_orm20.PG_DEFAULT>;
1321
+ createdAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_CREATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
1322
+ updatedAt: alepha_orm20.PgAttr<alepha_orm20.PgAttr<typebox282.TString, typeof alepha_orm20.PG_UPDATED_AT>, typeof alepha_orm20.PG_DEFAULT>;
1323
+ email: typebox282.TString;
1324
+ roles: typebox282.TArray<typebox282.TString>;
1325
+ name: typebox282.TOptional<typebox282.TString>;
1326
+ firstName: typebox282.TOptional<typebox282.TString>;
1327
+ lastName: typebox282.TOptional<typebox282.TString>;
1328
+ picture: typebox282.TOptional<typebox282.TString>;
1329
+ enabled: alepha_orm20.PgAttr<typebox282.TBoolean, typeof alepha_orm20.PG_DEFAULT>;
1330
+ emailVerified: alepha_orm20.PgAttr<typebox282.TBoolean, typeof alepha_orm20.PG_DEFAULT>;
1331
1331
  }>>>;
1332
1332
  expiresIn: number;
1333
1333
  sessionId: string;