@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 +1314 -70
- package/dist/auth/api.group.d.ts +578 -20
- package/dist/auth/schema.d.ts +489 -30
- package/dist/auth/schema.js +14 -1
- package/dist/components/auth-atoms.d.ts +130 -20
- package/dist/components/auth-client-api.d.ts +578 -20
- package/dist/components/contact-fields.d.ts +40 -0
- package/dist/components/contact-fields.js +86 -0
- package/dist/components/organization-switcher.js +30 -125
- package/dist/components/user-button.d.ts +73 -0
- package/dist/components/user-button.js +148 -3
- package/dist/schema.d.ts +279 -12
- package/dist/schema.js +162 -42
- package/dist/server/api.group.d.ts +128 -0
- package/dist/server/schema.d.ts +64 -0
- package/dist/service.d.ts +1412 -40
- package/package.json +1 -1
package/dist/auth/api.group.d.ts
CHANGED
|
@@ -13,6 +13,38 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
13
13
|
readonly email: Schema.String;
|
|
14
14
|
readonly emailVerified: Schema.Boolean;
|
|
15
15
|
readonly image: Schema.NullOr<Schema.String>;
|
|
16
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
17
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
18
|
+
readonly email: Schema.NonEmptyString;
|
|
19
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
20
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
21
|
+
readonly label: Schema.NonEmptyString;
|
|
22
|
+
}>>;
|
|
23
|
+
}>>>;
|
|
24
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
25
|
+
readonly number: Schema.NonEmptyString;
|
|
26
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
27
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
28
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
29
|
+
readonly label: Schema.NonEmptyString;
|
|
30
|
+
}>>;
|
|
31
|
+
}>>>;
|
|
32
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
33
|
+
readonly url: Schema.NonEmptyString;
|
|
34
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
35
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
36
|
+
readonly label: Schema.NonEmptyString;
|
|
37
|
+
}>>;
|
|
38
|
+
}>>>;
|
|
39
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
40
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
41
|
+
readonly url: Schema.NonEmptyString;
|
|
42
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
43
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
44
|
+
readonly label: Schema.NonEmptyString;
|
|
45
|
+
}>>;
|
|
46
|
+
}>>>;
|
|
47
|
+
}>, Schema.Unknown, never, never>>>;
|
|
16
48
|
readonly role: Schema.NullOr<Schema.String>;
|
|
17
49
|
readonly banned: Schema.NullOr<Schema.Boolean>;
|
|
18
50
|
readonly banReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -44,6 +76,38 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
44
76
|
readonly email: Schema.String;
|
|
45
77
|
readonly emailVerified: Schema.Boolean;
|
|
46
78
|
readonly image: Schema.NullOr<Schema.String>;
|
|
79
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
80
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
81
|
+
readonly email: Schema.NonEmptyString;
|
|
82
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
83
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
84
|
+
readonly label: Schema.NonEmptyString;
|
|
85
|
+
}>>;
|
|
86
|
+
}>>>;
|
|
87
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
88
|
+
readonly number: Schema.NonEmptyString;
|
|
89
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
90
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
91
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
92
|
+
readonly label: Schema.NonEmptyString;
|
|
93
|
+
}>>;
|
|
94
|
+
}>>>;
|
|
95
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
96
|
+
readonly url: Schema.NonEmptyString;
|
|
97
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
98
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
99
|
+
readonly label: Schema.NonEmptyString;
|
|
100
|
+
}>>;
|
|
101
|
+
}>>>;
|
|
102
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
103
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
104
|
+
readonly url: Schema.NonEmptyString;
|
|
105
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
106
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
107
|
+
readonly label: Schema.NonEmptyString;
|
|
108
|
+
}>>;
|
|
109
|
+
}>>>;
|
|
110
|
+
}>, Schema.Unknown, never, never>>>;
|
|
47
111
|
readonly role: Schema.NullOr<Schema.String>;
|
|
48
112
|
readonly banned: Schema.NullOr<Schema.Boolean>;
|
|
49
113
|
readonly banReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -73,6 +137,38 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
73
137
|
readonly email: Schema.String;
|
|
74
138
|
readonly emailVerified: Schema.Boolean;
|
|
75
139
|
readonly image: Schema.NullOr<Schema.String>;
|
|
140
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
141
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
142
|
+
readonly email: Schema.NonEmptyString;
|
|
143
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
144
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
145
|
+
readonly label: Schema.NonEmptyString;
|
|
146
|
+
}>>;
|
|
147
|
+
}>>>;
|
|
148
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
149
|
+
readonly number: Schema.NonEmptyString;
|
|
150
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
151
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
152
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
153
|
+
readonly label: Schema.NonEmptyString;
|
|
154
|
+
}>>;
|
|
155
|
+
}>>>;
|
|
156
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
157
|
+
readonly url: Schema.NonEmptyString;
|
|
158
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
159
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
160
|
+
readonly label: Schema.NonEmptyString;
|
|
161
|
+
}>>;
|
|
162
|
+
}>>>;
|
|
163
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
164
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
165
|
+
readonly url: Schema.NonEmptyString;
|
|
166
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
167
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
168
|
+
readonly label: Schema.NonEmptyString;
|
|
169
|
+
}>>;
|
|
170
|
+
}>>>;
|
|
171
|
+
}>, Schema.Unknown, never, never>>>;
|
|
76
172
|
readonly role: Schema.NullOr<Schema.String>;
|
|
77
173
|
readonly banned: Schema.NullOr<Schema.Boolean>;
|
|
78
174
|
readonly banReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -91,6 +187,38 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
91
187
|
readonly email: Schema.String;
|
|
92
188
|
readonly emailVerified: Schema.Boolean;
|
|
93
189
|
readonly image: Schema.NullOr<Schema.String>;
|
|
190
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
191
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
192
|
+
readonly email: Schema.NonEmptyString;
|
|
193
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
194
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
195
|
+
readonly label: Schema.NonEmptyString;
|
|
196
|
+
}>>;
|
|
197
|
+
}>>>;
|
|
198
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
199
|
+
readonly number: Schema.NonEmptyString;
|
|
200
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
201
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
202
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
203
|
+
readonly label: Schema.NonEmptyString;
|
|
204
|
+
}>>;
|
|
205
|
+
}>>>;
|
|
206
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
207
|
+
readonly url: Schema.NonEmptyString;
|
|
208
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
209
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
210
|
+
readonly label: Schema.NonEmptyString;
|
|
211
|
+
}>>;
|
|
212
|
+
}>>>;
|
|
213
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
214
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
215
|
+
readonly url: Schema.NonEmptyString;
|
|
216
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
217
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
218
|
+
readonly label: Schema.NonEmptyString;
|
|
219
|
+
}>>;
|
|
220
|
+
}>>>;
|
|
221
|
+
}>, Schema.Unknown, never, never>>>;
|
|
94
222
|
readonly role: Schema.NullOr<Schema.String>;
|
|
95
223
|
readonly banned: Schema.NullOr<Schema.Boolean>;
|
|
96
224
|
readonly banReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -153,6 +281,38 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
153
281
|
readonly email: Schema.String;
|
|
154
282
|
readonly emailVerified: Schema.Boolean;
|
|
155
283
|
readonly image: Schema.NullOr<Schema.String>;
|
|
284
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
285
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
286
|
+
readonly email: Schema.NonEmptyString;
|
|
287
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
288
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
289
|
+
readonly label: Schema.NonEmptyString;
|
|
290
|
+
}>>;
|
|
291
|
+
}>>>;
|
|
292
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
293
|
+
readonly number: Schema.NonEmptyString;
|
|
294
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
295
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
296
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
297
|
+
readonly label: Schema.NonEmptyString;
|
|
298
|
+
}>>;
|
|
299
|
+
}>>>;
|
|
300
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
301
|
+
readonly url: Schema.NonEmptyString;
|
|
302
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
303
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
304
|
+
readonly label: Schema.NonEmptyString;
|
|
305
|
+
}>>;
|
|
306
|
+
}>>>;
|
|
307
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
308
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
309
|
+
readonly url: Schema.NonEmptyString;
|
|
310
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
311
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
312
|
+
readonly label: Schema.NonEmptyString;
|
|
313
|
+
}>>;
|
|
314
|
+
}>>>;
|
|
315
|
+
}>, Schema.Unknown, never, never>>>;
|
|
156
316
|
readonly role: Schema.NullOr<Schema.String>;
|
|
157
317
|
readonly banned: Schema.NullOr<Schema.Boolean>;
|
|
158
318
|
readonly banReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -185,6 +345,38 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
185
345
|
readonly email: Schema.String;
|
|
186
346
|
readonly emailVerified: Schema.Boolean;
|
|
187
347
|
readonly image: Schema.NullOr<Schema.String>;
|
|
348
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
349
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
350
|
+
readonly email: Schema.NonEmptyString;
|
|
351
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
352
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
353
|
+
readonly label: Schema.NonEmptyString;
|
|
354
|
+
}>>;
|
|
355
|
+
}>>>;
|
|
356
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
357
|
+
readonly number: Schema.NonEmptyString;
|
|
358
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
359
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
360
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
361
|
+
readonly label: Schema.NonEmptyString;
|
|
362
|
+
}>>;
|
|
363
|
+
}>>>;
|
|
364
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
365
|
+
readonly url: Schema.NonEmptyString;
|
|
366
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
367
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
368
|
+
readonly label: Schema.NonEmptyString;
|
|
369
|
+
}>>;
|
|
370
|
+
}>>>;
|
|
371
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
372
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
373
|
+
readonly url: Schema.NonEmptyString;
|
|
374
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
375
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
376
|
+
readonly label: Schema.NonEmptyString;
|
|
377
|
+
}>>;
|
|
378
|
+
}>>>;
|
|
379
|
+
}>, Schema.Unknown, never, never>>>;
|
|
188
380
|
readonly role: Schema.NullOr<Schema.String>;
|
|
189
381
|
readonly banned: Schema.NullOr<Schema.Boolean>;
|
|
190
382
|
readonly banReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -219,6 +411,38 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
219
411
|
readonly email: Schema.String;
|
|
220
412
|
readonly emailVerified: Schema.Boolean;
|
|
221
413
|
readonly image: Schema.NullOr<Schema.String>;
|
|
414
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
415
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
416
|
+
readonly email: Schema.NonEmptyString;
|
|
417
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
418
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
419
|
+
readonly label: Schema.NonEmptyString;
|
|
420
|
+
}>>;
|
|
421
|
+
}>>>;
|
|
422
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
423
|
+
readonly number: Schema.NonEmptyString;
|
|
424
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
425
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
426
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
427
|
+
readonly label: Schema.NonEmptyString;
|
|
428
|
+
}>>;
|
|
429
|
+
}>>>;
|
|
430
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
431
|
+
readonly url: Schema.NonEmptyString;
|
|
432
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
433
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
434
|
+
readonly label: Schema.NonEmptyString;
|
|
435
|
+
}>>;
|
|
436
|
+
}>>>;
|
|
437
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
438
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
439
|
+
readonly url: Schema.NonEmptyString;
|
|
440
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
441
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
442
|
+
readonly label: Schema.NonEmptyString;
|
|
443
|
+
}>>;
|
|
444
|
+
}>>>;
|
|
445
|
+
}>, Schema.Unknown, never, never>>>;
|
|
222
446
|
readonly role: Schema.NullOr<Schema.String>;
|
|
223
447
|
readonly banned: Schema.NullOr<Schema.Boolean>;
|
|
224
448
|
readonly banReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -329,16 +553,39 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
329
553
|
readonly id: Schema.String;
|
|
330
554
|
readonly name: Schema.String;
|
|
331
555
|
readonly email: Schema.String;
|
|
332
|
-
readonly
|
|
333
|
-
readonly
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
556
|
+
readonly image: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
557
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
558
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
559
|
+
readonly email: Schema.NonEmptyString;
|
|
560
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
561
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
562
|
+
readonly label: Schema.NonEmptyString;
|
|
563
|
+
}>>;
|
|
564
|
+
}>>>;
|
|
565
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
566
|
+
readonly number: Schema.NonEmptyString;
|
|
567
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
568
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
569
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
570
|
+
readonly label: Schema.NonEmptyString;
|
|
571
|
+
}>>;
|
|
572
|
+
}>>>;
|
|
573
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
574
|
+
readonly url: Schema.NonEmptyString;
|
|
575
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
576
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
577
|
+
readonly label: Schema.NonEmptyString;
|
|
578
|
+
}>>;
|
|
579
|
+
}>>>;
|
|
580
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
581
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
582
|
+
readonly url: Schema.NonEmptyString;
|
|
583
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
584
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
585
|
+
readonly label: Schema.NonEmptyString;
|
|
586
|
+
}>>;
|
|
587
|
+
}>>>;
|
|
588
|
+
}>, Schema.Unknown, never, never>>>;
|
|
342
589
|
}>;
|
|
343
590
|
}>>;
|
|
344
591
|
readonly invitations: Schema.$Array<Schema.Struct<{
|
|
@@ -393,6 +640,38 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
393
640
|
readonly email: Schema.String;
|
|
394
641
|
readonly emailVerified: Schema.Boolean;
|
|
395
642
|
readonly image: Schema.NullOr<Schema.String>;
|
|
643
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
644
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
645
|
+
readonly email: Schema.NonEmptyString;
|
|
646
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
647
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
648
|
+
readonly label: Schema.NonEmptyString;
|
|
649
|
+
}>>;
|
|
650
|
+
}>>>;
|
|
651
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
652
|
+
readonly number: Schema.NonEmptyString;
|
|
653
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
654
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
655
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
656
|
+
readonly label: Schema.NonEmptyString;
|
|
657
|
+
}>>;
|
|
658
|
+
}>>>;
|
|
659
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
660
|
+
readonly url: Schema.NonEmptyString;
|
|
661
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
662
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
663
|
+
readonly label: Schema.NonEmptyString;
|
|
664
|
+
}>>;
|
|
665
|
+
}>>>;
|
|
666
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
667
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
668
|
+
readonly url: Schema.NonEmptyString;
|
|
669
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
670
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
671
|
+
readonly label: Schema.NonEmptyString;
|
|
672
|
+
}>>;
|
|
673
|
+
}>>>;
|
|
674
|
+
}>, Schema.Unknown, never, never>>>;
|
|
396
675
|
readonly role: Schema.NullOr<Schema.String>;
|
|
397
676
|
readonly banned: Schema.NullOr<Schema.Boolean>;
|
|
398
677
|
readonly banReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -470,16 +749,39 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
470
749
|
readonly id: Schema.String;
|
|
471
750
|
readonly name: Schema.String;
|
|
472
751
|
readonly email: Schema.String;
|
|
473
|
-
readonly
|
|
474
|
-
readonly
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
752
|
+
readonly image: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
753
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
754
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
755
|
+
readonly email: Schema.NonEmptyString;
|
|
756
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
757
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
758
|
+
readonly label: Schema.NonEmptyString;
|
|
759
|
+
}>>;
|
|
760
|
+
}>>>;
|
|
761
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
762
|
+
readonly number: Schema.NonEmptyString;
|
|
763
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
764
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
765
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
766
|
+
readonly label: Schema.NonEmptyString;
|
|
767
|
+
}>>;
|
|
768
|
+
}>>>;
|
|
769
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
770
|
+
readonly url: Schema.NonEmptyString;
|
|
771
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
772
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
773
|
+
readonly label: Schema.NonEmptyString;
|
|
774
|
+
}>>;
|
|
775
|
+
}>>>;
|
|
776
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
777
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
778
|
+
readonly url: Schema.NonEmptyString;
|
|
779
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
780
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
781
|
+
readonly label: Schema.NonEmptyString;
|
|
782
|
+
}>>;
|
|
783
|
+
}>>>;
|
|
784
|
+
}>, Schema.Unknown, never, never>>>;
|
|
483
785
|
}>;
|
|
484
786
|
}>>;
|
|
485
787
|
readonly total: Schema.Number;
|
|
@@ -599,6 +901,38 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
599
901
|
readonly email: Schema.String;
|
|
600
902
|
readonly emailVerified: Schema.Boolean;
|
|
601
903
|
readonly image: Schema.NullOr<Schema.String>;
|
|
904
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
905
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
906
|
+
readonly email: Schema.NonEmptyString;
|
|
907
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
908
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
909
|
+
readonly label: Schema.NonEmptyString;
|
|
910
|
+
}>>;
|
|
911
|
+
}>>>;
|
|
912
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
913
|
+
readonly number: Schema.NonEmptyString;
|
|
914
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
915
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
916
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
917
|
+
readonly label: Schema.NonEmptyString;
|
|
918
|
+
}>>;
|
|
919
|
+
}>>>;
|
|
920
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
921
|
+
readonly url: Schema.NonEmptyString;
|
|
922
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
923
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
924
|
+
readonly label: Schema.NonEmptyString;
|
|
925
|
+
}>>;
|
|
926
|
+
}>>>;
|
|
927
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
928
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
929
|
+
readonly url: Schema.NonEmptyString;
|
|
930
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
931
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
932
|
+
readonly label: Schema.NonEmptyString;
|
|
933
|
+
}>>;
|
|
934
|
+
}>>>;
|
|
935
|
+
}>, Schema.Unknown, never, never>>>;
|
|
602
936
|
readonly role: Schema.NullOr<Schema.String>;
|
|
603
937
|
readonly banned: Schema.NullOr<Schema.Boolean>;
|
|
604
938
|
readonly banReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -625,6 +959,38 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
625
959
|
readonly email: Schema.String;
|
|
626
960
|
readonly emailVerified: Schema.Boolean;
|
|
627
961
|
readonly image: Schema.NullOr<Schema.String>;
|
|
962
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
963
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
964
|
+
readonly email: Schema.NonEmptyString;
|
|
965
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
966
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
967
|
+
readonly label: Schema.NonEmptyString;
|
|
968
|
+
}>>;
|
|
969
|
+
}>>>;
|
|
970
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
971
|
+
readonly number: Schema.NonEmptyString;
|
|
972
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
973
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
974
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
975
|
+
readonly label: Schema.NonEmptyString;
|
|
976
|
+
}>>;
|
|
977
|
+
}>>>;
|
|
978
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
979
|
+
readonly url: Schema.NonEmptyString;
|
|
980
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
981
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
982
|
+
readonly label: Schema.NonEmptyString;
|
|
983
|
+
}>>;
|
|
984
|
+
}>>>;
|
|
985
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
986
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
987
|
+
readonly url: Schema.NonEmptyString;
|
|
988
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
989
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
990
|
+
readonly label: Schema.NonEmptyString;
|
|
991
|
+
}>>;
|
|
992
|
+
}>>>;
|
|
993
|
+
}>, Schema.Unknown, never, never>>>;
|
|
628
994
|
readonly role: Schema.NullOr<Schema.String>;
|
|
629
995
|
readonly banned: Schema.NullOr<Schema.Boolean>;
|
|
630
996
|
readonly banReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -669,6 +1035,38 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
669
1035
|
readonly email: Schema.String;
|
|
670
1036
|
readonly emailVerified: Schema.Boolean;
|
|
671
1037
|
readonly image: Schema.NullOr<Schema.String>;
|
|
1038
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
1039
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1040
|
+
readonly email: Schema.NonEmptyString;
|
|
1041
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1042
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1043
|
+
readonly label: Schema.NonEmptyString;
|
|
1044
|
+
}>>;
|
|
1045
|
+
}>>>;
|
|
1046
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1047
|
+
readonly number: Schema.NonEmptyString;
|
|
1048
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
1049
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1050
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1051
|
+
readonly label: Schema.NonEmptyString;
|
|
1052
|
+
}>>;
|
|
1053
|
+
}>>>;
|
|
1054
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1055
|
+
readonly url: Schema.NonEmptyString;
|
|
1056
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1057
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1058
|
+
readonly label: Schema.NonEmptyString;
|
|
1059
|
+
}>>;
|
|
1060
|
+
}>>>;
|
|
1061
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1062
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
1063
|
+
readonly url: Schema.NonEmptyString;
|
|
1064
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1065
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1066
|
+
readonly label: Schema.NonEmptyString;
|
|
1067
|
+
}>>;
|
|
1068
|
+
}>>>;
|
|
1069
|
+
}>, Schema.Unknown, never, never>>>;
|
|
672
1070
|
readonly role: Schema.NullOr<Schema.String>;
|
|
673
1071
|
readonly banned: Schema.NullOr<Schema.Boolean>;
|
|
674
1072
|
readonly banReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -708,6 +1106,38 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
708
1106
|
readonly email: Schema.String;
|
|
709
1107
|
readonly emailVerified: Schema.Boolean;
|
|
710
1108
|
readonly image: Schema.NullOr<Schema.String>;
|
|
1109
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
1110
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1111
|
+
readonly email: Schema.NonEmptyString;
|
|
1112
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1113
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1114
|
+
readonly label: Schema.NonEmptyString;
|
|
1115
|
+
}>>;
|
|
1116
|
+
}>>>;
|
|
1117
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1118
|
+
readonly number: Schema.NonEmptyString;
|
|
1119
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
1120
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1121
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1122
|
+
readonly label: Schema.NonEmptyString;
|
|
1123
|
+
}>>;
|
|
1124
|
+
}>>>;
|
|
1125
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1126
|
+
readonly url: Schema.NonEmptyString;
|
|
1127
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1128
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1129
|
+
readonly label: Schema.NonEmptyString;
|
|
1130
|
+
}>>;
|
|
1131
|
+
}>>>;
|
|
1132
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1133
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
1134
|
+
readonly url: Schema.NonEmptyString;
|
|
1135
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1136
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1137
|
+
readonly label: Schema.NonEmptyString;
|
|
1138
|
+
}>>;
|
|
1139
|
+
}>>>;
|
|
1140
|
+
}>, Schema.Unknown, never, never>>>;
|
|
711
1141
|
readonly role: Schema.NullOr<Schema.String>;
|
|
712
1142
|
readonly banned: Schema.NullOr<Schema.Boolean>;
|
|
713
1143
|
readonly banReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -729,6 +1159,38 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
729
1159
|
readonly email: Schema.String;
|
|
730
1160
|
readonly emailVerified: Schema.Boolean;
|
|
731
1161
|
readonly image: Schema.NullOr<Schema.String>;
|
|
1162
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
1163
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1164
|
+
readonly email: Schema.NonEmptyString;
|
|
1165
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1166
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1167
|
+
readonly label: Schema.NonEmptyString;
|
|
1168
|
+
}>>;
|
|
1169
|
+
}>>>;
|
|
1170
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1171
|
+
readonly number: Schema.NonEmptyString;
|
|
1172
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
1173
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1174
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1175
|
+
readonly label: Schema.NonEmptyString;
|
|
1176
|
+
}>>;
|
|
1177
|
+
}>>>;
|
|
1178
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1179
|
+
readonly url: Schema.NonEmptyString;
|
|
1180
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1181
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1182
|
+
readonly label: Schema.NonEmptyString;
|
|
1183
|
+
}>>;
|
|
1184
|
+
}>>>;
|
|
1185
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1186
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
1187
|
+
readonly url: Schema.NonEmptyString;
|
|
1188
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1189
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1190
|
+
readonly label: Schema.NonEmptyString;
|
|
1191
|
+
}>>;
|
|
1192
|
+
}>>>;
|
|
1193
|
+
}>, Schema.Unknown, never, never>>>;
|
|
732
1194
|
readonly role: Schema.NullOr<Schema.String>;
|
|
733
1195
|
readonly banned: Schema.NullOr<Schema.Boolean>;
|
|
734
1196
|
readonly banReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -750,6 +1212,38 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
750
1212
|
readonly email: Schema.String;
|
|
751
1213
|
readonly emailVerified: Schema.Boolean;
|
|
752
1214
|
readonly image: Schema.NullOr<Schema.String>;
|
|
1215
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
1216
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1217
|
+
readonly email: Schema.NonEmptyString;
|
|
1218
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1219
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1220
|
+
readonly label: Schema.NonEmptyString;
|
|
1221
|
+
}>>;
|
|
1222
|
+
}>>>;
|
|
1223
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1224
|
+
readonly number: Schema.NonEmptyString;
|
|
1225
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
1226
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1227
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1228
|
+
readonly label: Schema.NonEmptyString;
|
|
1229
|
+
}>>;
|
|
1230
|
+
}>>>;
|
|
1231
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1232
|
+
readonly url: Schema.NonEmptyString;
|
|
1233
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1234
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1235
|
+
readonly label: Schema.NonEmptyString;
|
|
1236
|
+
}>>;
|
|
1237
|
+
}>>>;
|
|
1238
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1239
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
1240
|
+
readonly url: Schema.NonEmptyString;
|
|
1241
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1242
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1243
|
+
readonly label: Schema.NonEmptyString;
|
|
1244
|
+
}>>;
|
|
1245
|
+
}>>>;
|
|
1246
|
+
}>, Schema.Unknown, never, never>>>;
|
|
753
1247
|
readonly role: Schema.NullOr<Schema.String>;
|
|
754
1248
|
readonly banned: Schema.NullOr<Schema.Boolean>;
|
|
755
1249
|
readonly banReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -767,6 +1261,38 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
767
1261
|
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateUser", "POST", "/update-user", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
768
1262
|
readonly name: Schema.optional<Schema.String>;
|
|
769
1263
|
readonly image: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
1264
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
1265
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1266
|
+
readonly email: Schema.NonEmptyString;
|
|
1267
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1268
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1269
|
+
readonly label: Schema.NonEmptyString;
|
|
1270
|
+
}>>;
|
|
1271
|
+
}>>>;
|
|
1272
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1273
|
+
readonly number: Schema.NonEmptyString;
|
|
1274
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
1275
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1276
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1277
|
+
readonly label: Schema.NonEmptyString;
|
|
1278
|
+
}>>;
|
|
1279
|
+
}>>>;
|
|
1280
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1281
|
+
readonly url: Schema.NonEmptyString;
|
|
1282
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1283
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1284
|
+
readonly label: Schema.NonEmptyString;
|
|
1285
|
+
}>>;
|
|
1286
|
+
}>>>;
|
|
1287
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1288
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
1289
|
+
readonly url: Schema.NonEmptyString;
|
|
1290
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1291
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1292
|
+
readonly label: Schema.NonEmptyString;
|
|
1293
|
+
}>>;
|
|
1294
|
+
}>>>;
|
|
1295
|
+
}>>>;
|
|
770
1296
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
771
1297
|
readonly status: Schema.Boolean;
|
|
772
1298
|
}>>, Schema.toCodecJson<typeof AuthBadRequest>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"verifyEmailOtp", "POST", "/email-otp/verify-email", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -781,6 +1307,38 @@ export declare const AuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndp
|
|
|
781
1307
|
readonly email: Schema.String;
|
|
782
1308
|
readonly emailVerified: Schema.Boolean;
|
|
783
1309
|
readonly image: Schema.NullOr<Schema.String>;
|
|
1310
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
1311
|
+
readonly emails: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1312
|
+
readonly email: Schema.NonEmptyString;
|
|
1313
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1314
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1315
|
+
readonly label: Schema.NonEmptyString;
|
|
1316
|
+
}>>;
|
|
1317
|
+
}>>>;
|
|
1318
|
+
readonly phones: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1319
|
+
readonly number: Schema.NonEmptyString;
|
|
1320
|
+
readonly extension: Schema.optional<Schema.String>;
|
|
1321
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1322
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1323
|
+
readonly label: Schema.NonEmptyString;
|
|
1324
|
+
}>>;
|
|
1325
|
+
}>>>;
|
|
1326
|
+
readonly websites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1327
|
+
readonly url: Schema.NonEmptyString;
|
|
1328
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1329
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1330
|
+
readonly label: Schema.NonEmptyString;
|
|
1331
|
+
}>>;
|
|
1332
|
+
}>>>;
|
|
1333
|
+
readonly socials: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1334
|
+
readonly platform: Schema.Literals<readonly ["facebook", "github", "instagram", "linkedin", "tiktok", "x", "youtube"]>;
|
|
1335
|
+
readonly url: Schema.NonEmptyString;
|
|
1336
|
+
readonly translations: Schema.$Array<Schema.Struct<{
|
|
1337
|
+
readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
|
|
1338
|
+
readonly label: Schema.NonEmptyString;
|
|
1339
|
+
}>>;
|
|
1340
|
+
}>>>;
|
|
1341
|
+
}>, Schema.Unknown, never, never>>>;
|
|
784
1342
|
readonly role: Schema.NullOr<Schema.String>;
|
|
785
1343
|
readonly banned: Schema.NullOr<Schema.Boolean>;
|
|
786
1344
|
readonly banReason: Schema.optional<Schema.NullOr<Schema.String>>;
|