@krak-stack/auth 0.2.1 → 0.2.2

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.
package/dist/api.d.ts CHANGED
@@ -10,6 +10,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
10
10
  readonly email: import("effect/Schema").String;
11
11
  readonly emailVerified: import("effect/Schema").Boolean;
12
12
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
13
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
14
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
15
+ readonly email: import("effect/Schema").NonEmptyString;
16
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
17
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
18
+ readonly label: import("effect/Schema").NonEmptyString;
19
+ }>>;
20
+ }>>>;
21
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
22
+ readonly number: import("effect/Schema").NonEmptyString;
23
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
24
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
25
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
26
+ readonly label: import("effect/Schema").NonEmptyString;
27
+ }>>;
28
+ }>>>;
29
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
30
+ readonly url: import("effect/Schema").NonEmptyString;
31
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
32
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
33
+ readonly label: import("effect/Schema").NonEmptyString;
34
+ }>>;
35
+ }>>>;
36
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
37
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
38
+ readonly url: import("effect/Schema").NonEmptyString;
39
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
40
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
41
+ readonly label: import("effect/Schema").NonEmptyString;
42
+ }>>;
43
+ }>>>;
44
+ }>, import("effect/Schema").Unknown, never, never>>>;
13
45
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
14
46
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
15
47
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -41,6 +73,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
41
73
  readonly email: import("effect/Schema").String;
42
74
  readonly emailVerified: import("effect/Schema").Boolean;
43
75
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
76
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
77
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
78
+ readonly email: import("effect/Schema").NonEmptyString;
79
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
80
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
81
+ readonly label: import("effect/Schema").NonEmptyString;
82
+ }>>;
83
+ }>>>;
84
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
85
+ readonly number: import("effect/Schema").NonEmptyString;
86
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
87
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
88
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
89
+ readonly label: import("effect/Schema").NonEmptyString;
90
+ }>>;
91
+ }>>>;
92
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
93
+ readonly url: import("effect/Schema").NonEmptyString;
94
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
95
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
96
+ readonly label: import("effect/Schema").NonEmptyString;
97
+ }>>;
98
+ }>>>;
99
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
100
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
101
+ readonly url: import("effect/Schema").NonEmptyString;
102
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
103
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
104
+ readonly label: import("effect/Schema").NonEmptyString;
105
+ }>>;
106
+ }>>>;
107
+ }>, import("effect/Schema").Unknown, never, never>>>;
44
108
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
45
109
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
46
110
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -70,6 +134,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
70
134
  readonly email: import("effect/Schema").String;
71
135
  readonly emailVerified: import("effect/Schema").Boolean;
72
136
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
137
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
138
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
139
+ readonly email: import("effect/Schema").NonEmptyString;
140
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
141
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
142
+ readonly label: import("effect/Schema").NonEmptyString;
143
+ }>>;
144
+ }>>>;
145
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
146
+ readonly number: import("effect/Schema").NonEmptyString;
147
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
148
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
149
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
150
+ readonly label: import("effect/Schema").NonEmptyString;
151
+ }>>;
152
+ }>>>;
153
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
154
+ readonly url: import("effect/Schema").NonEmptyString;
155
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
156
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
157
+ readonly label: import("effect/Schema").NonEmptyString;
158
+ }>>;
159
+ }>>>;
160
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
161
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
162
+ readonly url: import("effect/Schema").NonEmptyString;
163
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
164
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
165
+ readonly label: import("effect/Schema").NonEmptyString;
166
+ }>>;
167
+ }>>>;
168
+ }>, import("effect/Schema").Unknown, never, never>>>;
73
169
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
74
170
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
75
171
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -88,6 +184,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
88
184
  readonly email: import("effect/Schema").String;
89
185
  readonly emailVerified: import("effect/Schema").Boolean;
90
186
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
187
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
188
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
189
+ readonly email: import("effect/Schema").NonEmptyString;
190
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
191
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
192
+ readonly label: import("effect/Schema").NonEmptyString;
193
+ }>>;
194
+ }>>>;
195
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
196
+ readonly number: import("effect/Schema").NonEmptyString;
197
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
198
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
199
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
200
+ readonly label: import("effect/Schema").NonEmptyString;
201
+ }>>;
202
+ }>>>;
203
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
204
+ readonly url: import("effect/Schema").NonEmptyString;
205
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
206
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
207
+ readonly label: import("effect/Schema").NonEmptyString;
208
+ }>>;
209
+ }>>>;
210
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
211
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
212
+ readonly url: import("effect/Schema").NonEmptyString;
213
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
214
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
215
+ readonly label: import("effect/Schema").NonEmptyString;
216
+ }>>;
217
+ }>>>;
218
+ }>, import("effect/Schema").Unknown, never, never>>>;
91
219
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
92
220
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
93
221
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -150,6 +278,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
150
278
  readonly email: import("effect/Schema").String;
151
279
  readonly emailVerified: import("effect/Schema").Boolean;
152
280
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
281
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
282
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
283
+ readonly email: import("effect/Schema").NonEmptyString;
284
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
285
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
286
+ readonly label: import("effect/Schema").NonEmptyString;
287
+ }>>;
288
+ }>>>;
289
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
290
+ readonly number: import("effect/Schema").NonEmptyString;
291
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
292
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
293
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
294
+ readonly label: import("effect/Schema").NonEmptyString;
295
+ }>>;
296
+ }>>>;
297
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
298
+ readonly url: import("effect/Schema").NonEmptyString;
299
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
300
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
301
+ readonly label: import("effect/Schema").NonEmptyString;
302
+ }>>;
303
+ }>>>;
304
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
305
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
306
+ readonly url: import("effect/Schema").NonEmptyString;
307
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
308
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
309
+ readonly label: import("effect/Schema").NonEmptyString;
310
+ }>>;
311
+ }>>>;
312
+ }>, import("effect/Schema").Unknown, never, never>>>;
153
313
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
154
314
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
155
315
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -182,6 +342,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
182
342
  readonly email: import("effect/Schema").String;
183
343
  readonly emailVerified: import("effect/Schema").Boolean;
184
344
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
345
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
346
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
347
+ readonly email: import("effect/Schema").NonEmptyString;
348
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
349
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
350
+ readonly label: import("effect/Schema").NonEmptyString;
351
+ }>>;
352
+ }>>>;
353
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
354
+ readonly number: import("effect/Schema").NonEmptyString;
355
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
356
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
357
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
358
+ readonly label: import("effect/Schema").NonEmptyString;
359
+ }>>;
360
+ }>>>;
361
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
362
+ readonly url: import("effect/Schema").NonEmptyString;
363
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
364
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
365
+ readonly label: import("effect/Schema").NonEmptyString;
366
+ }>>;
367
+ }>>>;
368
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
369
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
370
+ readonly url: import("effect/Schema").NonEmptyString;
371
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
372
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
373
+ readonly label: import("effect/Schema").NonEmptyString;
374
+ }>>;
375
+ }>>>;
376
+ }>, import("effect/Schema").Unknown, never, never>>>;
185
377
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
186
378
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
187
379
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -216,6 +408,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
216
408
  readonly email: import("effect/Schema").String;
217
409
  readonly emailVerified: import("effect/Schema").Boolean;
218
410
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
411
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
412
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
413
+ readonly email: import("effect/Schema").NonEmptyString;
414
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
415
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
416
+ readonly label: import("effect/Schema").NonEmptyString;
417
+ }>>;
418
+ }>>>;
419
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
420
+ readonly number: import("effect/Schema").NonEmptyString;
421
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
422
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
423
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
424
+ readonly label: import("effect/Schema").NonEmptyString;
425
+ }>>;
426
+ }>>>;
427
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
428
+ readonly url: import("effect/Schema").NonEmptyString;
429
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
430
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
431
+ readonly label: import("effect/Schema").NonEmptyString;
432
+ }>>;
433
+ }>>>;
434
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
435
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
436
+ readonly url: import("effect/Schema").NonEmptyString;
437
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
438
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
439
+ readonly label: import("effect/Schema").NonEmptyString;
440
+ }>>;
441
+ }>>>;
442
+ }>, import("effect/Schema").Unknown, never, never>>>;
219
443
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
220
444
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
221
445
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -326,16 +550,39 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
326
550
  readonly id: import("effect/Schema").String;
327
551
  readonly name: import("effect/Schema").String;
328
552
  readonly email: import("effect/Schema").String;
329
- readonly emailVerified: import("effect/Schema").Boolean;
330
- readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
331
- readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
332
- readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
333
- readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
334
- readonly banExpires: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").DateFromString>>;
335
- readonly twoFactorEnabled: import("effect/Schema").optional<import("effect/Schema").Boolean>;
336
- readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
337
- readonly createdAt: import("effect/Schema").DateFromString;
338
- readonly updatedAt: import("effect/Schema").DateFromString;
553
+ readonly image: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
554
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
555
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
556
+ readonly email: import("effect/Schema").NonEmptyString;
557
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
558
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
559
+ readonly label: import("effect/Schema").NonEmptyString;
560
+ }>>;
561
+ }>>>;
562
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
563
+ readonly number: import("effect/Schema").NonEmptyString;
564
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
565
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
566
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
567
+ readonly label: import("effect/Schema").NonEmptyString;
568
+ }>>;
569
+ }>>>;
570
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
571
+ readonly url: import("effect/Schema").NonEmptyString;
572
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
573
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
574
+ readonly label: import("effect/Schema").NonEmptyString;
575
+ }>>;
576
+ }>>>;
577
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
578
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
579
+ readonly url: import("effect/Schema").NonEmptyString;
580
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
581
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
582
+ readonly label: import("effect/Schema").NonEmptyString;
583
+ }>>;
584
+ }>>>;
585
+ }>, import("effect/Schema").Unknown, never, never>>>;
339
586
  }>;
340
587
  }>>;
341
588
  readonly invitations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
@@ -390,6 +637,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
390
637
  readonly email: import("effect/Schema").String;
391
638
  readonly emailVerified: import("effect/Schema").Boolean;
392
639
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
640
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
641
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
642
+ readonly email: import("effect/Schema").NonEmptyString;
643
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
644
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
645
+ readonly label: import("effect/Schema").NonEmptyString;
646
+ }>>;
647
+ }>>>;
648
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
649
+ readonly number: import("effect/Schema").NonEmptyString;
650
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
651
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
652
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
653
+ readonly label: import("effect/Schema").NonEmptyString;
654
+ }>>;
655
+ }>>>;
656
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
657
+ readonly url: import("effect/Schema").NonEmptyString;
658
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
659
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
660
+ readonly label: import("effect/Schema").NonEmptyString;
661
+ }>>;
662
+ }>>>;
663
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
664
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
665
+ readonly url: import("effect/Schema").NonEmptyString;
666
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
667
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
668
+ readonly label: import("effect/Schema").NonEmptyString;
669
+ }>>;
670
+ }>>>;
671
+ }>, import("effect/Schema").Unknown, never, never>>>;
393
672
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
394
673
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
395
674
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -467,16 +746,39 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
467
746
  readonly id: import("effect/Schema").String;
468
747
  readonly name: import("effect/Schema").String;
469
748
  readonly email: import("effect/Schema").String;
470
- readonly emailVerified: import("effect/Schema").Boolean;
471
- readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
472
- readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
473
- readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
474
- readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
475
- readonly banExpires: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").DateFromString>>;
476
- readonly twoFactorEnabled: import("effect/Schema").optional<import("effect/Schema").Boolean>;
477
- readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
478
- readonly createdAt: import("effect/Schema").DateFromString;
479
- readonly updatedAt: import("effect/Schema").DateFromString;
749
+ readonly image: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
750
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
751
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
752
+ readonly email: import("effect/Schema").NonEmptyString;
753
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
754
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
755
+ readonly label: import("effect/Schema").NonEmptyString;
756
+ }>>;
757
+ }>>>;
758
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
759
+ readonly number: import("effect/Schema").NonEmptyString;
760
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
761
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
762
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
763
+ readonly label: import("effect/Schema").NonEmptyString;
764
+ }>>;
765
+ }>>>;
766
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
767
+ readonly url: import("effect/Schema").NonEmptyString;
768
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
769
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
770
+ readonly label: import("effect/Schema").NonEmptyString;
771
+ }>>;
772
+ }>>>;
773
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
774
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
775
+ readonly url: import("effect/Schema").NonEmptyString;
776
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
777
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
778
+ readonly label: import("effect/Schema").NonEmptyString;
779
+ }>>;
780
+ }>>>;
781
+ }>, import("effect/Schema").Unknown, never, never>>>;
480
782
  }>;
481
783
  }>>;
482
784
  readonly total: import("effect/Schema").Number;
@@ -596,20 +898,52 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
596
898
  readonly email: import("effect/Schema").String;
597
899
  readonly emailVerified: import("effect/Schema").Boolean;
598
900
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
599
- readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
600
- readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
601
- readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
602
- readonly banExpires: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").DateFromString>>;
603
- readonly twoFactorEnabled: import("effect/Schema").optional<import("effect/Schema").Boolean>;
604
- readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
605
- readonly createdAt: import("effect/Schema").DateFromString;
606
- readonly updatedAt: import("effect/Schema").DateFromString;
607
- }>;
608
- }>, import("effect/Schema").Struct<{
609
- readonly twoFactorRedirect: import("effect/Schema").Literal<true>;
610
- readonly twoFactorMethods: import("effect/Schema").$Array<import("effect/Schema").String>;
611
- readonly url: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
612
- }>]>>, import("effect/Schema").toCodecJson<typeof import("./auth/schema.js").AuthBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"signInEmailOtp", "POST", "/api/auth/sign-in/email-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
901
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
902
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
903
+ readonly email: import("effect/Schema").NonEmptyString;
904
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
905
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
906
+ readonly label: import("effect/Schema").NonEmptyString;
907
+ }>>;
908
+ }>>>;
909
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
910
+ readonly number: import("effect/Schema").NonEmptyString;
911
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
912
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
913
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
914
+ readonly label: import("effect/Schema").NonEmptyString;
915
+ }>>;
916
+ }>>>;
917
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
918
+ readonly url: import("effect/Schema").NonEmptyString;
919
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
920
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
921
+ readonly label: import("effect/Schema").NonEmptyString;
922
+ }>>;
923
+ }>>>;
924
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
925
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
926
+ readonly url: import("effect/Schema").NonEmptyString;
927
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
928
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
929
+ readonly label: import("effect/Schema").NonEmptyString;
930
+ }>>;
931
+ }>>>;
932
+ }>, import("effect/Schema").Unknown, never, never>>>;
933
+ readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
934
+ readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
935
+ readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
936
+ readonly banExpires: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").DateFromString>>;
937
+ readonly twoFactorEnabled: import("effect/Schema").optional<import("effect/Schema").Boolean>;
938
+ readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
939
+ readonly createdAt: import("effect/Schema").DateFromString;
940
+ readonly updatedAt: import("effect/Schema").DateFromString;
941
+ }>;
942
+ }>, import("effect/Schema").Struct<{
943
+ readonly twoFactorRedirect: import("effect/Schema").Literal<true>;
944
+ readonly twoFactorMethods: import("effect/Schema").$Array<import("effect/Schema").String>;
945
+ readonly url: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
946
+ }>]>>, import("effect/Schema").toCodecJson<typeof import("./auth/schema.js").AuthBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"signInEmailOtp", "POST", "/api/auth/sign-in/email-otp", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
613
947
  readonly email: import("effect/Schema").String;
614
948
  readonly otp: import("effect/Schema").String;
615
949
  readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -622,6 +956,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
622
956
  readonly email: import("effect/Schema").String;
623
957
  readonly emailVerified: import("effect/Schema").Boolean;
624
958
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
959
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
960
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
961
+ readonly email: import("effect/Schema").NonEmptyString;
962
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
963
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
964
+ readonly label: import("effect/Schema").NonEmptyString;
965
+ }>>;
966
+ }>>>;
967
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
968
+ readonly number: import("effect/Schema").NonEmptyString;
969
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
970
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
971
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
972
+ readonly label: import("effect/Schema").NonEmptyString;
973
+ }>>;
974
+ }>>>;
975
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
976
+ readonly url: import("effect/Schema").NonEmptyString;
977
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
978
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
979
+ readonly label: import("effect/Schema").NonEmptyString;
980
+ }>>;
981
+ }>>>;
982
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
983
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
984
+ readonly url: import("effect/Schema").NonEmptyString;
985
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
986
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
987
+ readonly label: import("effect/Schema").NonEmptyString;
988
+ }>>;
989
+ }>>>;
990
+ }>, import("effect/Schema").Unknown, never, never>>>;
625
991
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
626
992
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
627
993
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -666,6 +1032,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
666
1032
  readonly email: import("effect/Schema").String;
667
1033
  readonly emailVerified: import("effect/Schema").Boolean;
668
1034
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
1035
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
1036
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1037
+ readonly email: import("effect/Schema").NonEmptyString;
1038
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1039
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1040
+ readonly label: import("effect/Schema").NonEmptyString;
1041
+ }>>;
1042
+ }>>>;
1043
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1044
+ readonly number: import("effect/Schema").NonEmptyString;
1045
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
1046
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1047
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1048
+ readonly label: import("effect/Schema").NonEmptyString;
1049
+ }>>;
1050
+ }>>>;
1051
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1052
+ readonly url: import("effect/Schema").NonEmptyString;
1053
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1054
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1055
+ readonly label: import("effect/Schema").NonEmptyString;
1056
+ }>>;
1057
+ }>>>;
1058
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1059
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
1060
+ readonly url: import("effect/Schema").NonEmptyString;
1061
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1062
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1063
+ readonly label: import("effect/Schema").NonEmptyString;
1064
+ }>>;
1065
+ }>>>;
1066
+ }>, import("effect/Schema").Unknown, never, never>>>;
669
1067
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
670
1068
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
671
1069
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -705,6 +1103,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
705
1103
  readonly email: import("effect/Schema").String;
706
1104
  readonly emailVerified: import("effect/Schema").Boolean;
707
1105
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
1106
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
1107
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1108
+ readonly email: import("effect/Schema").NonEmptyString;
1109
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1110
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1111
+ readonly label: import("effect/Schema").NonEmptyString;
1112
+ }>>;
1113
+ }>>>;
1114
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1115
+ readonly number: import("effect/Schema").NonEmptyString;
1116
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
1117
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1118
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1119
+ readonly label: import("effect/Schema").NonEmptyString;
1120
+ }>>;
1121
+ }>>>;
1122
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1123
+ readonly url: import("effect/Schema").NonEmptyString;
1124
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1125
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1126
+ readonly label: import("effect/Schema").NonEmptyString;
1127
+ }>>;
1128
+ }>>>;
1129
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1130
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
1131
+ readonly url: import("effect/Schema").NonEmptyString;
1132
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1133
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1134
+ readonly label: import("effect/Schema").NonEmptyString;
1135
+ }>>;
1136
+ }>>>;
1137
+ }>, import("effect/Schema").Unknown, never, never>>>;
708
1138
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
709
1139
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
710
1140
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -726,6 +1156,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
726
1156
  readonly email: import("effect/Schema").String;
727
1157
  readonly emailVerified: import("effect/Schema").Boolean;
728
1158
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
1159
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
1160
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1161
+ readonly email: import("effect/Schema").NonEmptyString;
1162
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1163
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1164
+ readonly label: import("effect/Schema").NonEmptyString;
1165
+ }>>;
1166
+ }>>>;
1167
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1168
+ readonly number: import("effect/Schema").NonEmptyString;
1169
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
1170
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1171
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1172
+ readonly label: import("effect/Schema").NonEmptyString;
1173
+ }>>;
1174
+ }>>>;
1175
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1176
+ readonly url: import("effect/Schema").NonEmptyString;
1177
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1178
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1179
+ readonly label: import("effect/Schema").NonEmptyString;
1180
+ }>>;
1181
+ }>>>;
1182
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1183
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
1184
+ readonly url: import("effect/Schema").NonEmptyString;
1185
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1186
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1187
+ readonly label: import("effect/Schema").NonEmptyString;
1188
+ }>>;
1189
+ }>>>;
1190
+ }>, import("effect/Schema").Unknown, never, never>>>;
729
1191
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
730
1192
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
731
1193
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -747,6 +1209,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
747
1209
  readonly email: import("effect/Schema").String;
748
1210
  readonly emailVerified: import("effect/Schema").Boolean;
749
1211
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
1212
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
1213
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1214
+ readonly email: import("effect/Schema").NonEmptyString;
1215
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1216
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1217
+ readonly label: import("effect/Schema").NonEmptyString;
1218
+ }>>;
1219
+ }>>>;
1220
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1221
+ readonly number: import("effect/Schema").NonEmptyString;
1222
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
1223
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1224
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1225
+ readonly label: import("effect/Schema").NonEmptyString;
1226
+ }>>;
1227
+ }>>>;
1228
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1229
+ readonly url: import("effect/Schema").NonEmptyString;
1230
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1231
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1232
+ readonly label: import("effect/Schema").NonEmptyString;
1233
+ }>>;
1234
+ }>>>;
1235
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1236
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
1237
+ readonly url: import("effect/Schema").NonEmptyString;
1238
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1239
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1240
+ readonly label: import("effect/Schema").NonEmptyString;
1241
+ }>>;
1242
+ }>>>;
1243
+ }>, import("effect/Schema").Unknown, never, never>>>;
750
1244
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
751
1245
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
752
1246
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -764,6 +1258,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
764
1258
  }>>, import("effect/Schema").toCodecJson<typeof import("./auth/schema.js").AuthBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateUser", "POST", "/api/auth/update-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
765
1259
  readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
766
1260
  readonly image: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1261
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
1262
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1263
+ readonly email: import("effect/Schema").NonEmptyString;
1264
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1265
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1266
+ readonly label: import("effect/Schema").NonEmptyString;
1267
+ }>>;
1268
+ }>>>;
1269
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1270
+ readonly number: import("effect/Schema").NonEmptyString;
1271
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
1272
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1273
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1274
+ readonly label: import("effect/Schema").NonEmptyString;
1275
+ }>>;
1276
+ }>>>;
1277
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1278
+ readonly url: import("effect/Schema").NonEmptyString;
1279
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1280
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1281
+ readonly label: import("effect/Schema").NonEmptyString;
1282
+ }>>;
1283
+ }>>>;
1284
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1285
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
1286
+ readonly url: import("effect/Schema").NonEmptyString;
1287
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1288
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1289
+ readonly label: import("effect/Schema").NonEmptyString;
1290
+ }>>;
1291
+ }>>>;
1292
+ }>>>;
767
1293
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
768
1294
  readonly status: import("effect/Schema").Boolean;
769
1295
  }>>, import("effect/Schema").toCodecJson<typeof import("./auth/schema.js").AuthBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"verifyEmailOtp", "POST", "/api/auth/email-otp/verify-email", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -778,6 +1304,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
778
1304
  readonly email: import("effect/Schema").String;
779
1305
  readonly emailVerified: import("effect/Schema").Boolean;
780
1306
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
1307
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
1308
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1309
+ readonly email: import("effect/Schema").NonEmptyString;
1310
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1311
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1312
+ readonly label: import("effect/Schema").NonEmptyString;
1313
+ }>>;
1314
+ }>>>;
1315
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1316
+ readonly number: import("effect/Schema").NonEmptyString;
1317
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
1318
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1319
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1320
+ readonly label: import("effect/Schema").NonEmptyString;
1321
+ }>>;
1322
+ }>>>;
1323
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1324
+ readonly url: import("effect/Schema").NonEmptyString;
1325
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1326
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1327
+ readonly label: import("effect/Schema").NonEmptyString;
1328
+ }>>;
1329
+ }>>>;
1330
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1331
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
1332
+ readonly url: import("effect/Schema").NonEmptyString;
1333
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1334
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1335
+ readonly label: import("effect/Schema").NonEmptyString;
1336
+ }>>;
1337
+ }>>>;
1338
+ }>, import("effect/Schema").Unknown, never, never>>>;
781
1339
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
782
1340
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
783
1341
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -1006,7 +1564,39 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
1006
1564
  readonly email: import("effect/Schema").String;
1007
1565
  readonly emailVerified: import("effect/Schema").Boolean;
1008
1566
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
1009
- readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
1567
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
1568
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1569
+ readonly email: import("effect/Schema").NonEmptyString;
1570
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1571
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1572
+ readonly label: import("effect/Schema").NonEmptyString;
1573
+ }>>;
1574
+ }>>>;
1575
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1576
+ readonly number: import("effect/Schema").NonEmptyString;
1577
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
1578
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1579
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1580
+ readonly label: import("effect/Schema").NonEmptyString;
1581
+ }>>;
1582
+ }>>>;
1583
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1584
+ readonly url: import("effect/Schema").NonEmptyString;
1585
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1586
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1587
+ readonly label: import("effect/Schema").NonEmptyString;
1588
+ }>>;
1589
+ }>>>;
1590
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1591
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
1592
+ readonly url: import("effect/Schema").NonEmptyString;
1593
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1594
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1595
+ readonly label: import("effect/Schema").NonEmptyString;
1596
+ }>>;
1597
+ }>>>;
1598
+ }>, import("effect/Schema").Unknown, never, never>>>;
1599
+ readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
1010
1600
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
1011
1601
  readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1012
1602
  readonly createdAt: import("effect/Schema").Date;
@@ -1146,6 +1736,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
1146
1736
  readonly email: import("effect/Schema").String;
1147
1737
  readonly emailVerified: import("effect/Schema").Boolean;
1148
1738
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
1739
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
1740
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1741
+ readonly email: import("effect/Schema").NonEmptyString;
1742
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1743
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1744
+ readonly label: import("effect/Schema").NonEmptyString;
1745
+ }>>;
1746
+ }>>>;
1747
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1748
+ readonly number: import("effect/Schema").NonEmptyString;
1749
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
1750
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1751
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1752
+ readonly label: import("effect/Schema").NonEmptyString;
1753
+ }>>;
1754
+ }>>>;
1755
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1756
+ readonly url: import("effect/Schema").NonEmptyString;
1757
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1758
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1759
+ readonly label: import("effect/Schema").NonEmptyString;
1760
+ }>>;
1761
+ }>>>;
1762
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1763
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
1764
+ readonly url: import("effect/Schema").NonEmptyString;
1765
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1766
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1767
+ readonly label: import("effect/Schema").NonEmptyString;
1768
+ }>>;
1769
+ }>>>;
1770
+ }>, import("effect/Schema").Unknown, never, never>>>;
1149
1771
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
1150
1772
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
1151
1773
  readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -1224,6 +1846,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
1224
1846
  readonly email: import("effect/Schema").String;
1225
1847
  readonly emailVerified: import("effect/Schema").Boolean;
1226
1848
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
1849
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
1850
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1851
+ readonly email: import("effect/Schema").NonEmptyString;
1852
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1853
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1854
+ readonly label: import("effect/Schema").NonEmptyString;
1855
+ }>>;
1856
+ }>>>;
1857
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1858
+ readonly number: import("effect/Schema").NonEmptyString;
1859
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
1860
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1861
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1862
+ readonly label: import("effect/Schema").NonEmptyString;
1863
+ }>>;
1864
+ }>>>;
1865
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1866
+ readonly url: import("effect/Schema").NonEmptyString;
1867
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1868
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1869
+ readonly label: import("effect/Schema").NonEmptyString;
1870
+ }>>;
1871
+ }>>>;
1872
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1873
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
1874
+ readonly url: import("effect/Schema").NonEmptyString;
1875
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1876
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1877
+ readonly label: import("effect/Schema").NonEmptyString;
1878
+ }>>;
1879
+ }>>>;
1880
+ }>, import("effect/Schema").Unknown, never, never>>>;
1227
1881
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
1228
1882
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
1229
1883
  readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -1242,6 +1896,38 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
1242
1896
  readonly email: import("effect/Schema").String;
1243
1897
  readonly emailVerified: import("effect/Schema").Boolean;
1244
1898
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
1899
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
1900
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1901
+ readonly email: import("effect/Schema").NonEmptyString;
1902
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1903
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1904
+ readonly label: import("effect/Schema").NonEmptyString;
1905
+ }>>;
1906
+ }>>>;
1907
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1908
+ readonly number: import("effect/Schema").NonEmptyString;
1909
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
1910
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1911
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1912
+ readonly label: import("effect/Schema").NonEmptyString;
1913
+ }>>;
1914
+ }>>>;
1915
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1916
+ readonly url: import("effect/Schema").NonEmptyString;
1917
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1918
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1919
+ readonly label: import("effect/Schema").NonEmptyString;
1920
+ }>>;
1921
+ }>>>;
1922
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1923
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
1924
+ readonly url: import("effect/Schema").NonEmptyString;
1925
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1926
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
1927
+ readonly label: import("effect/Schema").NonEmptyString;
1928
+ }>>;
1929
+ }>>>;
1930
+ }>, import("effect/Schema").Unknown, never, never>>>;
1245
1931
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
1246
1932
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
1247
1933
  readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -1644,6 +2330,38 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
1644
2330
  readonly email: import("effect/Schema").String;
1645
2331
  readonly emailVerified: import("effect/Schema").Boolean;
1646
2332
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
2333
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
2334
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2335
+ readonly email: import("effect/Schema").NonEmptyString;
2336
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2337
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2338
+ readonly label: import("effect/Schema").NonEmptyString;
2339
+ }>>;
2340
+ }>>>;
2341
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2342
+ readonly number: import("effect/Schema").NonEmptyString;
2343
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
2344
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2345
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2346
+ readonly label: import("effect/Schema").NonEmptyString;
2347
+ }>>;
2348
+ }>>>;
2349
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2350
+ readonly url: import("effect/Schema").NonEmptyString;
2351
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2352
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2353
+ readonly label: import("effect/Schema").NonEmptyString;
2354
+ }>>;
2355
+ }>>>;
2356
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2357
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
2358
+ readonly url: import("effect/Schema").NonEmptyString;
2359
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2360
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2361
+ readonly label: import("effect/Schema").NonEmptyString;
2362
+ }>>;
2363
+ }>>>;
2364
+ }>, import("effect/Schema").Unknown, never, never>>>;
1647
2365
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
1648
2366
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
1649
2367
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -1675,6 +2393,38 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
1675
2393
  readonly email: import("effect/Schema").String;
1676
2394
  readonly emailVerified: import("effect/Schema").Boolean;
1677
2395
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
2396
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
2397
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2398
+ readonly email: import("effect/Schema").NonEmptyString;
2399
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2400
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2401
+ readonly label: import("effect/Schema").NonEmptyString;
2402
+ }>>;
2403
+ }>>>;
2404
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2405
+ readonly number: import("effect/Schema").NonEmptyString;
2406
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
2407
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2408
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2409
+ readonly label: import("effect/Schema").NonEmptyString;
2410
+ }>>;
2411
+ }>>>;
2412
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2413
+ readonly url: import("effect/Schema").NonEmptyString;
2414
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2415
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2416
+ readonly label: import("effect/Schema").NonEmptyString;
2417
+ }>>;
2418
+ }>>>;
2419
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2420
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
2421
+ readonly url: import("effect/Schema").NonEmptyString;
2422
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2423
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2424
+ readonly label: import("effect/Schema").NonEmptyString;
2425
+ }>>;
2426
+ }>>>;
2427
+ }>, import("effect/Schema").Unknown, never, never>>>;
1678
2428
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
1679
2429
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
1680
2430
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -1704,6 +2454,38 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
1704
2454
  readonly email: import("effect/Schema").String;
1705
2455
  readonly emailVerified: import("effect/Schema").Boolean;
1706
2456
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
2457
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
2458
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2459
+ readonly email: import("effect/Schema").NonEmptyString;
2460
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2461
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2462
+ readonly label: import("effect/Schema").NonEmptyString;
2463
+ }>>;
2464
+ }>>>;
2465
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2466
+ readonly number: import("effect/Schema").NonEmptyString;
2467
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
2468
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2469
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2470
+ readonly label: import("effect/Schema").NonEmptyString;
2471
+ }>>;
2472
+ }>>>;
2473
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2474
+ readonly url: import("effect/Schema").NonEmptyString;
2475
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2476
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2477
+ readonly label: import("effect/Schema").NonEmptyString;
2478
+ }>>;
2479
+ }>>>;
2480
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2481
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
2482
+ readonly url: import("effect/Schema").NonEmptyString;
2483
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2484
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2485
+ readonly label: import("effect/Schema").NonEmptyString;
2486
+ }>>;
2487
+ }>>>;
2488
+ }>, import("effect/Schema").Unknown, never, never>>>;
1707
2489
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
1708
2490
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
1709
2491
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -1722,6 +2504,38 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
1722
2504
  readonly email: import("effect/Schema").String;
1723
2505
  readonly emailVerified: import("effect/Schema").Boolean;
1724
2506
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
2507
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
2508
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2509
+ readonly email: import("effect/Schema").NonEmptyString;
2510
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2511
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2512
+ readonly label: import("effect/Schema").NonEmptyString;
2513
+ }>>;
2514
+ }>>>;
2515
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2516
+ readonly number: import("effect/Schema").NonEmptyString;
2517
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
2518
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2519
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2520
+ readonly label: import("effect/Schema").NonEmptyString;
2521
+ }>>;
2522
+ }>>>;
2523
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2524
+ readonly url: import("effect/Schema").NonEmptyString;
2525
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2526
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2527
+ readonly label: import("effect/Schema").NonEmptyString;
2528
+ }>>;
2529
+ }>>>;
2530
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2531
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
2532
+ readonly url: import("effect/Schema").NonEmptyString;
2533
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2534
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2535
+ readonly label: import("effect/Schema").NonEmptyString;
2536
+ }>>;
2537
+ }>>>;
2538
+ }>, import("effect/Schema").Unknown, never, never>>>;
1725
2539
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
1726
2540
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
1727
2541
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -1784,21 +2598,53 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
1784
2598
  readonly email: import("effect/Schema").String;
1785
2599
  readonly emailVerified: import("effect/Schema").Boolean;
1786
2600
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
1787
- readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
1788
- readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
1789
- readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1790
- readonly banExpires: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").DateFromString>>;
1791
- readonly twoFactorEnabled: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1792
- readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1793
- readonly createdAt: import("effect/Schema").DateFromString;
1794
- readonly updatedAt: import("effect/Schema").DateFromString;
1795
- }>;
1796
- }>>, import("effect/Schema").toCodecJson<typeof import("./auth/schema.js").AuthBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/api/auth/get-session", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1797
- readonly disableCookieCache: import("effect/Schema").optional<import("effect/Schema").String>;
1798
- readonly disableRefresh: import("effect/Schema").optional<import("effect/Schema").String>;
1799
- }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
1800
- readonly session: import("effect/Schema").Struct<{
1801
- readonly id: import("effect/Schema").String;
2601
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
2602
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2603
+ readonly email: import("effect/Schema").NonEmptyString;
2604
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2605
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2606
+ readonly label: import("effect/Schema").NonEmptyString;
2607
+ }>>;
2608
+ }>>>;
2609
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2610
+ readonly number: import("effect/Schema").NonEmptyString;
2611
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
2612
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2613
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2614
+ readonly label: import("effect/Schema").NonEmptyString;
2615
+ }>>;
2616
+ }>>>;
2617
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2618
+ readonly url: import("effect/Schema").NonEmptyString;
2619
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2620
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2621
+ readonly label: import("effect/Schema").NonEmptyString;
2622
+ }>>;
2623
+ }>>>;
2624
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2625
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
2626
+ readonly url: import("effect/Schema").NonEmptyString;
2627
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2628
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2629
+ readonly label: import("effect/Schema").NonEmptyString;
2630
+ }>>;
2631
+ }>>>;
2632
+ }>, import("effect/Schema").Unknown, never, never>>>;
2633
+ readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
2634
+ readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
2635
+ readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
2636
+ readonly banExpires: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").DateFromString>>;
2637
+ readonly twoFactorEnabled: import("effect/Schema").optional<import("effect/Schema").Boolean>;
2638
+ readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
2639
+ readonly createdAt: import("effect/Schema").DateFromString;
2640
+ readonly updatedAt: import("effect/Schema").DateFromString;
2641
+ }>;
2642
+ }>>, import("effect/Schema").toCodecJson<typeof import("./auth/schema.js").AuthBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/api/auth/get-session", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
2643
+ readonly disableCookieCache: import("effect/Schema").optional<import("effect/Schema").String>;
2644
+ readonly disableRefresh: import("effect/Schema").optional<import("effect/Schema").String>;
2645
+ }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
2646
+ readonly session: import("effect/Schema").Struct<{
2647
+ readonly id: import("effect/Schema").String;
1802
2648
  readonly expiresAt: import("effect/Schema").DateFromString;
1803
2649
  readonly token: import("effect/Schema").String;
1804
2650
  readonly createdAt: import("effect/Schema").DateFromString;
@@ -1816,6 +2662,38 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
1816
2662
  readonly email: import("effect/Schema").String;
1817
2663
  readonly emailVerified: import("effect/Schema").Boolean;
1818
2664
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
2665
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
2666
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2667
+ readonly email: import("effect/Schema").NonEmptyString;
2668
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2669
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2670
+ readonly label: import("effect/Schema").NonEmptyString;
2671
+ }>>;
2672
+ }>>>;
2673
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2674
+ readonly number: import("effect/Schema").NonEmptyString;
2675
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
2676
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2677
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2678
+ readonly label: import("effect/Schema").NonEmptyString;
2679
+ }>>;
2680
+ }>>>;
2681
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2682
+ readonly url: import("effect/Schema").NonEmptyString;
2683
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2684
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2685
+ readonly label: import("effect/Schema").NonEmptyString;
2686
+ }>>;
2687
+ }>>>;
2688
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2689
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
2690
+ readonly url: import("effect/Schema").NonEmptyString;
2691
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2692
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2693
+ readonly label: import("effect/Schema").NonEmptyString;
2694
+ }>>;
2695
+ }>>>;
2696
+ }>, import("effect/Schema").Unknown, never, never>>>;
1819
2697
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
1820
2698
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
1821
2699
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -1850,6 +2728,38 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
1850
2728
  readonly email: import("effect/Schema").String;
1851
2729
  readonly emailVerified: import("effect/Schema").Boolean;
1852
2730
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
2731
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
2732
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2733
+ readonly email: import("effect/Schema").NonEmptyString;
2734
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2735
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2736
+ readonly label: import("effect/Schema").NonEmptyString;
2737
+ }>>;
2738
+ }>>>;
2739
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2740
+ readonly number: import("effect/Schema").NonEmptyString;
2741
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
2742
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2743
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2744
+ readonly label: import("effect/Schema").NonEmptyString;
2745
+ }>>;
2746
+ }>>>;
2747
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2748
+ readonly url: import("effect/Schema").NonEmptyString;
2749
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2750
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2751
+ readonly label: import("effect/Schema").NonEmptyString;
2752
+ }>>;
2753
+ }>>>;
2754
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2755
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
2756
+ readonly url: import("effect/Schema").NonEmptyString;
2757
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2758
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2759
+ readonly label: import("effect/Schema").NonEmptyString;
2760
+ }>>;
2761
+ }>>>;
2762
+ }>, import("effect/Schema").Unknown, never, never>>>;
1853
2763
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
1854
2764
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
1855
2765
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -1960,16 +2870,39 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
1960
2870
  readonly id: import("effect/Schema").String;
1961
2871
  readonly name: import("effect/Schema").String;
1962
2872
  readonly email: import("effect/Schema").String;
1963
- readonly emailVerified: import("effect/Schema").Boolean;
1964
- readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
1965
- readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
1966
- readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
1967
- readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1968
- readonly banExpires: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").DateFromString>>;
1969
- readonly twoFactorEnabled: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1970
- readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1971
- readonly createdAt: import("effect/Schema").DateFromString;
1972
- readonly updatedAt: import("effect/Schema").DateFromString;
2873
+ readonly image: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
2874
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
2875
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2876
+ readonly email: import("effect/Schema").NonEmptyString;
2877
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2878
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2879
+ readonly label: import("effect/Schema").NonEmptyString;
2880
+ }>>;
2881
+ }>>>;
2882
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2883
+ readonly number: import("effect/Schema").NonEmptyString;
2884
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
2885
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2886
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2887
+ readonly label: import("effect/Schema").NonEmptyString;
2888
+ }>>;
2889
+ }>>>;
2890
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2891
+ readonly url: import("effect/Schema").NonEmptyString;
2892
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2893
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2894
+ readonly label: import("effect/Schema").NonEmptyString;
2895
+ }>>;
2896
+ }>>>;
2897
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2898
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
2899
+ readonly url: import("effect/Schema").NonEmptyString;
2900
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2901
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2902
+ readonly label: import("effect/Schema").NonEmptyString;
2903
+ }>>;
2904
+ }>>>;
2905
+ }>, import("effect/Schema").Unknown, never, never>>>;
1973
2906
  }>;
1974
2907
  }>>;
1975
2908
  readonly invitations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
@@ -2024,6 +2957,38 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
2024
2957
  readonly email: import("effect/Schema").String;
2025
2958
  readonly emailVerified: import("effect/Schema").Boolean;
2026
2959
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
2960
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
2961
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2962
+ readonly email: import("effect/Schema").NonEmptyString;
2963
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2964
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2965
+ readonly label: import("effect/Schema").NonEmptyString;
2966
+ }>>;
2967
+ }>>>;
2968
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2969
+ readonly number: import("effect/Schema").NonEmptyString;
2970
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
2971
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2972
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2973
+ readonly label: import("effect/Schema").NonEmptyString;
2974
+ }>>;
2975
+ }>>>;
2976
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2977
+ readonly url: import("effect/Schema").NonEmptyString;
2978
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2979
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2980
+ readonly label: import("effect/Schema").NonEmptyString;
2981
+ }>>;
2982
+ }>>>;
2983
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
2984
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
2985
+ readonly url: import("effect/Schema").NonEmptyString;
2986
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
2987
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
2988
+ readonly label: import("effect/Schema").NonEmptyString;
2989
+ }>>;
2990
+ }>>>;
2991
+ }>, import("effect/Schema").Unknown, never, never>>>;
2027
2992
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
2028
2993
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
2029
2994
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -2101,16 +3066,39 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
2101
3066
  readonly id: import("effect/Schema").String;
2102
3067
  readonly name: import("effect/Schema").String;
2103
3068
  readonly email: import("effect/Schema").String;
2104
- readonly emailVerified: import("effect/Schema").Boolean;
2105
- readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
2106
- readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
2107
- readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
2108
- readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
2109
- readonly banExpires: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").DateFromString>>;
2110
- readonly twoFactorEnabled: import("effect/Schema").optional<import("effect/Schema").Boolean>;
2111
- readonly lastLoginMethod: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
2112
- readonly createdAt: import("effect/Schema").DateFromString;
2113
- readonly updatedAt: import("effect/Schema").DateFromString;
3069
+ readonly image: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
3070
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
3071
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3072
+ readonly email: import("effect/Schema").NonEmptyString;
3073
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3074
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3075
+ readonly label: import("effect/Schema").NonEmptyString;
3076
+ }>>;
3077
+ }>>>;
3078
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3079
+ readonly number: import("effect/Schema").NonEmptyString;
3080
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
3081
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3082
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3083
+ readonly label: import("effect/Schema").NonEmptyString;
3084
+ }>>;
3085
+ }>>>;
3086
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3087
+ readonly url: import("effect/Schema").NonEmptyString;
3088
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3089
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3090
+ readonly label: import("effect/Schema").NonEmptyString;
3091
+ }>>;
3092
+ }>>>;
3093
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3094
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
3095
+ readonly url: import("effect/Schema").NonEmptyString;
3096
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3097
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3098
+ readonly label: import("effect/Schema").NonEmptyString;
3099
+ }>>;
3100
+ }>>>;
3101
+ }>, import("effect/Schema").Unknown, never, never>>>;
2114
3102
  }>;
2115
3103
  }>>;
2116
3104
  readonly total: import("effect/Schema").Number;
@@ -2230,6 +3218,38 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
2230
3218
  readonly email: import("effect/Schema").String;
2231
3219
  readonly emailVerified: import("effect/Schema").Boolean;
2232
3220
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
3221
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
3222
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3223
+ readonly email: import("effect/Schema").NonEmptyString;
3224
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3225
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3226
+ readonly label: import("effect/Schema").NonEmptyString;
3227
+ }>>;
3228
+ }>>>;
3229
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3230
+ readonly number: import("effect/Schema").NonEmptyString;
3231
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
3232
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3233
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3234
+ readonly label: import("effect/Schema").NonEmptyString;
3235
+ }>>;
3236
+ }>>>;
3237
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3238
+ readonly url: import("effect/Schema").NonEmptyString;
3239
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3240
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3241
+ readonly label: import("effect/Schema").NonEmptyString;
3242
+ }>>;
3243
+ }>>>;
3244
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3245
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
3246
+ readonly url: import("effect/Schema").NonEmptyString;
3247
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3248
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3249
+ readonly label: import("effect/Schema").NonEmptyString;
3250
+ }>>;
3251
+ }>>>;
3252
+ }>, import("effect/Schema").Unknown, never, never>>>;
2233
3253
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
2234
3254
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
2235
3255
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -2256,6 +3276,38 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
2256
3276
  readonly email: import("effect/Schema").String;
2257
3277
  readonly emailVerified: import("effect/Schema").Boolean;
2258
3278
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
3279
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
3280
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3281
+ readonly email: import("effect/Schema").NonEmptyString;
3282
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3283
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3284
+ readonly label: import("effect/Schema").NonEmptyString;
3285
+ }>>;
3286
+ }>>>;
3287
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3288
+ readonly number: import("effect/Schema").NonEmptyString;
3289
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
3290
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3291
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3292
+ readonly label: import("effect/Schema").NonEmptyString;
3293
+ }>>;
3294
+ }>>>;
3295
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3296
+ readonly url: import("effect/Schema").NonEmptyString;
3297
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3298
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3299
+ readonly label: import("effect/Schema").NonEmptyString;
3300
+ }>>;
3301
+ }>>>;
3302
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3303
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
3304
+ readonly url: import("effect/Schema").NonEmptyString;
3305
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3306
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3307
+ readonly label: import("effect/Schema").NonEmptyString;
3308
+ }>>;
3309
+ }>>>;
3310
+ }>, import("effect/Schema").Unknown, never, never>>>;
2259
3311
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
2260
3312
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
2261
3313
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -2300,6 +3352,38 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
2300
3352
  readonly email: import("effect/Schema").String;
2301
3353
  readonly emailVerified: import("effect/Schema").Boolean;
2302
3354
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
3355
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
3356
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3357
+ readonly email: import("effect/Schema").NonEmptyString;
3358
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3359
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3360
+ readonly label: import("effect/Schema").NonEmptyString;
3361
+ }>>;
3362
+ }>>>;
3363
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3364
+ readonly number: import("effect/Schema").NonEmptyString;
3365
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
3366
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3367
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3368
+ readonly label: import("effect/Schema").NonEmptyString;
3369
+ }>>;
3370
+ }>>>;
3371
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3372
+ readonly url: import("effect/Schema").NonEmptyString;
3373
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3374
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3375
+ readonly label: import("effect/Schema").NonEmptyString;
3376
+ }>>;
3377
+ }>>>;
3378
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3379
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
3380
+ readonly url: import("effect/Schema").NonEmptyString;
3381
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3382
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3383
+ readonly label: import("effect/Schema").NonEmptyString;
3384
+ }>>;
3385
+ }>>>;
3386
+ }>, import("effect/Schema").Unknown, never, never>>>;
2303
3387
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
2304
3388
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
2305
3389
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -2339,6 +3423,38 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
2339
3423
  readonly email: import("effect/Schema").String;
2340
3424
  readonly emailVerified: import("effect/Schema").Boolean;
2341
3425
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
3426
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
3427
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3428
+ readonly email: import("effect/Schema").NonEmptyString;
3429
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3430
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3431
+ readonly label: import("effect/Schema").NonEmptyString;
3432
+ }>>;
3433
+ }>>>;
3434
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3435
+ readonly number: import("effect/Schema").NonEmptyString;
3436
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
3437
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3438
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3439
+ readonly label: import("effect/Schema").NonEmptyString;
3440
+ }>>;
3441
+ }>>>;
3442
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3443
+ readonly url: import("effect/Schema").NonEmptyString;
3444
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3445
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3446
+ readonly label: import("effect/Schema").NonEmptyString;
3447
+ }>>;
3448
+ }>>>;
3449
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3450
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
3451
+ readonly url: import("effect/Schema").NonEmptyString;
3452
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3453
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3454
+ readonly label: import("effect/Schema").NonEmptyString;
3455
+ }>>;
3456
+ }>>>;
3457
+ }>, import("effect/Schema").Unknown, never, never>>>;
2342
3458
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
2343
3459
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
2344
3460
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -2360,6 +3476,38 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
2360
3476
  readonly email: import("effect/Schema").String;
2361
3477
  readonly emailVerified: import("effect/Schema").Boolean;
2362
3478
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
3479
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
3480
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3481
+ readonly email: import("effect/Schema").NonEmptyString;
3482
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3483
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3484
+ readonly label: import("effect/Schema").NonEmptyString;
3485
+ }>>;
3486
+ }>>>;
3487
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3488
+ readonly number: import("effect/Schema").NonEmptyString;
3489
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
3490
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3491
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3492
+ readonly label: import("effect/Schema").NonEmptyString;
3493
+ }>>;
3494
+ }>>>;
3495
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3496
+ readonly url: import("effect/Schema").NonEmptyString;
3497
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3498
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3499
+ readonly label: import("effect/Schema").NonEmptyString;
3500
+ }>>;
3501
+ }>>>;
3502
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3503
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
3504
+ readonly url: import("effect/Schema").NonEmptyString;
3505
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3506
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3507
+ readonly label: import("effect/Schema").NonEmptyString;
3508
+ }>>;
3509
+ }>>>;
3510
+ }>, import("effect/Schema").Unknown, never, never>>>;
2363
3511
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
2364
3512
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
2365
3513
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -2381,6 +3529,38 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
2381
3529
  readonly email: import("effect/Schema").String;
2382
3530
  readonly emailVerified: import("effect/Schema").Boolean;
2383
3531
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
3532
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
3533
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3534
+ readonly email: import("effect/Schema").NonEmptyString;
3535
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3536
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3537
+ readonly label: import("effect/Schema").NonEmptyString;
3538
+ }>>;
3539
+ }>>>;
3540
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3541
+ readonly number: import("effect/Schema").NonEmptyString;
3542
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
3543
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3544
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3545
+ readonly label: import("effect/Schema").NonEmptyString;
3546
+ }>>;
3547
+ }>>>;
3548
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3549
+ readonly url: import("effect/Schema").NonEmptyString;
3550
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3551
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3552
+ readonly label: import("effect/Schema").NonEmptyString;
3553
+ }>>;
3554
+ }>>>;
3555
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3556
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
3557
+ readonly url: import("effect/Schema").NonEmptyString;
3558
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3559
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3560
+ readonly label: import("effect/Schema").NonEmptyString;
3561
+ }>>;
3562
+ }>>>;
3563
+ }>, import("effect/Schema").Unknown, never, never>>>;
2384
3564
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
2385
3565
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
2386
3566
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
@@ -2398,6 +3578,38 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
2398
3578
  }>>, import("effect/Schema").toCodecJson<typeof import("./auth/schema.js").AuthBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateUser", "POST", "/api/auth/update-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2399
3579
  readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
2400
3580
  readonly image: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
3581
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
3582
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3583
+ readonly email: import("effect/Schema").NonEmptyString;
3584
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3585
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3586
+ readonly label: import("effect/Schema").NonEmptyString;
3587
+ }>>;
3588
+ }>>>;
3589
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3590
+ readonly number: import("effect/Schema").NonEmptyString;
3591
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
3592
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3593
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3594
+ readonly label: import("effect/Schema").NonEmptyString;
3595
+ }>>;
3596
+ }>>>;
3597
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3598
+ readonly url: import("effect/Schema").NonEmptyString;
3599
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3600
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3601
+ readonly label: import("effect/Schema").NonEmptyString;
3602
+ }>>;
3603
+ }>>>;
3604
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3605
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
3606
+ readonly url: import("effect/Schema").NonEmptyString;
3607
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3608
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3609
+ readonly label: import("effect/Schema").NonEmptyString;
3610
+ }>>;
3611
+ }>>>;
3612
+ }>>>;
2401
3613
  }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
2402
3614
  readonly status: import("effect/Schema").Boolean;
2403
3615
  }>>, import("effect/Schema").toCodecJson<typeof import("./auth/schema.js").AuthBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"verifyEmailOtp", "POST", "/api/auth/email-otp/verify-email", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -2412,6 +3624,38 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
2412
3624
  readonly email: import("effect/Schema").String;
2413
3625
  readonly emailVerified: import("effect/Schema").Boolean;
2414
3626
  readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
3627
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
3628
+ readonly emails: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3629
+ readonly email: import("effect/Schema").NonEmptyString;
3630
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3631
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3632
+ readonly label: import("effect/Schema").NonEmptyString;
3633
+ }>>;
3634
+ }>>>;
3635
+ readonly phones: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3636
+ readonly number: import("effect/Schema").NonEmptyString;
3637
+ readonly extension: import("effect/Schema").optional<import("effect/Schema").String>;
3638
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3639
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3640
+ readonly label: import("effect/Schema").NonEmptyString;
3641
+ }>>;
3642
+ }>>>;
3643
+ readonly websites: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3644
+ readonly url: import("effect/Schema").NonEmptyString;
3645
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3646
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3647
+ readonly label: import("effect/Schema").NonEmptyString;
3648
+ }>>;
3649
+ }>>>;
3650
+ readonly socials: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
3651
+ readonly platform: import("effect/Schema").Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
3652
+ readonly url: import("effect/Schema").NonEmptyString;
3653
+ readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
3654
+ readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
3655
+ readonly label: import("effect/Schema").NonEmptyString;
3656
+ }>>;
3657
+ }>>>;
3658
+ }>, import("effect/Schema").Unknown, never, never>>>;
2415
3659
  readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
2416
3660
  readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
2417
3661
  readonly banReason: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;