@meindesk/auth-config 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3188 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const EXPERIENCE_IDS: readonly ["signIn", "signUp", "forgotPassword", "resetPassword", "magicLink", "emailVerification", "mfa", "organizationSelection", "organizationCreation"];
4
+ type ExperienceId = (typeof EXPERIENCE_IDS)[number];
5
+ declare const PROVIDER_IDS: readonly ["google", "github", "discord", "apple", "facebook", "microsoft"];
6
+ type ProviderId = (typeof PROVIDER_IDS)[number];
7
+ declare const PROFILE_FIELD_IDS: readonly ["email", "password", "firstName", "lastName", "username", "phoneNumber"];
8
+ type ProfileFieldId = (typeof PROFILE_FIELD_IDS)[number];
9
+ declare const RADIUS_OPTIONS: readonly ["small", "medium", "large"];
10
+ declare const CARD_STYLES: readonly ["flat", "bordered", "elevated"];
11
+ declare const LAYOUT_OPTIONS: readonly ["centered", "minimal"];
12
+ declare const PROVIDER_POSITIONS: readonly ["before", "after"];
13
+ declare const LOGO_ALIGNMENTS: readonly ["left", "center", "right"];
14
+ declare const profileFieldSchema: z.ZodObject<{
15
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
16
+ enabled: z.ZodDefault<z.ZodBoolean>;
17
+ required: z.ZodDefault<z.ZodBoolean>;
18
+ showLabel: z.ZodDefault<z.ZodBoolean>;
19
+ label: z.ZodDefault<z.ZodString>;
20
+ placeholder: z.ZodOptional<z.ZodString>;
21
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
22
+ }, "strip", z.ZodTypeAny, {
23
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
24
+ enabled: boolean;
25
+ required: boolean;
26
+ showLabel: boolean;
27
+ label: string;
28
+ placeholder?: string | undefined;
29
+ showPasswordToggle?: boolean | undefined;
30
+ }, {
31
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
32
+ enabled?: boolean | undefined;
33
+ required?: boolean | undefined;
34
+ showLabel?: boolean | undefined;
35
+ label?: string | undefined;
36
+ placeholder?: string | undefined;
37
+ showPasswordToggle?: boolean | undefined;
38
+ }>;
39
+ type ProfileFieldConfig = z.infer<typeof profileFieldSchema>;
40
+ declare const experienceCopySchema: z.ZodObject<{
41
+ title: z.ZodDefault<z.ZodString>;
42
+ subtitle: z.ZodDefault<z.ZodString>;
43
+ buttonText: z.ZodDefault<z.ZodString>;
44
+ loadingText: z.ZodDefault<z.ZodString>;
45
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
46
+ signUpLinkText: z.ZodOptional<z.ZodString>;
47
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
48
+ signInLinkText: z.ZodOptional<z.ZodString>;
49
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
50
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
51
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
52
+ dividerText: z.ZodOptional<z.ZodString>;
53
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
54
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
55
+ enabled: z.ZodDefault<z.ZodBoolean>;
56
+ required: z.ZodDefault<z.ZodBoolean>;
57
+ showLabel: z.ZodDefault<z.ZodBoolean>;
58
+ label: z.ZodDefault<z.ZodString>;
59
+ placeholder: z.ZodOptional<z.ZodString>;
60
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
63
+ enabled: boolean;
64
+ required: boolean;
65
+ showLabel: boolean;
66
+ label: string;
67
+ placeholder?: string | undefined;
68
+ showPasswordToggle?: boolean | undefined;
69
+ }, {
70
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
71
+ enabled?: boolean | undefined;
72
+ required?: boolean | undefined;
73
+ showLabel?: boolean | undefined;
74
+ label?: string | undefined;
75
+ placeholder?: string | undefined;
76
+ showPasswordToggle?: boolean | undefined;
77
+ }>, "many">>;
78
+ }, "strip", z.ZodTypeAny, {
79
+ title: string;
80
+ subtitle: string;
81
+ buttonText: string;
82
+ loadingText: string;
83
+ showSignUpLink?: boolean | undefined;
84
+ signUpLinkText?: string | undefined;
85
+ showSignInLink?: boolean | undefined;
86
+ signInLinkText?: string | undefined;
87
+ forgotPasswordEnabled?: boolean | undefined;
88
+ forgotPasswordText?: string | undefined;
89
+ dividerEnabled?: boolean | undefined;
90
+ dividerText?: string | undefined;
91
+ fields?: {
92
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
93
+ enabled: boolean;
94
+ required: boolean;
95
+ showLabel: boolean;
96
+ label: string;
97
+ placeholder?: string | undefined;
98
+ showPasswordToggle?: boolean | undefined;
99
+ }[] | undefined;
100
+ }, {
101
+ title?: string | undefined;
102
+ subtitle?: string | undefined;
103
+ buttonText?: string | undefined;
104
+ loadingText?: string | undefined;
105
+ showSignUpLink?: boolean | undefined;
106
+ signUpLinkText?: string | undefined;
107
+ showSignInLink?: boolean | undefined;
108
+ signInLinkText?: string | undefined;
109
+ forgotPasswordEnabled?: boolean | undefined;
110
+ forgotPasswordText?: string | undefined;
111
+ dividerEnabled?: boolean | undefined;
112
+ dividerText?: string | undefined;
113
+ fields?: {
114
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
115
+ enabled?: boolean | undefined;
116
+ required?: boolean | undefined;
117
+ showLabel?: boolean | undefined;
118
+ label?: string | undefined;
119
+ placeholder?: string | undefined;
120
+ showPasswordToggle?: boolean | undefined;
121
+ }[] | undefined;
122
+ }>;
123
+ type ExperienceCopy = z.infer<typeof experienceCopySchema>;
124
+ declare const providerConfigSchema: z.ZodObject<{
125
+ id: z.ZodEnum<["google", "github", "discord", "apple", "facebook", "microsoft"]>;
126
+ enabled: z.ZodDefault<z.ZodBoolean>;
127
+ buttonLabel: z.ZodOptional<z.ZodString>;
128
+ position: z.ZodDefault<z.ZodEnum<["before", "after"]>>;
129
+ }, "strip", z.ZodTypeAny, {
130
+ id: "google" | "github" | "discord" | "apple" | "facebook" | "microsoft";
131
+ enabled: boolean;
132
+ position: "before" | "after";
133
+ buttonLabel?: string | undefined;
134
+ }, {
135
+ id: "google" | "github" | "discord" | "apple" | "facebook" | "microsoft";
136
+ enabled?: boolean | undefined;
137
+ buttonLabel?: string | undefined;
138
+ position?: "before" | "after" | undefined;
139
+ }>;
140
+ type ProviderConfig = z.infer<typeof providerConfigSchema>;
141
+ declare const methodsSchema: z.ZodObject<{
142
+ emailPassword: z.ZodDefault<z.ZodBoolean>;
143
+ magicLink: z.ZodDefault<z.ZodBoolean>;
144
+ passkeys: z.ZodDefault<z.ZodBoolean>;
145
+ phone: z.ZodDefault<z.ZodBoolean>;
146
+ }, "strip", z.ZodTypeAny, {
147
+ magicLink: boolean;
148
+ emailPassword: boolean;
149
+ passkeys: boolean;
150
+ phone: boolean;
151
+ }, {
152
+ magicLink?: boolean | undefined;
153
+ emailPassword?: boolean | undefined;
154
+ passkeys?: boolean | undefined;
155
+ phone?: boolean | undefined;
156
+ }>;
157
+ type AuthMethods = z.infer<typeof methodsSchema>;
158
+ declare const appearanceSchema: z.ZodObject<{
159
+ primaryColor: z.ZodDefault<z.ZodString>;
160
+ backgroundColor: z.ZodDefault<z.ZodString>;
161
+ foregroundColor: z.ZodDefault<z.ZodString>;
162
+ mutedColor: z.ZodDefault<z.ZodString>;
163
+ borderColor: z.ZodDefault<z.ZodString>;
164
+ surfaceColor: z.ZodDefault<z.ZodString>;
165
+ radius: z.ZodDefault<z.ZodEnum<["small", "medium", "large"]>>;
166
+ fontFamily: z.ZodDefault<z.ZodString>;
167
+ headingSize: z.ZodDefault<z.ZodString>;
168
+ bodySize: z.ZodDefault<z.ZodString>;
169
+ logoUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
170
+ logoSize: z.ZodDefault<z.ZodNumber>;
171
+ logoAlignment: z.ZodDefault<z.ZodEnum<["left", "center", "right"]>>;
172
+ showAppName: z.ZodDefault<z.ZodBoolean>;
173
+ showMeindeskBranding: z.ZodDefault<z.ZodBoolean>;
174
+ cardStyle: z.ZodDefault<z.ZodEnum<["flat", "bordered", "elevated"]>>;
175
+ layout: z.ZodDefault<z.ZodEnum<["centered", "minimal"]>>;
176
+ }, "strip", z.ZodTypeAny, {
177
+ primaryColor: string;
178
+ backgroundColor: string;
179
+ foregroundColor: string;
180
+ mutedColor: string;
181
+ borderColor: string;
182
+ surfaceColor: string;
183
+ radius: "small" | "medium" | "large";
184
+ fontFamily: string;
185
+ headingSize: string;
186
+ bodySize: string;
187
+ logoUrl: string | null;
188
+ logoSize: number;
189
+ logoAlignment: "left" | "center" | "right";
190
+ showAppName: boolean;
191
+ showMeindeskBranding: boolean;
192
+ cardStyle: "flat" | "bordered" | "elevated";
193
+ layout: "centered" | "minimal";
194
+ }, {
195
+ primaryColor?: string | undefined;
196
+ backgroundColor?: string | undefined;
197
+ foregroundColor?: string | undefined;
198
+ mutedColor?: string | undefined;
199
+ borderColor?: string | undefined;
200
+ surfaceColor?: string | undefined;
201
+ radius?: "small" | "medium" | "large" | undefined;
202
+ fontFamily?: string | undefined;
203
+ headingSize?: string | undefined;
204
+ bodySize?: string | undefined;
205
+ logoUrl?: string | null | undefined;
206
+ logoSize?: number | undefined;
207
+ logoAlignment?: "left" | "center" | "right" | undefined;
208
+ showAppName?: boolean | undefined;
209
+ showMeindeskBranding?: boolean | undefined;
210
+ cardStyle?: "flat" | "bordered" | "elevated" | undefined;
211
+ layout?: "centered" | "minimal" | undefined;
212
+ }>;
213
+ type AppearanceConfig = z.infer<typeof appearanceSchema>;
214
+ declare const experiencesSchema: z.ZodObject<{
215
+ signIn: z.ZodObject<{
216
+ title: z.ZodDefault<z.ZodString>;
217
+ subtitle: z.ZodDefault<z.ZodString>;
218
+ buttonText: z.ZodDefault<z.ZodString>;
219
+ loadingText: z.ZodDefault<z.ZodString>;
220
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
221
+ signUpLinkText: z.ZodOptional<z.ZodString>;
222
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
223
+ signInLinkText: z.ZodOptional<z.ZodString>;
224
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
225
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
226
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
227
+ dividerText: z.ZodOptional<z.ZodString>;
228
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
229
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
230
+ enabled: z.ZodDefault<z.ZodBoolean>;
231
+ required: z.ZodDefault<z.ZodBoolean>;
232
+ showLabel: z.ZodDefault<z.ZodBoolean>;
233
+ label: z.ZodDefault<z.ZodString>;
234
+ placeholder: z.ZodOptional<z.ZodString>;
235
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
236
+ }, "strip", z.ZodTypeAny, {
237
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
238
+ enabled: boolean;
239
+ required: boolean;
240
+ showLabel: boolean;
241
+ label: string;
242
+ placeholder?: string | undefined;
243
+ showPasswordToggle?: boolean | undefined;
244
+ }, {
245
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
246
+ enabled?: boolean | undefined;
247
+ required?: boolean | undefined;
248
+ showLabel?: boolean | undefined;
249
+ label?: string | undefined;
250
+ placeholder?: string | undefined;
251
+ showPasswordToggle?: boolean | undefined;
252
+ }>, "many">>;
253
+ }, "strip", z.ZodTypeAny, {
254
+ title: string;
255
+ subtitle: string;
256
+ buttonText: string;
257
+ loadingText: string;
258
+ showSignUpLink?: boolean | undefined;
259
+ signUpLinkText?: string | undefined;
260
+ showSignInLink?: boolean | undefined;
261
+ signInLinkText?: string | undefined;
262
+ forgotPasswordEnabled?: boolean | undefined;
263
+ forgotPasswordText?: string | undefined;
264
+ dividerEnabled?: boolean | undefined;
265
+ dividerText?: string | undefined;
266
+ fields?: {
267
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
268
+ enabled: boolean;
269
+ required: boolean;
270
+ showLabel: boolean;
271
+ label: string;
272
+ placeholder?: string | undefined;
273
+ showPasswordToggle?: boolean | undefined;
274
+ }[] | undefined;
275
+ }, {
276
+ title?: string | undefined;
277
+ subtitle?: string | undefined;
278
+ buttonText?: string | undefined;
279
+ loadingText?: string | undefined;
280
+ showSignUpLink?: boolean | undefined;
281
+ signUpLinkText?: string | undefined;
282
+ showSignInLink?: boolean | undefined;
283
+ signInLinkText?: string | undefined;
284
+ forgotPasswordEnabled?: boolean | undefined;
285
+ forgotPasswordText?: string | undefined;
286
+ dividerEnabled?: boolean | undefined;
287
+ dividerText?: string | undefined;
288
+ fields?: {
289
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
290
+ enabled?: boolean | undefined;
291
+ required?: boolean | undefined;
292
+ showLabel?: boolean | undefined;
293
+ label?: string | undefined;
294
+ placeholder?: string | undefined;
295
+ showPasswordToggle?: boolean | undefined;
296
+ }[] | undefined;
297
+ }>;
298
+ signUp: z.ZodObject<{
299
+ title: z.ZodDefault<z.ZodString>;
300
+ subtitle: z.ZodDefault<z.ZodString>;
301
+ buttonText: z.ZodDefault<z.ZodString>;
302
+ loadingText: z.ZodDefault<z.ZodString>;
303
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
304
+ signUpLinkText: z.ZodOptional<z.ZodString>;
305
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
306
+ signInLinkText: z.ZodOptional<z.ZodString>;
307
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
308
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
309
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
310
+ dividerText: z.ZodOptional<z.ZodString>;
311
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
312
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
313
+ enabled: z.ZodDefault<z.ZodBoolean>;
314
+ required: z.ZodDefault<z.ZodBoolean>;
315
+ showLabel: z.ZodDefault<z.ZodBoolean>;
316
+ label: z.ZodDefault<z.ZodString>;
317
+ placeholder: z.ZodOptional<z.ZodString>;
318
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
319
+ }, "strip", z.ZodTypeAny, {
320
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
321
+ enabled: boolean;
322
+ required: boolean;
323
+ showLabel: boolean;
324
+ label: string;
325
+ placeholder?: string | undefined;
326
+ showPasswordToggle?: boolean | undefined;
327
+ }, {
328
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
329
+ enabled?: boolean | undefined;
330
+ required?: boolean | undefined;
331
+ showLabel?: boolean | undefined;
332
+ label?: string | undefined;
333
+ placeholder?: string | undefined;
334
+ showPasswordToggle?: boolean | undefined;
335
+ }>, "many">>;
336
+ }, "strip", z.ZodTypeAny, {
337
+ title: string;
338
+ subtitle: string;
339
+ buttonText: string;
340
+ loadingText: string;
341
+ showSignUpLink?: boolean | undefined;
342
+ signUpLinkText?: string | undefined;
343
+ showSignInLink?: boolean | undefined;
344
+ signInLinkText?: string | undefined;
345
+ forgotPasswordEnabled?: boolean | undefined;
346
+ forgotPasswordText?: string | undefined;
347
+ dividerEnabled?: boolean | undefined;
348
+ dividerText?: string | undefined;
349
+ fields?: {
350
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
351
+ enabled: boolean;
352
+ required: boolean;
353
+ showLabel: boolean;
354
+ label: string;
355
+ placeholder?: string | undefined;
356
+ showPasswordToggle?: boolean | undefined;
357
+ }[] | undefined;
358
+ }, {
359
+ title?: string | undefined;
360
+ subtitle?: string | undefined;
361
+ buttonText?: string | undefined;
362
+ loadingText?: string | undefined;
363
+ showSignUpLink?: boolean | undefined;
364
+ signUpLinkText?: string | undefined;
365
+ showSignInLink?: boolean | undefined;
366
+ signInLinkText?: string | undefined;
367
+ forgotPasswordEnabled?: boolean | undefined;
368
+ forgotPasswordText?: string | undefined;
369
+ dividerEnabled?: boolean | undefined;
370
+ dividerText?: string | undefined;
371
+ fields?: {
372
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
373
+ enabled?: boolean | undefined;
374
+ required?: boolean | undefined;
375
+ showLabel?: boolean | undefined;
376
+ label?: string | undefined;
377
+ placeholder?: string | undefined;
378
+ showPasswordToggle?: boolean | undefined;
379
+ }[] | undefined;
380
+ }>;
381
+ forgotPassword: z.ZodObject<{
382
+ title: z.ZodDefault<z.ZodString>;
383
+ subtitle: z.ZodDefault<z.ZodString>;
384
+ buttonText: z.ZodDefault<z.ZodString>;
385
+ loadingText: z.ZodDefault<z.ZodString>;
386
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
387
+ signUpLinkText: z.ZodOptional<z.ZodString>;
388
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
389
+ signInLinkText: z.ZodOptional<z.ZodString>;
390
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
391
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
392
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
393
+ dividerText: z.ZodOptional<z.ZodString>;
394
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
395
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
396
+ enabled: z.ZodDefault<z.ZodBoolean>;
397
+ required: z.ZodDefault<z.ZodBoolean>;
398
+ showLabel: z.ZodDefault<z.ZodBoolean>;
399
+ label: z.ZodDefault<z.ZodString>;
400
+ placeholder: z.ZodOptional<z.ZodString>;
401
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
402
+ }, "strip", z.ZodTypeAny, {
403
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
404
+ enabled: boolean;
405
+ required: boolean;
406
+ showLabel: boolean;
407
+ label: string;
408
+ placeholder?: string | undefined;
409
+ showPasswordToggle?: boolean | undefined;
410
+ }, {
411
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
412
+ enabled?: boolean | undefined;
413
+ required?: boolean | undefined;
414
+ showLabel?: boolean | undefined;
415
+ label?: string | undefined;
416
+ placeholder?: string | undefined;
417
+ showPasswordToggle?: boolean | undefined;
418
+ }>, "many">>;
419
+ }, "strip", z.ZodTypeAny, {
420
+ title: string;
421
+ subtitle: string;
422
+ buttonText: string;
423
+ loadingText: string;
424
+ showSignUpLink?: boolean | undefined;
425
+ signUpLinkText?: string | undefined;
426
+ showSignInLink?: boolean | undefined;
427
+ signInLinkText?: string | undefined;
428
+ forgotPasswordEnabled?: boolean | undefined;
429
+ forgotPasswordText?: string | undefined;
430
+ dividerEnabled?: boolean | undefined;
431
+ dividerText?: string | undefined;
432
+ fields?: {
433
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
434
+ enabled: boolean;
435
+ required: boolean;
436
+ showLabel: boolean;
437
+ label: string;
438
+ placeholder?: string | undefined;
439
+ showPasswordToggle?: boolean | undefined;
440
+ }[] | undefined;
441
+ }, {
442
+ title?: string | undefined;
443
+ subtitle?: string | undefined;
444
+ buttonText?: string | undefined;
445
+ loadingText?: string | undefined;
446
+ showSignUpLink?: boolean | undefined;
447
+ signUpLinkText?: string | undefined;
448
+ showSignInLink?: boolean | undefined;
449
+ signInLinkText?: string | undefined;
450
+ forgotPasswordEnabled?: boolean | undefined;
451
+ forgotPasswordText?: string | undefined;
452
+ dividerEnabled?: boolean | undefined;
453
+ dividerText?: string | undefined;
454
+ fields?: {
455
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
456
+ enabled?: boolean | undefined;
457
+ required?: boolean | undefined;
458
+ showLabel?: boolean | undefined;
459
+ label?: string | undefined;
460
+ placeholder?: string | undefined;
461
+ showPasswordToggle?: boolean | undefined;
462
+ }[] | undefined;
463
+ }>;
464
+ resetPassword: z.ZodObject<{
465
+ title: z.ZodDefault<z.ZodString>;
466
+ subtitle: z.ZodDefault<z.ZodString>;
467
+ buttonText: z.ZodDefault<z.ZodString>;
468
+ loadingText: z.ZodDefault<z.ZodString>;
469
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
470
+ signUpLinkText: z.ZodOptional<z.ZodString>;
471
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
472
+ signInLinkText: z.ZodOptional<z.ZodString>;
473
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
474
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
475
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
476
+ dividerText: z.ZodOptional<z.ZodString>;
477
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
478
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
479
+ enabled: z.ZodDefault<z.ZodBoolean>;
480
+ required: z.ZodDefault<z.ZodBoolean>;
481
+ showLabel: z.ZodDefault<z.ZodBoolean>;
482
+ label: z.ZodDefault<z.ZodString>;
483
+ placeholder: z.ZodOptional<z.ZodString>;
484
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
485
+ }, "strip", z.ZodTypeAny, {
486
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
487
+ enabled: boolean;
488
+ required: boolean;
489
+ showLabel: boolean;
490
+ label: string;
491
+ placeholder?: string | undefined;
492
+ showPasswordToggle?: boolean | undefined;
493
+ }, {
494
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
495
+ enabled?: boolean | undefined;
496
+ required?: boolean | undefined;
497
+ showLabel?: boolean | undefined;
498
+ label?: string | undefined;
499
+ placeholder?: string | undefined;
500
+ showPasswordToggle?: boolean | undefined;
501
+ }>, "many">>;
502
+ }, "strip", z.ZodTypeAny, {
503
+ title: string;
504
+ subtitle: string;
505
+ buttonText: string;
506
+ loadingText: string;
507
+ showSignUpLink?: boolean | undefined;
508
+ signUpLinkText?: string | undefined;
509
+ showSignInLink?: boolean | undefined;
510
+ signInLinkText?: string | undefined;
511
+ forgotPasswordEnabled?: boolean | undefined;
512
+ forgotPasswordText?: string | undefined;
513
+ dividerEnabled?: boolean | undefined;
514
+ dividerText?: string | undefined;
515
+ fields?: {
516
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
517
+ enabled: boolean;
518
+ required: boolean;
519
+ showLabel: boolean;
520
+ label: string;
521
+ placeholder?: string | undefined;
522
+ showPasswordToggle?: boolean | undefined;
523
+ }[] | undefined;
524
+ }, {
525
+ title?: string | undefined;
526
+ subtitle?: string | undefined;
527
+ buttonText?: string | undefined;
528
+ loadingText?: string | undefined;
529
+ showSignUpLink?: boolean | undefined;
530
+ signUpLinkText?: string | undefined;
531
+ showSignInLink?: boolean | undefined;
532
+ signInLinkText?: string | undefined;
533
+ forgotPasswordEnabled?: boolean | undefined;
534
+ forgotPasswordText?: string | undefined;
535
+ dividerEnabled?: boolean | undefined;
536
+ dividerText?: string | undefined;
537
+ fields?: {
538
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
539
+ enabled?: boolean | undefined;
540
+ required?: boolean | undefined;
541
+ showLabel?: boolean | undefined;
542
+ label?: string | undefined;
543
+ placeholder?: string | undefined;
544
+ showPasswordToggle?: boolean | undefined;
545
+ }[] | undefined;
546
+ }>;
547
+ magicLink: z.ZodObject<{
548
+ title: z.ZodDefault<z.ZodString>;
549
+ subtitle: z.ZodDefault<z.ZodString>;
550
+ buttonText: z.ZodDefault<z.ZodString>;
551
+ loadingText: z.ZodDefault<z.ZodString>;
552
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
553
+ signUpLinkText: z.ZodOptional<z.ZodString>;
554
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
555
+ signInLinkText: z.ZodOptional<z.ZodString>;
556
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
557
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
558
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
559
+ dividerText: z.ZodOptional<z.ZodString>;
560
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
561
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
562
+ enabled: z.ZodDefault<z.ZodBoolean>;
563
+ required: z.ZodDefault<z.ZodBoolean>;
564
+ showLabel: z.ZodDefault<z.ZodBoolean>;
565
+ label: z.ZodDefault<z.ZodString>;
566
+ placeholder: z.ZodOptional<z.ZodString>;
567
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
568
+ }, "strip", z.ZodTypeAny, {
569
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
570
+ enabled: boolean;
571
+ required: boolean;
572
+ showLabel: boolean;
573
+ label: string;
574
+ placeholder?: string | undefined;
575
+ showPasswordToggle?: boolean | undefined;
576
+ }, {
577
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
578
+ enabled?: boolean | undefined;
579
+ required?: boolean | undefined;
580
+ showLabel?: boolean | undefined;
581
+ label?: string | undefined;
582
+ placeholder?: string | undefined;
583
+ showPasswordToggle?: boolean | undefined;
584
+ }>, "many">>;
585
+ }, "strip", z.ZodTypeAny, {
586
+ title: string;
587
+ subtitle: string;
588
+ buttonText: string;
589
+ loadingText: string;
590
+ showSignUpLink?: boolean | undefined;
591
+ signUpLinkText?: string | undefined;
592
+ showSignInLink?: boolean | undefined;
593
+ signInLinkText?: string | undefined;
594
+ forgotPasswordEnabled?: boolean | undefined;
595
+ forgotPasswordText?: string | undefined;
596
+ dividerEnabled?: boolean | undefined;
597
+ dividerText?: string | undefined;
598
+ fields?: {
599
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
600
+ enabled: boolean;
601
+ required: boolean;
602
+ showLabel: boolean;
603
+ label: string;
604
+ placeholder?: string | undefined;
605
+ showPasswordToggle?: boolean | undefined;
606
+ }[] | undefined;
607
+ }, {
608
+ title?: string | undefined;
609
+ subtitle?: string | undefined;
610
+ buttonText?: string | undefined;
611
+ loadingText?: string | undefined;
612
+ showSignUpLink?: boolean | undefined;
613
+ signUpLinkText?: string | undefined;
614
+ showSignInLink?: boolean | undefined;
615
+ signInLinkText?: string | undefined;
616
+ forgotPasswordEnabled?: boolean | undefined;
617
+ forgotPasswordText?: string | undefined;
618
+ dividerEnabled?: boolean | undefined;
619
+ dividerText?: string | undefined;
620
+ fields?: {
621
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
622
+ enabled?: boolean | undefined;
623
+ required?: boolean | undefined;
624
+ showLabel?: boolean | undefined;
625
+ label?: string | undefined;
626
+ placeholder?: string | undefined;
627
+ showPasswordToggle?: boolean | undefined;
628
+ }[] | undefined;
629
+ }>;
630
+ emailVerification: z.ZodObject<{
631
+ title: z.ZodDefault<z.ZodString>;
632
+ subtitle: z.ZodDefault<z.ZodString>;
633
+ buttonText: z.ZodDefault<z.ZodString>;
634
+ loadingText: z.ZodDefault<z.ZodString>;
635
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
636
+ signUpLinkText: z.ZodOptional<z.ZodString>;
637
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
638
+ signInLinkText: z.ZodOptional<z.ZodString>;
639
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
640
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
641
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
642
+ dividerText: z.ZodOptional<z.ZodString>;
643
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
644
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
645
+ enabled: z.ZodDefault<z.ZodBoolean>;
646
+ required: z.ZodDefault<z.ZodBoolean>;
647
+ showLabel: z.ZodDefault<z.ZodBoolean>;
648
+ label: z.ZodDefault<z.ZodString>;
649
+ placeholder: z.ZodOptional<z.ZodString>;
650
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
651
+ }, "strip", z.ZodTypeAny, {
652
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
653
+ enabled: boolean;
654
+ required: boolean;
655
+ showLabel: boolean;
656
+ label: string;
657
+ placeholder?: string | undefined;
658
+ showPasswordToggle?: boolean | undefined;
659
+ }, {
660
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
661
+ enabled?: boolean | undefined;
662
+ required?: boolean | undefined;
663
+ showLabel?: boolean | undefined;
664
+ label?: string | undefined;
665
+ placeholder?: string | undefined;
666
+ showPasswordToggle?: boolean | undefined;
667
+ }>, "many">>;
668
+ }, "strip", z.ZodTypeAny, {
669
+ title: string;
670
+ subtitle: string;
671
+ buttonText: string;
672
+ loadingText: string;
673
+ showSignUpLink?: boolean | undefined;
674
+ signUpLinkText?: string | undefined;
675
+ showSignInLink?: boolean | undefined;
676
+ signInLinkText?: string | undefined;
677
+ forgotPasswordEnabled?: boolean | undefined;
678
+ forgotPasswordText?: string | undefined;
679
+ dividerEnabled?: boolean | undefined;
680
+ dividerText?: string | undefined;
681
+ fields?: {
682
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
683
+ enabled: boolean;
684
+ required: boolean;
685
+ showLabel: boolean;
686
+ label: string;
687
+ placeholder?: string | undefined;
688
+ showPasswordToggle?: boolean | undefined;
689
+ }[] | undefined;
690
+ }, {
691
+ title?: string | undefined;
692
+ subtitle?: string | undefined;
693
+ buttonText?: string | undefined;
694
+ loadingText?: string | undefined;
695
+ showSignUpLink?: boolean | undefined;
696
+ signUpLinkText?: string | undefined;
697
+ showSignInLink?: boolean | undefined;
698
+ signInLinkText?: string | undefined;
699
+ forgotPasswordEnabled?: boolean | undefined;
700
+ forgotPasswordText?: string | undefined;
701
+ dividerEnabled?: boolean | undefined;
702
+ dividerText?: string | undefined;
703
+ fields?: {
704
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
705
+ enabled?: boolean | undefined;
706
+ required?: boolean | undefined;
707
+ showLabel?: boolean | undefined;
708
+ label?: string | undefined;
709
+ placeholder?: string | undefined;
710
+ showPasswordToggle?: boolean | undefined;
711
+ }[] | undefined;
712
+ }>;
713
+ mfa: z.ZodObject<{
714
+ title: z.ZodDefault<z.ZodString>;
715
+ subtitle: z.ZodDefault<z.ZodString>;
716
+ buttonText: z.ZodDefault<z.ZodString>;
717
+ loadingText: z.ZodDefault<z.ZodString>;
718
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
719
+ signUpLinkText: z.ZodOptional<z.ZodString>;
720
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
721
+ signInLinkText: z.ZodOptional<z.ZodString>;
722
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
723
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
724
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
725
+ dividerText: z.ZodOptional<z.ZodString>;
726
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
727
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
728
+ enabled: z.ZodDefault<z.ZodBoolean>;
729
+ required: z.ZodDefault<z.ZodBoolean>;
730
+ showLabel: z.ZodDefault<z.ZodBoolean>;
731
+ label: z.ZodDefault<z.ZodString>;
732
+ placeholder: z.ZodOptional<z.ZodString>;
733
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
734
+ }, "strip", z.ZodTypeAny, {
735
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
736
+ enabled: boolean;
737
+ required: boolean;
738
+ showLabel: boolean;
739
+ label: string;
740
+ placeholder?: string | undefined;
741
+ showPasswordToggle?: boolean | undefined;
742
+ }, {
743
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
744
+ enabled?: boolean | undefined;
745
+ required?: boolean | undefined;
746
+ showLabel?: boolean | undefined;
747
+ label?: string | undefined;
748
+ placeholder?: string | undefined;
749
+ showPasswordToggle?: boolean | undefined;
750
+ }>, "many">>;
751
+ }, "strip", z.ZodTypeAny, {
752
+ title: string;
753
+ subtitle: string;
754
+ buttonText: string;
755
+ loadingText: string;
756
+ showSignUpLink?: boolean | undefined;
757
+ signUpLinkText?: string | undefined;
758
+ showSignInLink?: boolean | undefined;
759
+ signInLinkText?: string | undefined;
760
+ forgotPasswordEnabled?: boolean | undefined;
761
+ forgotPasswordText?: string | undefined;
762
+ dividerEnabled?: boolean | undefined;
763
+ dividerText?: string | undefined;
764
+ fields?: {
765
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
766
+ enabled: boolean;
767
+ required: boolean;
768
+ showLabel: boolean;
769
+ label: string;
770
+ placeholder?: string | undefined;
771
+ showPasswordToggle?: boolean | undefined;
772
+ }[] | undefined;
773
+ }, {
774
+ title?: string | undefined;
775
+ subtitle?: string | undefined;
776
+ buttonText?: string | undefined;
777
+ loadingText?: string | undefined;
778
+ showSignUpLink?: boolean | undefined;
779
+ signUpLinkText?: string | undefined;
780
+ showSignInLink?: boolean | undefined;
781
+ signInLinkText?: string | undefined;
782
+ forgotPasswordEnabled?: boolean | undefined;
783
+ forgotPasswordText?: string | undefined;
784
+ dividerEnabled?: boolean | undefined;
785
+ dividerText?: string | undefined;
786
+ fields?: {
787
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
788
+ enabled?: boolean | undefined;
789
+ required?: boolean | undefined;
790
+ showLabel?: boolean | undefined;
791
+ label?: string | undefined;
792
+ placeholder?: string | undefined;
793
+ showPasswordToggle?: boolean | undefined;
794
+ }[] | undefined;
795
+ }>;
796
+ organizationSelection: z.ZodObject<{
797
+ title: z.ZodDefault<z.ZodString>;
798
+ subtitle: z.ZodDefault<z.ZodString>;
799
+ buttonText: z.ZodDefault<z.ZodString>;
800
+ loadingText: z.ZodDefault<z.ZodString>;
801
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
802
+ signUpLinkText: z.ZodOptional<z.ZodString>;
803
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
804
+ signInLinkText: z.ZodOptional<z.ZodString>;
805
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
806
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
807
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
808
+ dividerText: z.ZodOptional<z.ZodString>;
809
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
810
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
811
+ enabled: z.ZodDefault<z.ZodBoolean>;
812
+ required: z.ZodDefault<z.ZodBoolean>;
813
+ showLabel: z.ZodDefault<z.ZodBoolean>;
814
+ label: z.ZodDefault<z.ZodString>;
815
+ placeholder: z.ZodOptional<z.ZodString>;
816
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
817
+ }, "strip", z.ZodTypeAny, {
818
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
819
+ enabled: boolean;
820
+ required: boolean;
821
+ showLabel: boolean;
822
+ label: string;
823
+ placeholder?: string | undefined;
824
+ showPasswordToggle?: boolean | undefined;
825
+ }, {
826
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
827
+ enabled?: boolean | undefined;
828
+ required?: boolean | undefined;
829
+ showLabel?: boolean | undefined;
830
+ label?: string | undefined;
831
+ placeholder?: string | undefined;
832
+ showPasswordToggle?: boolean | undefined;
833
+ }>, "many">>;
834
+ }, "strip", z.ZodTypeAny, {
835
+ title: string;
836
+ subtitle: string;
837
+ buttonText: string;
838
+ loadingText: string;
839
+ showSignUpLink?: boolean | undefined;
840
+ signUpLinkText?: string | undefined;
841
+ showSignInLink?: boolean | undefined;
842
+ signInLinkText?: string | undefined;
843
+ forgotPasswordEnabled?: boolean | undefined;
844
+ forgotPasswordText?: string | undefined;
845
+ dividerEnabled?: boolean | undefined;
846
+ dividerText?: string | undefined;
847
+ fields?: {
848
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
849
+ enabled: boolean;
850
+ required: boolean;
851
+ showLabel: boolean;
852
+ label: string;
853
+ placeholder?: string | undefined;
854
+ showPasswordToggle?: boolean | undefined;
855
+ }[] | undefined;
856
+ }, {
857
+ title?: string | undefined;
858
+ subtitle?: string | undefined;
859
+ buttonText?: string | undefined;
860
+ loadingText?: string | undefined;
861
+ showSignUpLink?: boolean | undefined;
862
+ signUpLinkText?: string | undefined;
863
+ showSignInLink?: boolean | undefined;
864
+ signInLinkText?: string | undefined;
865
+ forgotPasswordEnabled?: boolean | undefined;
866
+ forgotPasswordText?: string | undefined;
867
+ dividerEnabled?: boolean | undefined;
868
+ dividerText?: string | undefined;
869
+ fields?: {
870
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
871
+ enabled?: boolean | undefined;
872
+ required?: boolean | undefined;
873
+ showLabel?: boolean | undefined;
874
+ label?: string | undefined;
875
+ placeholder?: string | undefined;
876
+ showPasswordToggle?: boolean | undefined;
877
+ }[] | undefined;
878
+ }>;
879
+ organizationCreation: z.ZodObject<{
880
+ title: z.ZodDefault<z.ZodString>;
881
+ subtitle: z.ZodDefault<z.ZodString>;
882
+ buttonText: z.ZodDefault<z.ZodString>;
883
+ loadingText: z.ZodDefault<z.ZodString>;
884
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
885
+ signUpLinkText: z.ZodOptional<z.ZodString>;
886
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
887
+ signInLinkText: z.ZodOptional<z.ZodString>;
888
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
889
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
890
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
891
+ dividerText: z.ZodOptional<z.ZodString>;
892
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
893
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
894
+ enabled: z.ZodDefault<z.ZodBoolean>;
895
+ required: z.ZodDefault<z.ZodBoolean>;
896
+ showLabel: z.ZodDefault<z.ZodBoolean>;
897
+ label: z.ZodDefault<z.ZodString>;
898
+ placeholder: z.ZodOptional<z.ZodString>;
899
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
900
+ }, "strip", z.ZodTypeAny, {
901
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
902
+ enabled: boolean;
903
+ required: boolean;
904
+ showLabel: boolean;
905
+ label: string;
906
+ placeholder?: string | undefined;
907
+ showPasswordToggle?: boolean | undefined;
908
+ }, {
909
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
910
+ enabled?: boolean | undefined;
911
+ required?: boolean | undefined;
912
+ showLabel?: boolean | undefined;
913
+ label?: string | undefined;
914
+ placeholder?: string | undefined;
915
+ showPasswordToggle?: boolean | undefined;
916
+ }>, "many">>;
917
+ }, "strip", z.ZodTypeAny, {
918
+ title: string;
919
+ subtitle: string;
920
+ buttonText: string;
921
+ loadingText: string;
922
+ showSignUpLink?: boolean | undefined;
923
+ signUpLinkText?: string | undefined;
924
+ showSignInLink?: boolean | undefined;
925
+ signInLinkText?: string | undefined;
926
+ forgotPasswordEnabled?: boolean | undefined;
927
+ forgotPasswordText?: string | undefined;
928
+ dividerEnabled?: boolean | undefined;
929
+ dividerText?: string | undefined;
930
+ fields?: {
931
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
932
+ enabled: boolean;
933
+ required: boolean;
934
+ showLabel: boolean;
935
+ label: string;
936
+ placeholder?: string | undefined;
937
+ showPasswordToggle?: boolean | undefined;
938
+ }[] | undefined;
939
+ }, {
940
+ title?: string | undefined;
941
+ subtitle?: string | undefined;
942
+ buttonText?: string | undefined;
943
+ loadingText?: string | undefined;
944
+ showSignUpLink?: boolean | undefined;
945
+ signUpLinkText?: string | undefined;
946
+ showSignInLink?: boolean | undefined;
947
+ signInLinkText?: string | undefined;
948
+ forgotPasswordEnabled?: boolean | undefined;
949
+ forgotPasswordText?: string | undefined;
950
+ dividerEnabled?: boolean | undefined;
951
+ dividerText?: string | undefined;
952
+ fields?: {
953
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
954
+ enabled?: boolean | undefined;
955
+ required?: boolean | undefined;
956
+ showLabel?: boolean | undefined;
957
+ label?: string | undefined;
958
+ placeholder?: string | undefined;
959
+ showPasswordToggle?: boolean | undefined;
960
+ }[] | undefined;
961
+ }>;
962
+ }, "strip", z.ZodTypeAny, {
963
+ signIn: {
964
+ title: string;
965
+ subtitle: string;
966
+ buttonText: string;
967
+ loadingText: string;
968
+ showSignUpLink?: boolean | undefined;
969
+ signUpLinkText?: string | undefined;
970
+ showSignInLink?: boolean | undefined;
971
+ signInLinkText?: string | undefined;
972
+ forgotPasswordEnabled?: boolean | undefined;
973
+ forgotPasswordText?: string | undefined;
974
+ dividerEnabled?: boolean | undefined;
975
+ dividerText?: string | undefined;
976
+ fields?: {
977
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
978
+ enabled: boolean;
979
+ required: boolean;
980
+ showLabel: boolean;
981
+ label: string;
982
+ placeholder?: string | undefined;
983
+ showPasswordToggle?: boolean | undefined;
984
+ }[] | undefined;
985
+ };
986
+ signUp: {
987
+ title: string;
988
+ subtitle: string;
989
+ buttonText: string;
990
+ loadingText: string;
991
+ showSignUpLink?: boolean | undefined;
992
+ signUpLinkText?: string | undefined;
993
+ showSignInLink?: boolean | undefined;
994
+ signInLinkText?: string | undefined;
995
+ forgotPasswordEnabled?: boolean | undefined;
996
+ forgotPasswordText?: string | undefined;
997
+ dividerEnabled?: boolean | undefined;
998
+ dividerText?: string | undefined;
999
+ fields?: {
1000
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1001
+ enabled: boolean;
1002
+ required: boolean;
1003
+ showLabel: boolean;
1004
+ label: string;
1005
+ placeholder?: string | undefined;
1006
+ showPasswordToggle?: boolean | undefined;
1007
+ }[] | undefined;
1008
+ };
1009
+ forgotPassword: {
1010
+ title: string;
1011
+ subtitle: string;
1012
+ buttonText: string;
1013
+ loadingText: string;
1014
+ showSignUpLink?: boolean | undefined;
1015
+ signUpLinkText?: string | undefined;
1016
+ showSignInLink?: boolean | undefined;
1017
+ signInLinkText?: string | undefined;
1018
+ forgotPasswordEnabled?: boolean | undefined;
1019
+ forgotPasswordText?: string | undefined;
1020
+ dividerEnabled?: boolean | undefined;
1021
+ dividerText?: string | undefined;
1022
+ fields?: {
1023
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1024
+ enabled: boolean;
1025
+ required: boolean;
1026
+ showLabel: boolean;
1027
+ label: string;
1028
+ placeholder?: string | undefined;
1029
+ showPasswordToggle?: boolean | undefined;
1030
+ }[] | undefined;
1031
+ };
1032
+ resetPassword: {
1033
+ title: string;
1034
+ subtitle: string;
1035
+ buttonText: string;
1036
+ loadingText: string;
1037
+ showSignUpLink?: boolean | undefined;
1038
+ signUpLinkText?: string | undefined;
1039
+ showSignInLink?: boolean | undefined;
1040
+ signInLinkText?: string | undefined;
1041
+ forgotPasswordEnabled?: boolean | undefined;
1042
+ forgotPasswordText?: string | undefined;
1043
+ dividerEnabled?: boolean | undefined;
1044
+ dividerText?: string | undefined;
1045
+ fields?: {
1046
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1047
+ enabled: boolean;
1048
+ required: boolean;
1049
+ showLabel: boolean;
1050
+ label: string;
1051
+ placeholder?: string | undefined;
1052
+ showPasswordToggle?: boolean | undefined;
1053
+ }[] | undefined;
1054
+ };
1055
+ magicLink: {
1056
+ title: string;
1057
+ subtitle: string;
1058
+ buttonText: string;
1059
+ loadingText: string;
1060
+ showSignUpLink?: boolean | undefined;
1061
+ signUpLinkText?: string | undefined;
1062
+ showSignInLink?: boolean | undefined;
1063
+ signInLinkText?: string | undefined;
1064
+ forgotPasswordEnabled?: boolean | undefined;
1065
+ forgotPasswordText?: string | undefined;
1066
+ dividerEnabled?: boolean | undefined;
1067
+ dividerText?: string | undefined;
1068
+ fields?: {
1069
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1070
+ enabled: boolean;
1071
+ required: boolean;
1072
+ showLabel: boolean;
1073
+ label: string;
1074
+ placeholder?: string | undefined;
1075
+ showPasswordToggle?: boolean | undefined;
1076
+ }[] | undefined;
1077
+ };
1078
+ emailVerification: {
1079
+ title: string;
1080
+ subtitle: string;
1081
+ buttonText: string;
1082
+ loadingText: string;
1083
+ showSignUpLink?: boolean | undefined;
1084
+ signUpLinkText?: string | undefined;
1085
+ showSignInLink?: boolean | undefined;
1086
+ signInLinkText?: string | undefined;
1087
+ forgotPasswordEnabled?: boolean | undefined;
1088
+ forgotPasswordText?: string | undefined;
1089
+ dividerEnabled?: boolean | undefined;
1090
+ dividerText?: string | undefined;
1091
+ fields?: {
1092
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1093
+ enabled: boolean;
1094
+ required: boolean;
1095
+ showLabel: boolean;
1096
+ label: string;
1097
+ placeholder?: string | undefined;
1098
+ showPasswordToggle?: boolean | undefined;
1099
+ }[] | undefined;
1100
+ };
1101
+ mfa: {
1102
+ title: string;
1103
+ subtitle: string;
1104
+ buttonText: string;
1105
+ loadingText: string;
1106
+ showSignUpLink?: boolean | undefined;
1107
+ signUpLinkText?: string | undefined;
1108
+ showSignInLink?: boolean | undefined;
1109
+ signInLinkText?: string | undefined;
1110
+ forgotPasswordEnabled?: boolean | undefined;
1111
+ forgotPasswordText?: string | undefined;
1112
+ dividerEnabled?: boolean | undefined;
1113
+ dividerText?: string | undefined;
1114
+ fields?: {
1115
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1116
+ enabled: boolean;
1117
+ required: boolean;
1118
+ showLabel: boolean;
1119
+ label: string;
1120
+ placeholder?: string | undefined;
1121
+ showPasswordToggle?: boolean | undefined;
1122
+ }[] | undefined;
1123
+ };
1124
+ organizationSelection: {
1125
+ title: string;
1126
+ subtitle: string;
1127
+ buttonText: string;
1128
+ loadingText: string;
1129
+ showSignUpLink?: boolean | undefined;
1130
+ signUpLinkText?: string | undefined;
1131
+ showSignInLink?: boolean | undefined;
1132
+ signInLinkText?: string | undefined;
1133
+ forgotPasswordEnabled?: boolean | undefined;
1134
+ forgotPasswordText?: string | undefined;
1135
+ dividerEnabled?: boolean | undefined;
1136
+ dividerText?: string | undefined;
1137
+ fields?: {
1138
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1139
+ enabled: boolean;
1140
+ required: boolean;
1141
+ showLabel: boolean;
1142
+ label: string;
1143
+ placeholder?: string | undefined;
1144
+ showPasswordToggle?: boolean | undefined;
1145
+ }[] | undefined;
1146
+ };
1147
+ organizationCreation: {
1148
+ title: string;
1149
+ subtitle: string;
1150
+ buttonText: string;
1151
+ loadingText: string;
1152
+ showSignUpLink?: boolean | undefined;
1153
+ signUpLinkText?: string | undefined;
1154
+ showSignInLink?: boolean | undefined;
1155
+ signInLinkText?: string | undefined;
1156
+ forgotPasswordEnabled?: boolean | undefined;
1157
+ forgotPasswordText?: string | undefined;
1158
+ dividerEnabled?: boolean | undefined;
1159
+ dividerText?: string | undefined;
1160
+ fields?: {
1161
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1162
+ enabled: boolean;
1163
+ required: boolean;
1164
+ showLabel: boolean;
1165
+ label: string;
1166
+ placeholder?: string | undefined;
1167
+ showPasswordToggle?: boolean | undefined;
1168
+ }[] | undefined;
1169
+ };
1170
+ }, {
1171
+ signIn: {
1172
+ title?: string | undefined;
1173
+ subtitle?: string | undefined;
1174
+ buttonText?: string | undefined;
1175
+ loadingText?: string | undefined;
1176
+ showSignUpLink?: boolean | undefined;
1177
+ signUpLinkText?: string | undefined;
1178
+ showSignInLink?: boolean | undefined;
1179
+ signInLinkText?: string | undefined;
1180
+ forgotPasswordEnabled?: boolean | undefined;
1181
+ forgotPasswordText?: string | undefined;
1182
+ dividerEnabled?: boolean | undefined;
1183
+ dividerText?: string | undefined;
1184
+ fields?: {
1185
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1186
+ enabled?: boolean | undefined;
1187
+ required?: boolean | undefined;
1188
+ showLabel?: boolean | undefined;
1189
+ label?: string | undefined;
1190
+ placeholder?: string | undefined;
1191
+ showPasswordToggle?: boolean | undefined;
1192
+ }[] | undefined;
1193
+ };
1194
+ signUp: {
1195
+ title?: string | undefined;
1196
+ subtitle?: string | undefined;
1197
+ buttonText?: string | undefined;
1198
+ loadingText?: string | undefined;
1199
+ showSignUpLink?: boolean | undefined;
1200
+ signUpLinkText?: string | undefined;
1201
+ showSignInLink?: boolean | undefined;
1202
+ signInLinkText?: string | undefined;
1203
+ forgotPasswordEnabled?: boolean | undefined;
1204
+ forgotPasswordText?: string | undefined;
1205
+ dividerEnabled?: boolean | undefined;
1206
+ dividerText?: string | undefined;
1207
+ fields?: {
1208
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1209
+ enabled?: boolean | undefined;
1210
+ required?: boolean | undefined;
1211
+ showLabel?: boolean | undefined;
1212
+ label?: string | undefined;
1213
+ placeholder?: string | undefined;
1214
+ showPasswordToggle?: boolean | undefined;
1215
+ }[] | undefined;
1216
+ };
1217
+ forgotPassword: {
1218
+ title?: string | undefined;
1219
+ subtitle?: string | undefined;
1220
+ buttonText?: string | undefined;
1221
+ loadingText?: string | undefined;
1222
+ showSignUpLink?: boolean | undefined;
1223
+ signUpLinkText?: string | undefined;
1224
+ showSignInLink?: boolean | undefined;
1225
+ signInLinkText?: string | undefined;
1226
+ forgotPasswordEnabled?: boolean | undefined;
1227
+ forgotPasswordText?: string | undefined;
1228
+ dividerEnabled?: boolean | undefined;
1229
+ dividerText?: string | undefined;
1230
+ fields?: {
1231
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1232
+ enabled?: boolean | undefined;
1233
+ required?: boolean | undefined;
1234
+ showLabel?: boolean | undefined;
1235
+ label?: string | undefined;
1236
+ placeholder?: string | undefined;
1237
+ showPasswordToggle?: boolean | undefined;
1238
+ }[] | undefined;
1239
+ };
1240
+ resetPassword: {
1241
+ title?: string | undefined;
1242
+ subtitle?: string | undefined;
1243
+ buttonText?: string | undefined;
1244
+ loadingText?: string | undefined;
1245
+ showSignUpLink?: boolean | undefined;
1246
+ signUpLinkText?: string | undefined;
1247
+ showSignInLink?: boolean | undefined;
1248
+ signInLinkText?: string | undefined;
1249
+ forgotPasswordEnabled?: boolean | undefined;
1250
+ forgotPasswordText?: string | undefined;
1251
+ dividerEnabled?: boolean | undefined;
1252
+ dividerText?: string | undefined;
1253
+ fields?: {
1254
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1255
+ enabled?: boolean | undefined;
1256
+ required?: boolean | undefined;
1257
+ showLabel?: boolean | undefined;
1258
+ label?: string | undefined;
1259
+ placeholder?: string | undefined;
1260
+ showPasswordToggle?: boolean | undefined;
1261
+ }[] | undefined;
1262
+ };
1263
+ magicLink: {
1264
+ title?: string | undefined;
1265
+ subtitle?: string | undefined;
1266
+ buttonText?: string | undefined;
1267
+ loadingText?: string | undefined;
1268
+ showSignUpLink?: boolean | undefined;
1269
+ signUpLinkText?: string | undefined;
1270
+ showSignInLink?: boolean | undefined;
1271
+ signInLinkText?: string | undefined;
1272
+ forgotPasswordEnabled?: boolean | undefined;
1273
+ forgotPasswordText?: string | undefined;
1274
+ dividerEnabled?: boolean | undefined;
1275
+ dividerText?: string | undefined;
1276
+ fields?: {
1277
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1278
+ enabled?: boolean | undefined;
1279
+ required?: boolean | undefined;
1280
+ showLabel?: boolean | undefined;
1281
+ label?: string | undefined;
1282
+ placeholder?: string | undefined;
1283
+ showPasswordToggle?: boolean | undefined;
1284
+ }[] | undefined;
1285
+ };
1286
+ emailVerification: {
1287
+ title?: string | undefined;
1288
+ subtitle?: string | undefined;
1289
+ buttonText?: string | undefined;
1290
+ loadingText?: string | undefined;
1291
+ showSignUpLink?: boolean | undefined;
1292
+ signUpLinkText?: string | undefined;
1293
+ showSignInLink?: boolean | undefined;
1294
+ signInLinkText?: string | undefined;
1295
+ forgotPasswordEnabled?: boolean | undefined;
1296
+ forgotPasswordText?: string | undefined;
1297
+ dividerEnabled?: boolean | undefined;
1298
+ dividerText?: string | undefined;
1299
+ fields?: {
1300
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1301
+ enabled?: boolean | undefined;
1302
+ required?: boolean | undefined;
1303
+ showLabel?: boolean | undefined;
1304
+ label?: string | undefined;
1305
+ placeholder?: string | undefined;
1306
+ showPasswordToggle?: boolean | undefined;
1307
+ }[] | undefined;
1308
+ };
1309
+ mfa: {
1310
+ title?: string | undefined;
1311
+ subtitle?: string | undefined;
1312
+ buttonText?: string | undefined;
1313
+ loadingText?: string | undefined;
1314
+ showSignUpLink?: boolean | undefined;
1315
+ signUpLinkText?: string | undefined;
1316
+ showSignInLink?: boolean | undefined;
1317
+ signInLinkText?: string | undefined;
1318
+ forgotPasswordEnabled?: boolean | undefined;
1319
+ forgotPasswordText?: string | undefined;
1320
+ dividerEnabled?: boolean | undefined;
1321
+ dividerText?: string | undefined;
1322
+ fields?: {
1323
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1324
+ enabled?: boolean | undefined;
1325
+ required?: boolean | undefined;
1326
+ showLabel?: boolean | undefined;
1327
+ label?: string | undefined;
1328
+ placeholder?: string | undefined;
1329
+ showPasswordToggle?: boolean | undefined;
1330
+ }[] | undefined;
1331
+ };
1332
+ organizationSelection: {
1333
+ title?: string | undefined;
1334
+ subtitle?: string | undefined;
1335
+ buttonText?: string | undefined;
1336
+ loadingText?: string | undefined;
1337
+ showSignUpLink?: boolean | undefined;
1338
+ signUpLinkText?: string | undefined;
1339
+ showSignInLink?: boolean | undefined;
1340
+ signInLinkText?: string | undefined;
1341
+ forgotPasswordEnabled?: boolean | undefined;
1342
+ forgotPasswordText?: string | undefined;
1343
+ dividerEnabled?: boolean | undefined;
1344
+ dividerText?: string | undefined;
1345
+ fields?: {
1346
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1347
+ enabled?: boolean | undefined;
1348
+ required?: boolean | undefined;
1349
+ showLabel?: boolean | undefined;
1350
+ label?: string | undefined;
1351
+ placeholder?: string | undefined;
1352
+ showPasswordToggle?: boolean | undefined;
1353
+ }[] | undefined;
1354
+ };
1355
+ organizationCreation: {
1356
+ title?: string | undefined;
1357
+ subtitle?: string | undefined;
1358
+ buttonText?: string | undefined;
1359
+ loadingText?: string | undefined;
1360
+ showSignUpLink?: boolean | undefined;
1361
+ signUpLinkText?: string | undefined;
1362
+ showSignInLink?: boolean | undefined;
1363
+ signInLinkText?: string | undefined;
1364
+ forgotPasswordEnabled?: boolean | undefined;
1365
+ forgotPasswordText?: string | undefined;
1366
+ dividerEnabled?: boolean | undefined;
1367
+ dividerText?: string | undefined;
1368
+ fields?: {
1369
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1370
+ enabled?: boolean | undefined;
1371
+ required?: boolean | undefined;
1372
+ showLabel?: boolean | undefined;
1373
+ label?: string | undefined;
1374
+ placeholder?: string | undefined;
1375
+ showPasswordToggle?: boolean | undefined;
1376
+ }[] | undefined;
1377
+ };
1378
+ }>;
1379
+ type ExperiencesConfig = z.infer<typeof experiencesSchema>;
1380
+ declare const authExperienceConfigSchema: z.ZodObject<{
1381
+ version: z.ZodDefault<z.ZodLiteral<1>>;
1382
+ applicationName: z.ZodOptional<z.ZodString>;
1383
+ methods: z.ZodObject<{
1384
+ emailPassword: z.ZodDefault<z.ZodBoolean>;
1385
+ magicLink: z.ZodDefault<z.ZodBoolean>;
1386
+ passkeys: z.ZodDefault<z.ZodBoolean>;
1387
+ phone: z.ZodDefault<z.ZodBoolean>;
1388
+ }, "strip", z.ZodTypeAny, {
1389
+ magicLink: boolean;
1390
+ emailPassword: boolean;
1391
+ passkeys: boolean;
1392
+ phone: boolean;
1393
+ }, {
1394
+ magicLink?: boolean | undefined;
1395
+ emailPassword?: boolean | undefined;
1396
+ passkeys?: boolean | undefined;
1397
+ phone?: boolean | undefined;
1398
+ }>;
1399
+ providers: z.ZodArray<z.ZodObject<{
1400
+ id: z.ZodEnum<["google", "github", "discord", "apple", "facebook", "microsoft"]>;
1401
+ enabled: z.ZodDefault<z.ZodBoolean>;
1402
+ buttonLabel: z.ZodOptional<z.ZodString>;
1403
+ position: z.ZodDefault<z.ZodEnum<["before", "after"]>>;
1404
+ }, "strip", z.ZodTypeAny, {
1405
+ id: "google" | "github" | "discord" | "apple" | "facebook" | "microsoft";
1406
+ enabled: boolean;
1407
+ position: "before" | "after";
1408
+ buttonLabel?: string | undefined;
1409
+ }, {
1410
+ id: "google" | "github" | "discord" | "apple" | "facebook" | "microsoft";
1411
+ enabled?: boolean | undefined;
1412
+ buttonLabel?: string | undefined;
1413
+ position?: "before" | "after" | undefined;
1414
+ }>, "many">;
1415
+ appearance: z.ZodObject<{
1416
+ primaryColor: z.ZodDefault<z.ZodString>;
1417
+ backgroundColor: z.ZodDefault<z.ZodString>;
1418
+ foregroundColor: z.ZodDefault<z.ZodString>;
1419
+ mutedColor: z.ZodDefault<z.ZodString>;
1420
+ borderColor: z.ZodDefault<z.ZodString>;
1421
+ surfaceColor: z.ZodDefault<z.ZodString>;
1422
+ radius: z.ZodDefault<z.ZodEnum<["small", "medium", "large"]>>;
1423
+ fontFamily: z.ZodDefault<z.ZodString>;
1424
+ headingSize: z.ZodDefault<z.ZodString>;
1425
+ bodySize: z.ZodDefault<z.ZodString>;
1426
+ logoUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1427
+ logoSize: z.ZodDefault<z.ZodNumber>;
1428
+ logoAlignment: z.ZodDefault<z.ZodEnum<["left", "center", "right"]>>;
1429
+ showAppName: z.ZodDefault<z.ZodBoolean>;
1430
+ showMeindeskBranding: z.ZodDefault<z.ZodBoolean>;
1431
+ cardStyle: z.ZodDefault<z.ZodEnum<["flat", "bordered", "elevated"]>>;
1432
+ layout: z.ZodDefault<z.ZodEnum<["centered", "minimal"]>>;
1433
+ }, "strip", z.ZodTypeAny, {
1434
+ primaryColor: string;
1435
+ backgroundColor: string;
1436
+ foregroundColor: string;
1437
+ mutedColor: string;
1438
+ borderColor: string;
1439
+ surfaceColor: string;
1440
+ radius: "small" | "medium" | "large";
1441
+ fontFamily: string;
1442
+ headingSize: string;
1443
+ bodySize: string;
1444
+ logoUrl: string | null;
1445
+ logoSize: number;
1446
+ logoAlignment: "left" | "center" | "right";
1447
+ showAppName: boolean;
1448
+ showMeindeskBranding: boolean;
1449
+ cardStyle: "flat" | "bordered" | "elevated";
1450
+ layout: "centered" | "minimal";
1451
+ }, {
1452
+ primaryColor?: string | undefined;
1453
+ backgroundColor?: string | undefined;
1454
+ foregroundColor?: string | undefined;
1455
+ mutedColor?: string | undefined;
1456
+ borderColor?: string | undefined;
1457
+ surfaceColor?: string | undefined;
1458
+ radius?: "small" | "medium" | "large" | undefined;
1459
+ fontFamily?: string | undefined;
1460
+ headingSize?: string | undefined;
1461
+ bodySize?: string | undefined;
1462
+ logoUrl?: string | null | undefined;
1463
+ logoSize?: number | undefined;
1464
+ logoAlignment?: "left" | "center" | "right" | undefined;
1465
+ showAppName?: boolean | undefined;
1466
+ showMeindeskBranding?: boolean | undefined;
1467
+ cardStyle?: "flat" | "bordered" | "elevated" | undefined;
1468
+ layout?: "centered" | "minimal" | undefined;
1469
+ }>;
1470
+ experiences: z.ZodObject<{
1471
+ signIn: z.ZodObject<{
1472
+ title: z.ZodDefault<z.ZodString>;
1473
+ subtitle: z.ZodDefault<z.ZodString>;
1474
+ buttonText: z.ZodDefault<z.ZodString>;
1475
+ loadingText: z.ZodDefault<z.ZodString>;
1476
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
1477
+ signUpLinkText: z.ZodOptional<z.ZodString>;
1478
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
1479
+ signInLinkText: z.ZodOptional<z.ZodString>;
1480
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
1481
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
1482
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
1483
+ dividerText: z.ZodOptional<z.ZodString>;
1484
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1485
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
1486
+ enabled: z.ZodDefault<z.ZodBoolean>;
1487
+ required: z.ZodDefault<z.ZodBoolean>;
1488
+ showLabel: z.ZodDefault<z.ZodBoolean>;
1489
+ label: z.ZodDefault<z.ZodString>;
1490
+ placeholder: z.ZodOptional<z.ZodString>;
1491
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
1492
+ }, "strip", z.ZodTypeAny, {
1493
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1494
+ enabled: boolean;
1495
+ required: boolean;
1496
+ showLabel: boolean;
1497
+ label: string;
1498
+ placeholder?: string | undefined;
1499
+ showPasswordToggle?: boolean | undefined;
1500
+ }, {
1501
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1502
+ enabled?: boolean | undefined;
1503
+ required?: boolean | undefined;
1504
+ showLabel?: boolean | undefined;
1505
+ label?: string | undefined;
1506
+ placeholder?: string | undefined;
1507
+ showPasswordToggle?: boolean | undefined;
1508
+ }>, "many">>;
1509
+ }, "strip", z.ZodTypeAny, {
1510
+ title: string;
1511
+ subtitle: string;
1512
+ buttonText: string;
1513
+ loadingText: string;
1514
+ showSignUpLink?: boolean | undefined;
1515
+ signUpLinkText?: string | undefined;
1516
+ showSignInLink?: boolean | undefined;
1517
+ signInLinkText?: string | undefined;
1518
+ forgotPasswordEnabled?: boolean | undefined;
1519
+ forgotPasswordText?: string | undefined;
1520
+ dividerEnabled?: boolean | undefined;
1521
+ dividerText?: string | undefined;
1522
+ fields?: {
1523
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1524
+ enabled: boolean;
1525
+ required: boolean;
1526
+ showLabel: boolean;
1527
+ label: string;
1528
+ placeholder?: string | undefined;
1529
+ showPasswordToggle?: boolean | undefined;
1530
+ }[] | undefined;
1531
+ }, {
1532
+ title?: string | undefined;
1533
+ subtitle?: string | undefined;
1534
+ buttonText?: string | undefined;
1535
+ loadingText?: string | undefined;
1536
+ showSignUpLink?: boolean | undefined;
1537
+ signUpLinkText?: string | undefined;
1538
+ showSignInLink?: boolean | undefined;
1539
+ signInLinkText?: string | undefined;
1540
+ forgotPasswordEnabled?: boolean | undefined;
1541
+ forgotPasswordText?: string | undefined;
1542
+ dividerEnabled?: boolean | undefined;
1543
+ dividerText?: string | undefined;
1544
+ fields?: {
1545
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1546
+ enabled?: boolean | undefined;
1547
+ required?: boolean | undefined;
1548
+ showLabel?: boolean | undefined;
1549
+ label?: string | undefined;
1550
+ placeholder?: string | undefined;
1551
+ showPasswordToggle?: boolean | undefined;
1552
+ }[] | undefined;
1553
+ }>;
1554
+ signUp: z.ZodObject<{
1555
+ title: z.ZodDefault<z.ZodString>;
1556
+ subtitle: z.ZodDefault<z.ZodString>;
1557
+ buttonText: z.ZodDefault<z.ZodString>;
1558
+ loadingText: z.ZodDefault<z.ZodString>;
1559
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
1560
+ signUpLinkText: z.ZodOptional<z.ZodString>;
1561
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
1562
+ signInLinkText: z.ZodOptional<z.ZodString>;
1563
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
1564
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
1565
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
1566
+ dividerText: z.ZodOptional<z.ZodString>;
1567
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1568
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
1569
+ enabled: z.ZodDefault<z.ZodBoolean>;
1570
+ required: z.ZodDefault<z.ZodBoolean>;
1571
+ showLabel: z.ZodDefault<z.ZodBoolean>;
1572
+ label: z.ZodDefault<z.ZodString>;
1573
+ placeholder: z.ZodOptional<z.ZodString>;
1574
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
1575
+ }, "strip", z.ZodTypeAny, {
1576
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1577
+ enabled: boolean;
1578
+ required: boolean;
1579
+ showLabel: boolean;
1580
+ label: string;
1581
+ placeholder?: string | undefined;
1582
+ showPasswordToggle?: boolean | undefined;
1583
+ }, {
1584
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1585
+ enabled?: boolean | undefined;
1586
+ required?: boolean | undefined;
1587
+ showLabel?: boolean | undefined;
1588
+ label?: string | undefined;
1589
+ placeholder?: string | undefined;
1590
+ showPasswordToggle?: boolean | undefined;
1591
+ }>, "many">>;
1592
+ }, "strip", z.ZodTypeAny, {
1593
+ title: string;
1594
+ subtitle: string;
1595
+ buttonText: string;
1596
+ loadingText: string;
1597
+ showSignUpLink?: boolean | undefined;
1598
+ signUpLinkText?: string | undefined;
1599
+ showSignInLink?: boolean | undefined;
1600
+ signInLinkText?: string | undefined;
1601
+ forgotPasswordEnabled?: boolean | undefined;
1602
+ forgotPasswordText?: string | undefined;
1603
+ dividerEnabled?: boolean | undefined;
1604
+ dividerText?: string | undefined;
1605
+ fields?: {
1606
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1607
+ enabled: boolean;
1608
+ required: boolean;
1609
+ showLabel: boolean;
1610
+ label: string;
1611
+ placeholder?: string | undefined;
1612
+ showPasswordToggle?: boolean | undefined;
1613
+ }[] | undefined;
1614
+ }, {
1615
+ title?: string | undefined;
1616
+ subtitle?: string | undefined;
1617
+ buttonText?: string | undefined;
1618
+ loadingText?: string | undefined;
1619
+ showSignUpLink?: boolean | undefined;
1620
+ signUpLinkText?: string | undefined;
1621
+ showSignInLink?: boolean | undefined;
1622
+ signInLinkText?: string | undefined;
1623
+ forgotPasswordEnabled?: boolean | undefined;
1624
+ forgotPasswordText?: string | undefined;
1625
+ dividerEnabled?: boolean | undefined;
1626
+ dividerText?: string | undefined;
1627
+ fields?: {
1628
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1629
+ enabled?: boolean | undefined;
1630
+ required?: boolean | undefined;
1631
+ showLabel?: boolean | undefined;
1632
+ label?: string | undefined;
1633
+ placeholder?: string | undefined;
1634
+ showPasswordToggle?: boolean | undefined;
1635
+ }[] | undefined;
1636
+ }>;
1637
+ forgotPassword: z.ZodObject<{
1638
+ title: z.ZodDefault<z.ZodString>;
1639
+ subtitle: z.ZodDefault<z.ZodString>;
1640
+ buttonText: z.ZodDefault<z.ZodString>;
1641
+ loadingText: z.ZodDefault<z.ZodString>;
1642
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
1643
+ signUpLinkText: z.ZodOptional<z.ZodString>;
1644
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
1645
+ signInLinkText: z.ZodOptional<z.ZodString>;
1646
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
1647
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
1648
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
1649
+ dividerText: z.ZodOptional<z.ZodString>;
1650
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1651
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
1652
+ enabled: z.ZodDefault<z.ZodBoolean>;
1653
+ required: z.ZodDefault<z.ZodBoolean>;
1654
+ showLabel: z.ZodDefault<z.ZodBoolean>;
1655
+ label: z.ZodDefault<z.ZodString>;
1656
+ placeholder: z.ZodOptional<z.ZodString>;
1657
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
1658
+ }, "strip", z.ZodTypeAny, {
1659
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1660
+ enabled: boolean;
1661
+ required: boolean;
1662
+ showLabel: boolean;
1663
+ label: string;
1664
+ placeholder?: string | undefined;
1665
+ showPasswordToggle?: boolean | undefined;
1666
+ }, {
1667
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1668
+ enabled?: boolean | undefined;
1669
+ required?: boolean | undefined;
1670
+ showLabel?: boolean | undefined;
1671
+ label?: string | undefined;
1672
+ placeholder?: string | undefined;
1673
+ showPasswordToggle?: boolean | undefined;
1674
+ }>, "many">>;
1675
+ }, "strip", z.ZodTypeAny, {
1676
+ title: string;
1677
+ subtitle: string;
1678
+ buttonText: string;
1679
+ loadingText: string;
1680
+ showSignUpLink?: boolean | undefined;
1681
+ signUpLinkText?: string | undefined;
1682
+ showSignInLink?: boolean | undefined;
1683
+ signInLinkText?: string | undefined;
1684
+ forgotPasswordEnabled?: boolean | undefined;
1685
+ forgotPasswordText?: string | undefined;
1686
+ dividerEnabled?: boolean | undefined;
1687
+ dividerText?: string | undefined;
1688
+ fields?: {
1689
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1690
+ enabled: boolean;
1691
+ required: boolean;
1692
+ showLabel: boolean;
1693
+ label: string;
1694
+ placeholder?: string | undefined;
1695
+ showPasswordToggle?: boolean | undefined;
1696
+ }[] | undefined;
1697
+ }, {
1698
+ title?: string | undefined;
1699
+ subtitle?: string | undefined;
1700
+ buttonText?: string | undefined;
1701
+ loadingText?: string | undefined;
1702
+ showSignUpLink?: boolean | undefined;
1703
+ signUpLinkText?: string | undefined;
1704
+ showSignInLink?: boolean | undefined;
1705
+ signInLinkText?: string | undefined;
1706
+ forgotPasswordEnabled?: boolean | undefined;
1707
+ forgotPasswordText?: string | undefined;
1708
+ dividerEnabled?: boolean | undefined;
1709
+ dividerText?: string | undefined;
1710
+ fields?: {
1711
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1712
+ enabled?: boolean | undefined;
1713
+ required?: boolean | undefined;
1714
+ showLabel?: boolean | undefined;
1715
+ label?: string | undefined;
1716
+ placeholder?: string | undefined;
1717
+ showPasswordToggle?: boolean | undefined;
1718
+ }[] | undefined;
1719
+ }>;
1720
+ resetPassword: z.ZodObject<{
1721
+ title: z.ZodDefault<z.ZodString>;
1722
+ subtitle: z.ZodDefault<z.ZodString>;
1723
+ buttonText: z.ZodDefault<z.ZodString>;
1724
+ loadingText: z.ZodDefault<z.ZodString>;
1725
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
1726
+ signUpLinkText: z.ZodOptional<z.ZodString>;
1727
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
1728
+ signInLinkText: z.ZodOptional<z.ZodString>;
1729
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
1730
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
1731
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
1732
+ dividerText: z.ZodOptional<z.ZodString>;
1733
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1734
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
1735
+ enabled: z.ZodDefault<z.ZodBoolean>;
1736
+ required: z.ZodDefault<z.ZodBoolean>;
1737
+ showLabel: z.ZodDefault<z.ZodBoolean>;
1738
+ label: z.ZodDefault<z.ZodString>;
1739
+ placeholder: z.ZodOptional<z.ZodString>;
1740
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
1741
+ }, "strip", z.ZodTypeAny, {
1742
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1743
+ enabled: boolean;
1744
+ required: boolean;
1745
+ showLabel: boolean;
1746
+ label: string;
1747
+ placeholder?: string | undefined;
1748
+ showPasswordToggle?: boolean | undefined;
1749
+ }, {
1750
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1751
+ enabled?: boolean | undefined;
1752
+ required?: boolean | undefined;
1753
+ showLabel?: boolean | undefined;
1754
+ label?: string | undefined;
1755
+ placeholder?: string | undefined;
1756
+ showPasswordToggle?: boolean | undefined;
1757
+ }>, "many">>;
1758
+ }, "strip", z.ZodTypeAny, {
1759
+ title: string;
1760
+ subtitle: string;
1761
+ buttonText: string;
1762
+ loadingText: string;
1763
+ showSignUpLink?: boolean | undefined;
1764
+ signUpLinkText?: string | undefined;
1765
+ showSignInLink?: boolean | undefined;
1766
+ signInLinkText?: string | undefined;
1767
+ forgotPasswordEnabled?: boolean | undefined;
1768
+ forgotPasswordText?: string | undefined;
1769
+ dividerEnabled?: boolean | undefined;
1770
+ dividerText?: string | undefined;
1771
+ fields?: {
1772
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1773
+ enabled: boolean;
1774
+ required: boolean;
1775
+ showLabel: boolean;
1776
+ label: string;
1777
+ placeholder?: string | undefined;
1778
+ showPasswordToggle?: boolean | undefined;
1779
+ }[] | undefined;
1780
+ }, {
1781
+ title?: string | undefined;
1782
+ subtitle?: string | undefined;
1783
+ buttonText?: string | undefined;
1784
+ loadingText?: string | undefined;
1785
+ showSignUpLink?: boolean | undefined;
1786
+ signUpLinkText?: string | undefined;
1787
+ showSignInLink?: boolean | undefined;
1788
+ signInLinkText?: string | undefined;
1789
+ forgotPasswordEnabled?: boolean | undefined;
1790
+ forgotPasswordText?: string | undefined;
1791
+ dividerEnabled?: boolean | undefined;
1792
+ dividerText?: string | undefined;
1793
+ fields?: {
1794
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1795
+ enabled?: boolean | undefined;
1796
+ required?: boolean | undefined;
1797
+ showLabel?: boolean | undefined;
1798
+ label?: string | undefined;
1799
+ placeholder?: string | undefined;
1800
+ showPasswordToggle?: boolean | undefined;
1801
+ }[] | undefined;
1802
+ }>;
1803
+ magicLink: z.ZodObject<{
1804
+ title: z.ZodDefault<z.ZodString>;
1805
+ subtitle: z.ZodDefault<z.ZodString>;
1806
+ buttonText: z.ZodDefault<z.ZodString>;
1807
+ loadingText: z.ZodDefault<z.ZodString>;
1808
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
1809
+ signUpLinkText: z.ZodOptional<z.ZodString>;
1810
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
1811
+ signInLinkText: z.ZodOptional<z.ZodString>;
1812
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
1813
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
1814
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
1815
+ dividerText: z.ZodOptional<z.ZodString>;
1816
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1817
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
1818
+ enabled: z.ZodDefault<z.ZodBoolean>;
1819
+ required: z.ZodDefault<z.ZodBoolean>;
1820
+ showLabel: z.ZodDefault<z.ZodBoolean>;
1821
+ label: z.ZodDefault<z.ZodString>;
1822
+ placeholder: z.ZodOptional<z.ZodString>;
1823
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
1824
+ }, "strip", z.ZodTypeAny, {
1825
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1826
+ enabled: boolean;
1827
+ required: boolean;
1828
+ showLabel: boolean;
1829
+ label: string;
1830
+ placeholder?: string | undefined;
1831
+ showPasswordToggle?: boolean | undefined;
1832
+ }, {
1833
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1834
+ enabled?: boolean | undefined;
1835
+ required?: boolean | undefined;
1836
+ showLabel?: boolean | undefined;
1837
+ label?: string | undefined;
1838
+ placeholder?: string | undefined;
1839
+ showPasswordToggle?: boolean | undefined;
1840
+ }>, "many">>;
1841
+ }, "strip", z.ZodTypeAny, {
1842
+ title: string;
1843
+ subtitle: string;
1844
+ buttonText: string;
1845
+ loadingText: string;
1846
+ showSignUpLink?: boolean | undefined;
1847
+ signUpLinkText?: string | undefined;
1848
+ showSignInLink?: boolean | undefined;
1849
+ signInLinkText?: string | undefined;
1850
+ forgotPasswordEnabled?: boolean | undefined;
1851
+ forgotPasswordText?: string | undefined;
1852
+ dividerEnabled?: boolean | undefined;
1853
+ dividerText?: string | undefined;
1854
+ fields?: {
1855
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1856
+ enabled: boolean;
1857
+ required: boolean;
1858
+ showLabel: boolean;
1859
+ label: string;
1860
+ placeholder?: string | undefined;
1861
+ showPasswordToggle?: boolean | undefined;
1862
+ }[] | undefined;
1863
+ }, {
1864
+ title?: string | undefined;
1865
+ subtitle?: string | undefined;
1866
+ buttonText?: string | undefined;
1867
+ loadingText?: string | undefined;
1868
+ showSignUpLink?: boolean | undefined;
1869
+ signUpLinkText?: string | undefined;
1870
+ showSignInLink?: boolean | undefined;
1871
+ signInLinkText?: string | undefined;
1872
+ forgotPasswordEnabled?: boolean | undefined;
1873
+ forgotPasswordText?: string | undefined;
1874
+ dividerEnabled?: boolean | undefined;
1875
+ dividerText?: string | undefined;
1876
+ fields?: {
1877
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1878
+ enabled?: boolean | undefined;
1879
+ required?: boolean | undefined;
1880
+ showLabel?: boolean | undefined;
1881
+ label?: string | undefined;
1882
+ placeholder?: string | undefined;
1883
+ showPasswordToggle?: boolean | undefined;
1884
+ }[] | undefined;
1885
+ }>;
1886
+ emailVerification: z.ZodObject<{
1887
+ title: z.ZodDefault<z.ZodString>;
1888
+ subtitle: z.ZodDefault<z.ZodString>;
1889
+ buttonText: z.ZodDefault<z.ZodString>;
1890
+ loadingText: z.ZodDefault<z.ZodString>;
1891
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
1892
+ signUpLinkText: z.ZodOptional<z.ZodString>;
1893
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
1894
+ signInLinkText: z.ZodOptional<z.ZodString>;
1895
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
1896
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
1897
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
1898
+ dividerText: z.ZodOptional<z.ZodString>;
1899
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1900
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
1901
+ enabled: z.ZodDefault<z.ZodBoolean>;
1902
+ required: z.ZodDefault<z.ZodBoolean>;
1903
+ showLabel: z.ZodDefault<z.ZodBoolean>;
1904
+ label: z.ZodDefault<z.ZodString>;
1905
+ placeholder: z.ZodOptional<z.ZodString>;
1906
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
1907
+ }, "strip", z.ZodTypeAny, {
1908
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1909
+ enabled: boolean;
1910
+ required: boolean;
1911
+ showLabel: boolean;
1912
+ label: string;
1913
+ placeholder?: string | undefined;
1914
+ showPasswordToggle?: boolean | undefined;
1915
+ }, {
1916
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1917
+ enabled?: boolean | undefined;
1918
+ required?: boolean | undefined;
1919
+ showLabel?: boolean | undefined;
1920
+ label?: string | undefined;
1921
+ placeholder?: string | undefined;
1922
+ showPasswordToggle?: boolean | undefined;
1923
+ }>, "many">>;
1924
+ }, "strip", z.ZodTypeAny, {
1925
+ title: string;
1926
+ subtitle: string;
1927
+ buttonText: string;
1928
+ loadingText: string;
1929
+ showSignUpLink?: boolean | undefined;
1930
+ signUpLinkText?: string | undefined;
1931
+ showSignInLink?: boolean | undefined;
1932
+ signInLinkText?: string | undefined;
1933
+ forgotPasswordEnabled?: boolean | undefined;
1934
+ forgotPasswordText?: string | undefined;
1935
+ dividerEnabled?: boolean | undefined;
1936
+ dividerText?: string | undefined;
1937
+ fields?: {
1938
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1939
+ enabled: boolean;
1940
+ required: boolean;
1941
+ showLabel: boolean;
1942
+ label: string;
1943
+ placeholder?: string | undefined;
1944
+ showPasswordToggle?: boolean | undefined;
1945
+ }[] | undefined;
1946
+ }, {
1947
+ title?: string | undefined;
1948
+ subtitle?: string | undefined;
1949
+ buttonText?: string | undefined;
1950
+ loadingText?: string | undefined;
1951
+ showSignUpLink?: boolean | undefined;
1952
+ signUpLinkText?: string | undefined;
1953
+ showSignInLink?: boolean | undefined;
1954
+ signInLinkText?: string | undefined;
1955
+ forgotPasswordEnabled?: boolean | undefined;
1956
+ forgotPasswordText?: string | undefined;
1957
+ dividerEnabled?: boolean | undefined;
1958
+ dividerText?: string | undefined;
1959
+ fields?: {
1960
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1961
+ enabled?: boolean | undefined;
1962
+ required?: boolean | undefined;
1963
+ showLabel?: boolean | undefined;
1964
+ label?: string | undefined;
1965
+ placeholder?: string | undefined;
1966
+ showPasswordToggle?: boolean | undefined;
1967
+ }[] | undefined;
1968
+ }>;
1969
+ mfa: z.ZodObject<{
1970
+ title: z.ZodDefault<z.ZodString>;
1971
+ subtitle: z.ZodDefault<z.ZodString>;
1972
+ buttonText: z.ZodDefault<z.ZodString>;
1973
+ loadingText: z.ZodDefault<z.ZodString>;
1974
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
1975
+ signUpLinkText: z.ZodOptional<z.ZodString>;
1976
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
1977
+ signInLinkText: z.ZodOptional<z.ZodString>;
1978
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
1979
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
1980
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
1981
+ dividerText: z.ZodOptional<z.ZodString>;
1982
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1983
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
1984
+ enabled: z.ZodDefault<z.ZodBoolean>;
1985
+ required: z.ZodDefault<z.ZodBoolean>;
1986
+ showLabel: z.ZodDefault<z.ZodBoolean>;
1987
+ label: z.ZodDefault<z.ZodString>;
1988
+ placeholder: z.ZodOptional<z.ZodString>;
1989
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
1990
+ }, "strip", z.ZodTypeAny, {
1991
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
1992
+ enabled: boolean;
1993
+ required: boolean;
1994
+ showLabel: boolean;
1995
+ label: string;
1996
+ placeholder?: string | undefined;
1997
+ showPasswordToggle?: boolean | undefined;
1998
+ }, {
1999
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2000
+ enabled?: boolean | undefined;
2001
+ required?: boolean | undefined;
2002
+ showLabel?: boolean | undefined;
2003
+ label?: string | undefined;
2004
+ placeholder?: string | undefined;
2005
+ showPasswordToggle?: boolean | undefined;
2006
+ }>, "many">>;
2007
+ }, "strip", z.ZodTypeAny, {
2008
+ title: string;
2009
+ subtitle: string;
2010
+ buttonText: string;
2011
+ loadingText: string;
2012
+ showSignUpLink?: boolean | undefined;
2013
+ signUpLinkText?: string | undefined;
2014
+ showSignInLink?: boolean | undefined;
2015
+ signInLinkText?: string | undefined;
2016
+ forgotPasswordEnabled?: boolean | undefined;
2017
+ forgotPasswordText?: string | undefined;
2018
+ dividerEnabled?: boolean | undefined;
2019
+ dividerText?: string | undefined;
2020
+ fields?: {
2021
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2022
+ enabled: boolean;
2023
+ required: boolean;
2024
+ showLabel: boolean;
2025
+ label: string;
2026
+ placeholder?: string | undefined;
2027
+ showPasswordToggle?: boolean | undefined;
2028
+ }[] | undefined;
2029
+ }, {
2030
+ title?: string | undefined;
2031
+ subtitle?: string | undefined;
2032
+ buttonText?: string | undefined;
2033
+ loadingText?: string | undefined;
2034
+ showSignUpLink?: boolean | undefined;
2035
+ signUpLinkText?: string | undefined;
2036
+ showSignInLink?: boolean | undefined;
2037
+ signInLinkText?: string | undefined;
2038
+ forgotPasswordEnabled?: boolean | undefined;
2039
+ forgotPasswordText?: string | undefined;
2040
+ dividerEnabled?: boolean | undefined;
2041
+ dividerText?: string | undefined;
2042
+ fields?: {
2043
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2044
+ enabled?: boolean | undefined;
2045
+ required?: boolean | undefined;
2046
+ showLabel?: boolean | undefined;
2047
+ label?: string | undefined;
2048
+ placeholder?: string | undefined;
2049
+ showPasswordToggle?: boolean | undefined;
2050
+ }[] | undefined;
2051
+ }>;
2052
+ organizationSelection: z.ZodObject<{
2053
+ title: z.ZodDefault<z.ZodString>;
2054
+ subtitle: z.ZodDefault<z.ZodString>;
2055
+ buttonText: z.ZodDefault<z.ZodString>;
2056
+ loadingText: z.ZodDefault<z.ZodString>;
2057
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
2058
+ signUpLinkText: z.ZodOptional<z.ZodString>;
2059
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
2060
+ signInLinkText: z.ZodOptional<z.ZodString>;
2061
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
2062
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
2063
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
2064
+ dividerText: z.ZodOptional<z.ZodString>;
2065
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2066
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
2067
+ enabled: z.ZodDefault<z.ZodBoolean>;
2068
+ required: z.ZodDefault<z.ZodBoolean>;
2069
+ showLabel: z.ZodDefault<z.ZodBoolean>;
2070
+ label: z.ZodDefault<z.ZodString>;
2071
+ placeholder: z.ZodOptional<z.ZodString>;
2072
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
2073
+ }, "strip", z.ZodTypeAny, {
2074
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2075
+ enabled: boolean;
2076
+ required: boolean;
2077
+ showLabel: boolean;
2078
+ label: string;
2079
+ placeholder?: string | undefined;
2080
+ showPasswordToggle?: boolean | undefined;
2081
+ }, {
2082
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2083
+ enabled?: boolean | undefined;
2084
+ required?: boolean | undefined;
2085
+ showLabel?: boolean | undefined;
2086
+ label?: string | undefined;
2087
+ placeholder?: string | undefined;
2088
+ showPasswordToggle?: boolean | undefined;
2089
+ }>, "many">>;
2090
+ }, "strip", z.ZodTypeAny, {
2091
+ title: string;
2092
+ subtitle: string;
2093
+ buttonText: string;
2094
+ loadingText: string;
2095
+ showSignUpLink?: boolean | undefined;
2096
+ signUpLinkText?: string | undefined;
2097
+ showSignInLink?: boolean | undefined;
2098
+ signInLinkText?: string | undefined;
2099
+ forgotPasswordEnabled?: boolean | undefined;
2100
+ forgotPasswordText?: string | undefined;
2101
+ dividerEnabled?: boolean | undefined;
2102
+ dividerText?: string | undefined;
2103
+ fields?: {
2104
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2105
+ enabled: boolean;
2106
+ required: boolean;
2107
+ showLabel: boolean;
2108
+ label: string;
2109
+ placeholder?: string | undefined;
2110
+ showPasswordToggle?: boolean | undefined;
2111
+ }[] | undefined;
2112
+ }, {
2113
+ title?: string | undefined;
2114
+ subtitle?: string | undefined;
2115
+ buttonText?: string | undefined;
2116
+ loadingText?: string | undefined;
2117
+ showSignUpLink?: boolean | undefined;
2118
+ signUpLinkText?: string | undefined;
2119
+ showSignInLink?: boolean | undefined;
2120
+ signInLinkText?: string | undefined;
2121
+ forgotPasswordEnabled?: boolean | undefined;
2122
+ forgotPasswordText?: string | undefined;
2123
+ dividerEnabled?: boolean | undefined;
2124
+ dividerText?: string | undefined;
2125
+ fields?: {
2126
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2127
+ enabled?: boolean | undefined;
2128
+ required?: boolean | undefined;
2129
+ showLabel?: boolean | undefined;
2130
+ label?: string | undefined;
2131
+ placeholder?: string | undefined;
2132
+ showPasswordToggle?: boolean | undefined;
2133
+ }[] | undefined;
2134
+ }>;
2135
+ organizationCreation: z.ZodObject<{
2136
+ title: z.ZodDefault<z.ZodString>;
2137
+ subtitle: z.ZodDefault<z.ZodString>;
2138
+ buttonText: z.ZodDefault<z.ZodString>;
2139
+ loadingText: z.ZodDefault<z.ZodString>;
2140
+ showSignUpLink: z.ZodOptional<z.ZodBoolean>;
2141
+ signUpLinkText: z.ZodOptional<z.ZodString>;
2142
+ showSignInLink: z.ZodOptional<z.ZodBoolean>;
2143
+ signInLinkText: z.ZodOptional<z.ZodString>;
2144
+ forgotPasswordEnabled: z.ZodOptional<z.ZodBoolean>;
2145
+ forgotPasswordText: z.ZodOptional<z.ZodString>;
2146
+ dividerEnabled: z.ZodOptional<z.ZodBoolean>;
2147
+ dividerText: z.ZodOptional<z.ZodString>;
2148
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2149
+ id: z.ZodEnum<["email", "password", "firstName", "lastName", "username", "phoneNumber"]>;
2150
+ enabled: z.ZodDefault<z.ZodBoolean>;
2151
+ required: z.ZodDefault<z.ZodBoolean>;
2152
+ showLabel: z.ZodDefault<z.ZodBoolean>;
2153
+ label: z.ZodDefault<z.ZodString>;
2154
+ placeholder: z.ZodOptional<z.ZodString>;
2155
+ showPasswordToggle: z.ZodOptional<z.ZodBoolean>;
2156
+ }, "strip", z.ZodTypeAny, {
2157
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2158
+ enabled: boolean;
2159
+ required: boolean;
2160
+ showLabel: boolean;
2161
+ label: string;
2162
+ placeholder?: string | undefined;
2163
+ showPasswordToggle?: boolean | undefined;
2164
+ }, {
2165
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2166
+ enabled?: boolean | undefined;
2167
+ required?: boolean | undefined;
2168
+ showLabel?: boolean | undefined;
2169
+ label?: string | undefined;
2170
+ placeholder?: string | undefined;
2171
+ showPasswordToggle?: boolean | undefined;
2172
+ }>, "many">>;
2173
+ }, "strip", z.ZodTypeAny, {
2174
+ title: string;
2175
+ subtitle: string;
2176
+ buttonText: string;
2177
+ loadingText: string;
2178
+ showSignUpLink?: boolean | undefined;
2179
+ signUpLinkText?: string | undefined;
2180
+ showSignInLink?: boolean | undefined;
2181
+ signInLinkText?: string | undefined;
2182
+ forgotPasswordEnabled?: boolean | undefined;
2183
+ forgotPasswordText?: string | undefined;
2184
+ dividerEnabled?: boolean | undefined;
2185
+ dividerText?: string | undefined;
2186
+ fields?: {
2187
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2188
+ enabled: boolean;
2189
+ required: boolean;
2190
+ showLabel: boolean;
2191
+ label: string;
2192
+ placeholder?: string | undefined;
2193
+ showPasswordToggle?: boolean | undefined;
2194
+ }[] | undefined;
2195
+ }, {
2196
+ title?: string | undefined;
2197
+ subtitle?: string | undefined;
2198
+ buttonText?: string | undefined;
2199
+ loadingText?: string | undefined;
2200
+ showSignUpLink?: boolean | undefined;
2201
+ signUpLinkText?: string | undefined;
2202
+ showSignInLink?: boolean | undefined;
2203
+ signInLinkText?: string | undefined;
2204
+ forgotPasswordEnabled?: boolean | undefined;
2205
+ forgotPasswordText?: string | undefined;
2206
+ dividerEnabled?: boolean | undefined;
2207
+ dividerText?: string | undefined;
2208
+ fields?: {
2209
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2210
+ enabled?: boolean | undefined;
2211
+ required?: boolean | undefined;
2212
+ showLabel?: boolean | undefined;
2213
+ label?: string | undefined;
2214
+ placeholder?: string | undefined;
2215
+ showPasswordToggle?: boolean | undefined;
2216
+ }[] | undefined;
2217
+ }>;
2218
+ }, "strip", z.ZodTypeAny, {
2219
+ signIn: {
2220
+ title: string;
2221
+ subtitle: string;
2222
+ buttonText: string;
2223
+ loadingText: string;
2224
+ showSignUpLink?: boolean | undefined;
2225
+ signUpLinkText?: string | undefined;
2226
+ showSignInLink?: boolean | undefined;
2227
+ signInLinkText?: string | undefined;
2228
+ forgotPasswordEnabled?: boolean | undefined;
2229
+ forgotPasswordText?: string | undefined;
2230
+ dividerEnabled?: boolean | undefined;
2231
+ dividerText?: string | undefined;
2232
+ fields?: {
2233
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2234
+ enabled: boolean;
2235
+ required: boolean;
2236
+ showLabel: boolean;
2237
+ label: string;
2238
+ placeholder?: string | undefined;
2239
+ showPasswordToggle?: boolean | undefined;
2240
+ }[] | undefined;
2241
+ };
2242
+ signUp: {
2243
+ title: string;
2244
+ subtitle: string;
2245
+ buttonText: string;
2246
+ loadingText: string;
2247
+ showSignUpLink?: boolean | undefined;
2248
+ signUpLinkText?: string | undefined;
2249
+ showSignInLink?: boolean | undefined;
2250
+ signInLinkText?: string | undefined;
2251
+ forgotPasswordEnabled?: boolean | undefined;
2252
+ forgotPasswordText?: string | undefined;
2253
+ dividerEnabled?: boolean | undefined;
2254
+ dividerText?: string | undefined;
2255
+ fields?: {
2256
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2257
+ enabled: boolean;
2258
+ required: boolean;
2259
+ showLabel: boolean;
2260
+ label: string;
2261
+ placeholder?: string | undefined;
2262
+ showPasswordToggle?: boolean | undefined;
2263
+ }[] | undefined;
2264
+ };
2265
+ forgotPassword: {
2266
+ title: string;
2267
+ subtitle: string;
2268
+ buttonText: string;
2269
+ loadingText: string;
2270
+ showSignUpLink?: boolean | undefined;
2271
+ signUpLinkText?: string | undefined;
2272
+ showSignInLink?: boolean | undefined;
2273
+ signInLinkText?: string | undefined;
2274
+ forgotPasswordEnabled?: boolean | undefined;
2275
+ forgotPasswordText?: string | undefined;
2276
+ dividerEnabled?: boolean | undefined;
2277
+ dividerText?: string | undefined;
2278
+ fields?: {
2279
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2280
+ enabled: boolean;
2281
+ required: boolean;
2282
+ showLabel: boolean;
2283
+ label: string;
2284
+ placeholder?: string | undefined;
2285
+ showPasswordToggle?: boolean | undefined;
2286
+ }[] | undefined;
2287
+ };
2288
+ resetPassword: {
2289
+ title: string;
2290
+ subtitle: string;
2291
+ buttonText: string;
2292
+ loadingText: string;
2293
+ showSignUpLink?: boolean | undefined;
2294
+ signUpLinkText?: string | undefined;
2295
+ showSignInLink?: boolean | undefined;
2296
+ signInLinkText?: string | undefined;
2297
+ forgotPasswordEnabled?: boolean | undefined;
2298
+ forgotPasswordText?: string | undefined;
2299
+ dividerEnabled?: boolean | undefined;
2300
+ dividerText?: string | undefined;
2301
+ fields?: {
2302
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2303
+ enabled: boolean;
2304
+ required: boolean;
2305
+ showLabel: boolean;
2306
+ label: string;
2307
+ placeholder?: string | undefined;
2308
+ showPasswordToggle?: boolean | undefined;
2309
+ }[] | undefined;
2310
+ };
2311
+ magicLink: {
2312
+ title: string;
2313
+ subtitle: string;
2314
+ buttonText: string;
2315
+ loadingText: string;
2316
+ showSignUpLink?: boolean | undefined;
2317
+ signUpLinkText?: string | undefined;
2318
+ showSignInLink?: boolean | undefined;
2319
+ signInLinkText?: string | undefined;
2320
+ forgotPasswordEnabled?: boolean | undefined;
2321
+ forgotPasswordText?: string | undefined;
2322
+ dividerEnabled?: boolean | undefined;
2323
+ dividerText?: string | undefined;
2324
+ fields?: {
2325
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2326
+ enabled: boolean;
2327
+ required: boolean;
2328
+ showLabel: boolean;
2329
+ label: string;
2330
+ placeholder?: string | undefined;
2331
+ showPasswordToggle?: boolean | undefined;
2332
+ }[] | undefined;
2333
+ };
2334
+ emailVerification: {
2335
+ title: string;
2336
+ subtitle: string;
2337
+ buttonText: string;
2338
+ loadingText: string;
2339
+ showSignUpLink?: boolean | undefined;
2340
+ signUpLinkText?: string | undefined;
2341
+ showSignInLink?: boolean | undefined;
2342
+ signInLinkText?: string | undefined;
2343
+ forgotPasswordEnabled?: boolean | undefined;
2344
+ forgotPasswordText?: string | undefined;
2345
+ dividerEnabled?: boolean | undefined;
2346
+ dividerText?: string | undefined;
2347
+ fields?: {
2348
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2349
+ enabled: boolean;
2350
+ required: boolean;
2351
+ showLabel: boolean;
2352
+ label: string;
2353
+ placeholder?: string | undefined;
2354
+ showPasswordToggle?: boolean | undefined;
2355
+ }[] | undefined;
2356
+ };
2357
+ mfa: {
2358
+ title: string;
2359
+ subtitle: string;
2360
+ buttonText: string;
2361
+ loadingText: string;
2362
+ showSignUpLink?: boolean | undefined;
2363
+ signUpLinkText?: string | undefined;
2364
+ showSignInLink?: boolean | undefined;
2365
+ signInLinkText?: string | undefined;
2366
+ forgotPasswordEnabled?: boolean | undefined;
2367
+ forgotPasswordText?: string | undefined;
2368
+ dividerEnabled?: boolean | undefined;
2369
+ dividerText?: string | undefined;
2370
+ fields?: {
2371
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2372
+ enabled: boolean;
2373
+ required: boolean;
2374
+ showLabel: boolean;
2375
+ label: string;
2376
+ placeholder?: string | undefined;
2377
+ showPasswordToggle?: boolean | undefined;
2378
+ }[] | undefined;
2379
+ };
2380
+ organizationSelection: {
2381
+ title: string;
2382
+ subtitle: string;
2383
+ buttonText: string;
2384
+ loadingText: string;
2385
+ showSignUpLink?: boolean | undefined;
2386
+ signUpLinkText?: string | undefined;
2387
+ showSignInLink?: boolean | undefined;
2388
+ signInLinkText?: string | undefined;
2389
+ forgotPasswordEnabled?: boolean | undefined;
2390
+ forgotPasswordText?: string | undefined;
2391
+ dividerEnabled?: boolean | undefined;
2392
+ dividerText?: string | undefined;
2393
+ fields?: {
2394
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2395
+ enabled: boolean;
2396
+ required: boolean;
2397
+ showLabel: boolean;
2398
+ label: string;
2399
+ placeholder?: string | undefined;
2400
+ showPasswordToggle?: boolean | undefined;
2401
+ }[] | undefined;
2402
+ };
2403
+ organizationCreation: {
2404
+ title: string;
2405
+ subtitle: string;
2406
+ buttonText: string;
2407
+ loadingText: string;
2408
+ showSignUpLink?: boolean | undefined;
2409
+ signUpLinkText?: string | undefined;
2410
+ showSignInLink?: boolean | undefined;
2411
+ signInLinkText?: string | undefined;
2412
+ forgotPasswordEnabled?: boolean | undefined;
2413
+ forgotPasswordText?: string | undefined;
2414
+ dividerEnabled?: boolean | undefined;
2415
+ dividerText?: string | undefined;
2416
+ fields?: {
2417
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2418
+ enabled: boolean;
2419
+ required: boolean;
2420
+ showLabel: boolean;
2421
+ label: string;
2422
+ placeholder?: string | undefined;
2423
+ showPasswordToggle?: boolean | undefined;
2424
+ }[] | undefined;
2425
+ };
2426
+ }, {
2427
+ signIn: {
2428
+ title?: string | undefined;
2429
+ subtitle?: string | undefined;
2430
+ buttonText?: string | undefined;
2431
+ loadingText?: string | undefined;
2432
+ showSignUpLink?: boolean | undefined;
2433
+ signUpLinkText?: string | undefined;
2434
+ showSignInLink?: boolean | undefined;
2435
+ signInLinkText?: string | undefined;
2436
+ forgotPasswordEnabled?: boolean | undefined;
2437
+ forgotPasswordText?: string | undefined;
2438
+ dividerEnabled?: boolean | undefined;
2439
+ dividerText?: string | undefined;
2440
+ fields?: {
2441
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2442
+ enabled?: boolean | undefined;
2443
+ required?: boolean | undefined;
2444
+ showLabel?: boolean | undefined;
2445
+ label?: string | undefined;
2446
+ placeholder?: string | undefined;
2447
+ showPasswordToggle?: boolean | undefined;
2448
+ }[] | undefined;
2449
+ };
2450
+ signUp: {
2451
+ title?: string | undefined;
2452
+ subtitle?: string | undefined;
2453
+ buttonText?: string | undefined;
2454
+ loadingText?: string | undefined;
2455
+ showSignUpLink?: boolean | undefined;
2456
+ signUpLinkText?: string | undefined;
2457
+ showSignInLink?: boolean | undefined;
2458
+ signInLinkText?: string | undefined;
2459
+ forgotPasswordEnabled?: boolean | undefined;
2460
+ forgotPasswordText?: string | undefined;
2461
+ dividerEnabled?: boolean | undefined;
2462
+ dividerText?: string | undefined;
2463
+ fields?: {
2464
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2465
+ enabled?: boolean | undefined;
2466
+ required?: boolean | undefined;
2467
+ showLabel?: boolean | undefined;
2468
+ label?: string | undefined;
2469
+ placeholder?: string | undefined;
2470
+ showPasswordToggle?: boolean | undefined;
2471
+ }[] | undefined;
2472
+ };
2473
+ forgotPassword: {
2474
+ title?: string | undefined;
2475
+ subtitle?: string | undefined;
2476
+ buttonText?: string | undefined;
2477
+ loadingText?: string | undefined;
2478
+ showSignUpLink?: boolean | undefined;
2479
+ signUpLinkText?: string | undefined;
2480
+ showSignInLink?: boolean | undefined;
2481
+ signInLinkText?: string | undefined;
2482
+ forgotPasswordEnabled?: boolean | undefined;
2483
+ forgotPasswordText?: string | undefined;
2484
+ dividerEnabled?: boolean | undefined;
2485
+ dividerText?: string | undefined;
2486
+ fields?: {
2487
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2488
+ enabled?: boolean | undefined;
2489
+ required?: boolean | undefined;
2490
+ showLabel?: boolean | undefined;
2491
+ label?: string | undefined;
2492
+ placeholder?: string | undefined;
2493
+ showPasswordToggle?: boolean | undefined;
2494
+ }[] | undefined;
2495
+ };
2496
+ resetPassword: {
2497
+ title?: string | undefined;
2498
+ subtitle?: string | undefined;
2499
+ buttonText?: string | undefined;
2500
+ loadingText?: string | undefined;
2501
+ showSignUpLink?: boolean | undefined;
2502
+ signUpLinkText?: string | undefined;
2503
+ showSignInLink?: boolean | undefined;
2504
+ signInLinkText?: string | undefined;
2505
+ forgotPasswordEnabled?: boolean | undefined;
2506
+ forgotPasswordText?: string | undefined;
2507
+ dividerEnabled?: boolean | undefined;
2508
+ dividerText?: string | undefined;
2509
+ fields?: {
2510
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2511
+ enabled?: boolean | undefined;
2512
+ required?: boolean | undefined;
2513
+ showLabel?: boolean | undefined;
2514
+ label?: string | undefined;
2515
+ placeholder?: string | undefined;
2516
+ showPasswordToggle?: boolean | undefined;
2517
+ }[] | undefined;
2518
+ };
2519
+ magicLink: {
2520
+ title?: string | undefined;
2521
+ subtitle?: string | undefined;
2522
+ buttonText?: string | undefined;
2523
+ loadingText?: string | undefined;
2524
+ showSignUpLink?: boolean | undefined;
2525
+ signUpLinkText?: string | undefined;
2526
+ showSignInLink?: boolean | undefined;
2527
+ signInLinkText?: string | undefined;
2528
+ forgotPasswordEnabled?: boolean | undefined;
2529
+ forgotPasswordText?: string | undefined;
2530
+ dividerEnabled?: boolean | undefined;
2531
+ dividerText?: string | undefined;
2532
+ fields?: {
2533
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2534
+ enabled?: boolean | undefined;
2535
+ required?: boolean | undefined;
2536
+ showLabel?: boolean | undefined;
2537
+ label?: string | undefined;
2538
+ placeholder?: string | undefined;
2539
+ showPasswordToggle?: boolean | undefined;
2540
+ }[] | undefined;
2541
+ };
2542
+ emailVerification: {
2543
+ title?: string | undefined;
2544
+ subtitle?: string | undefined;
2545
+ buttonText?: string | undefined;
2546
+ loadingText?: string | undefined;
2547
+ showSignUpLink?: boolean | undefined;
2548
+ signUpLinkText?: string | undefined;
2549
+ showSignInLink?: boolean | undefined;
2550
+ signInLinkText?: string | undefined;
2551
+ forgotPasswordEnabled?: boolean | undefined;
2552
+ forgotPasswordText?: string | undefined;
2553
+ dividerEnabled?: boolean | undefined;
2554
+ dividerText?: string | undefined;
2555
+ fields?: {
2556
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2557
+ enabled?: boolean | undefined;
2558
+ required?: boolean | undefined;
2559
+ showLabel?: boolean | undefined;
2560
+ label?: string | undefined;
2561
+ placeholder?: string | undefined;
2562
+ showPasswordToggle?: boolean | undefined;
2563
+ }[] | undefined;
2564
+ };
2565
+ mfa: {
2566
+ title?: string | undefined;
2567
+ subtitle?: string | undefined;
2568
+ buttonText?: string | undefined;
2569
+ loadingText?: string | undefined;
2570
+ showSignUpLink?: boolean | undefined;
2571
+ signUpLinkText?: string | undefined;
2572
+ showSignInLink?: boolean | undefined;
2573
+ signInLinkText?: string | undefined;
2574
+ forgotPasswordEnabled?: boolean | undefined;
2575
+ forgotPasswordText?: string | undefined;
2576
+ dividerEnabled?: boolean | undefined;
2577
+ dividerText?: string | undefined;
2578
+ fields?: {
2579
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2580
+ enabled?: boolean | undefined;
2581
+ required?: boolean | undefined;
2582
+ showLabel?: boolean | undefined;
2583
+ label?: string | undefined;
2584
+ placeholder?: string | undefined;
2585
+ showPasswordToggle?: boolean | undefined;
2586
+ }[] | undefined;
2587
+ };
2588
+ organizationSelection: {
2589
+ title?: string | undefined;
2590
+ subtitle?: string | undefined;
2591
+ buttonText?: string | undefined;
2592
+ loadingText?: string | undefined;
2593
+ showSignUpLink?: boolean | undefined;
2594
+ signUpLinkText?: string | undefined;
2595
+ showSignInLink?: boolean | undefined;
2596
+ signInLinkText?: string | undefined;
2597
+ forgotPasswordEnabled?: boolean | undefined;
2598
+ forgotPasswordText?: string | undefined;
2599
+ dividerEnabled?: boolean | undefined;
2600
+ dividerText?: string | undefined;
2601
+ fields?: {
2602
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2603
+ enabled?: boolean | undefined;
2604
+ required?: boolean | undefined;
2605
+ showLabel?: boolean | undefined;
2606
+ label?: string | undefined;
2607
+ placeholder?: string | undefined;
2608
+ showPasswordToggle?: boolean | undefined;
2609
+ }[] | undefined;
2610
+ };
2611
+ organizationCreation: {
2612
+ title?: string | undefined;
2613
+ subtitle?: string | undefined;
2614
+ buttonText?: string | undefined;
2615
+ loadingText?: string | undefined;
2616
+ showSignUpLink?: boolean | undefined;
2617
+ signUpLinkText?: string | undefined;
2618
+ showSignInLink?: boolean | undefined;
2619
+ signInLinkText?: string | undefined;
2620
+ forgotPasswordEnabled?: boolean | undefined;
2621
+ forgotPasswordText?: string | undefined;
2622
+ dividerEnabled?: boolean | undefined;
2623
+ dividerText?: string | undefined;
2624
+ fields?: {
2625
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2626
+ enabled?: boolean | undefined;
2627
+ required?: boolean | undefined;
2628
+ showLabel?: boolean | undefined;
2629
+ label?: string | undefined;
2630
+ placeholder?: string | undefined;
2631
+ showPasswordToggle?: boolean | undefined;
2632
+ }[] | undefined;
2633
+ };
2634
+ }>;
2635
+ }, "strip", z.ZodTypeAny, {
2636
+ version: 1;
2637
+ methods: {
2638
+ magicLink: boolean;
2639
+ emailPassword: boolean;
2640
+ passkeys: boolean;
2641
+ phone: boolean;
2642
+ };
2643
+ providers: {
2644
+ id: "google" | "github" | "discord" | "apple" | "facebook" | "microsoft";
2645
+ enabled: boolean;
2646
+ position: "before" | "after";
2647
+ buttonLabel?: string | undefined;
2648
+ }[];
2649
+ appearance: {
2650
+ primaryColor: string;
2651
+ backgroundColor: string;
2652
+ foregroundColor: string;
2653
+ mutedColor: string;
2654
+ borderColor: string;
2655
+ surfaceColor: string;
2656
+ radius: "small" | "medium" | "large";
2657
+ fontFamily: string;
2658
+ headingSize: string;
2659
+ bodySize: string;
2660
+ logoUrl: string | null;
2661
+ logoSize: number;
2662
+ logoAlignment: "left" | "center" | "right";
2663
+ showAppName: boolean;
2664
+ showMeindeskBranding: boolean;
2665
+ cardStyle: "flat" | "bordered" | "elevated";
2666
+ layout: "centered" | "minimal";
2667
+ };
2668
+ experiences: {
2669
+ signIn: {
2670
+ title: string;
2671
+ subtitle: string;
2672
+ buttonText: string;
2673
+ loadingText: string;
2674
+ showSignUpLink?: boolean | undefined;
2675
+ signUpLinkText?: string | undefined;
2676
+ showSignInLink?: boolean | undefined;
2677
+ signInLinkText?: string | undefined;
2678
+ forgotPasswordEnabled?: boolean | undefined;
2679
+ forgotPasswordText?: string | undefined;
2680
+ dividerEnabled?: boolean | undefined;
2681
+ dividerText?: string | undefined;
2682
+ fields?: {
2683
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2684
+ enabled: boolean;
2685
+ required: boolean;
2686
+ showLabel: boolean;
2687
+ label: string;
2688
+ placeholder?: string | undefined;
2689
+ showPasswordToggle?: boolean | undefined;
2690
+ }[] | undefined;
2691
+ };
2692
+ signUp: {
2693
+ title: string;
2694
+ subtitle: string;
2695
+ buttonText: string;
2696
+ loadingText: string;
2697
+ showSignUpLink?: boolean | undefined;
2698
+ signUpLinkText?: string | undefined;
2699
+ showSignInLink?: boolean | undefined;
2700
+ signInLinkText?: string | undefined;
2701
+ forgotPasswordEnabled?: boolean | undefined;
2702
+ forgotPasswordText?: string | undefined;
2703
+ dividerEnabled?: boolean | undefined;
2704
+ dividerText?: string | undefined;
2705
+ fields?: {
2706
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2707
+ enabled: boolean;
2708
+ required: boolean;
2709
+ showLabel: boolean;
2710
+ label: string;
2711
+ placeholder?: string | undefined;
2712
+ showPasswordToggle?: boolean | undefined;
2713
+ }[] | undefined;
2714
+ };
2715
+ forgotPassword: {
2716
+ title: string;
2717
+ subtitle: string;
2718
+ buttonText: string;
2719
+ loadingText: string;
2720
+ showSignUpLink?: boolean | undefined;
2721
+ signUpLinkText?: string | undefined;
2722
+ showSignInLink?: boolean | undefined;
2723
+ signInLinkText?: string | undefined;
2724
+ forgotPasswordEnabled?: boolean | undefined;
2725
+ forgotPasswordText?: string | undefined;
2726
+ dividerEnabled?: boolean | undefined;
2727
+ dividerText?: string | undefined;
2728
+ fields?: {
2729
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2730
+ enabled: boolean;
2731
+ required: boolean;
2732
+ showLabel: boolean;
2733
+ label: string;
2734
+ placeholder?: string | undefined;
2735
+ showPasswordToggle?: boolean | undefined;
2736
+ }[] | undefined;
2737
+ };
2738
+ resetPassword: {
2739
+ title: string;
2740
+ subtitle: string;
2741
+ buttonText: string;
2742
+ loadingText: string;
2743
+ showSignUpLink?: boolean | undefined;
2744
+ signUpLinkText?: string | undefined;
2745
+ showSignInLink?: boolean | undefined;
2746
+ signInLinkText?: string | undefined;
2747
+ forgotPasswordEnabled?: boolean | undefined;
2748
+ forgotPasswordText?: string | undefined;
2749
+ dividerEnabled?: boolean | undefined;
2750
+ dividerText?: string | undefined;
2751
+ fields?: {
2752
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2753
+ enabled: boolean;
2754
+ required: boolean;
2755
+ showLabel: boolean;
2756
+ label: string;
2757
+ placeholder?: string | undefined;
2758
+ showPasswordToggle?: boolean | undefined;
2759
+ }[] | undefined;
2760
+ };
2761
+ magicLink: {
2762
+ title: string;
2763
+ subtitle: string;
2764
+ buttonText: string;
2765
+ loadingText: string;
2766
+ showSignUpLink?: boolean | undefined;
2767
+ signUpLinkText?: string | undefined;
2768
+ showSignInLink?: boolean | undefined;
2769
+ signInLinkText?: string | undefined;
2770
+ forgotPasswordEnabled?: boolean | undefined;
2771
+ forgotPasswordText?: string | undefined;
2772
+ dividerEnabled?: boolean | undefined;
2773
+ dividerText?: string | undefined;
2774
+ fields?: {
2775
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2776
+ enabled: boolean;
2777
+ required: boolean;
2778
+ showLabel: boolean;
2779
+ label: string;
2780
+ placeholder?: string | undefined;
2781
+ showPasswordToggle?: boolean | undefined;
2782
+ }[] | undefined;
2783
+ };
2784
+ emailVerification: {
2785
+ title: string;
2786
+ subtitle: string;
2787
+ buttonText: string;
2788
+ loadingText: string;
2789
+ showSignUpLink?: boolean | undefined;
2790
+ signUpLinkText?: string | undefined;
2791
+ showSignInLink?: boolean | undefined;
2792
+ signInLinkText?: string | undefined;
2793
+ forgotPasswordEnabled?: boolean | undefined;
2794
+ forgotPasswordText?: string | undefined;
2795
+ dividerEnabled?: boolean | undefined;
2796
+ dividerText?: string | undefined;
2797
+ fields?: {
2798
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2799
+ enabled: boolean;
2800
+ required: boolean;
2801
+ showLabel: boolean;
2802
+ label: string;
2803
+ placeholder?: string | undefined;
2804
+ showPasswordToggle?: boolean | undefined;
2805
+ }[] | undefined;
2806
+ };
2807
+ mfa: {
2808
+ title: string;
2809
+ subtitle: string;
2810
+ buttonText: string;
2811
+ loadingText: string;
2812
+ showSignUpLink?: boolean | undefined;
2813
+ signUpLinkText?: string | undefined;
2814
+ showSignInLink?: boolean | undefined;
2815
+ signInLinkText?: string | undefined;
2816
+ forgotPasswordEnabled?: boolean | undefined;
2817
+ forgotPasswordText?: string | undefined;
2818
+ dividerEnabled?: boolean | undefined;
2819
+ dividerText?: string | undefined;
2820
+ fields?: {
2821
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2822
+ enabled: boolean;
2823
+ required: boolean;
2824
+ showLabel: boolean;
2825
+ label: string;
2826
+ placeholder?: string | undefined;
2827
+ showPasswordToggle?: boolean | undefined;
2828
+ }[] | undefined;
2829
+ };
2830
+ organizationSelection: {
2831
+ title: string;
2832
+ subtitle: string;
2833
+ buttonText: string;
2834
+ loadingText: string;
2835
+ showSignUpLink?: boolean | undefined;
2836
+ signUpLinkText?: string | undefined;
2837
+ showSignInLink?: boolean | undefined;
2838
+ signInLinkText?: string | undefined;
2839
+ forgotPasswordEnabled?: boolean | undefined;
2840
+ forgotPasswordText?: string | undefined;
2841
+ dividerEnabled?: boolean | undefined;
2842
+ dividerText?: string | undefined;
2843
+ fields?: {
2844
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2845
+ enabled: boolean;
2846
+ required: boolean;
2847
+ showLabel: boolean;
2848
+ label: string;
2849
+ placeholder?: string | undefined;
2850
+ showPasswordToggle?: boolean | undefined;
2851
+ }[] | undefined;
2852
+ };
2853
+ organizationCreation: {
2854
+ title: string;
2855
+ subtitle: string;
2856
+ buttonText: string;
2857
+ loadingText: string;
2858
+ showSignUpLink?: boolean | undefined;
2859
+ signUpLinkText?: string | undefined;
2860
+ showSignInLink?: boolean | undefined;
2861
+ signInLinkText?: string | undefined;
2862
+ forgotPasswordEnabled?: boolean | undefined;
2863
+ forgotPasswordText?: string | undefined;
2864
+ dividerEnabled?: boolean | undefined;
2865
+ dividerText?: string | undefined;
2866
+ fields?: {
2867
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2868
+ enabled: boolean;
2869
+ required: boolean;
2870
+ showLabel: boolean;
2871
+ label: string;
2872
+ placeholder?: string | undefined;
2873
+ showPasswordToggle?: boolean | undefined;
2874
+ }[] | undefined;
2875
+ };
2876
+ };
2877
+ applicationName?: string | undefined;
2878
+ }, {
2879
+ methods: {
2880
+ magicLink?: boolean | undefined;
2881
+ emailPassword?: boolean | undefined;
2882
+ passkeys?: boolean | undefined;
2883
+ phone?: boolean | undefined;
2884
+ };
2885
+ providers: {
2886
+ id: "google" | "github" | "discord" | "apple" | "facebook" | "microsoft";
2887
+ enabled?: boolean | undefined;
2888
+ buttonLabel?: string | undefined;
2889
+ position?: "before" | "after" | undefined;
2890
+ }[];
2891
+ appearance: {
2892
+ primaryColor?: string | undefined;
2893
+ backgroundColor?: string | undefined;
2894
+ foregroundColor?: string | undefined;
2895
+ mutedColor?: string | undefined;
2896
+ borderColor?: string | undefined;
2897
+ surfaceColor?: string | undefined;
2898
+ radius?: "small" | "medium" | "large" | undefined;
2899
+ fontFamily?: string | undefined;
2900
+ headingSize?: string | undefined;
2901
+ bodySize?: string | undefined;
2902
+ logoUrl?: string | null | undefined;
2903
+ logoSize?: number | undefined;
2904
+ logoAlignment?: "left" | "center" | "right" | undefined;
2905
+ showAppName?: boolean | undefined;
2906
+ showMeindeskBranding?: boolean | undefined;
2907
+ cardStyle?: "flat" | "bordered" | "elevated" | undefined;
2908
+ layout?: "centered" | "minimal" | undefined;
2909
+ };
2910
+ experiences: {
2911
+ signIn: {
2912
+ title?: string | undefined;
2913
+ subtitle?: string | undefined;
2914
+ buttonText?: string | undefined;
2915
+ loadingText?: string | undefined;
2916
+ showSignUpLink?: boolean | undefined;
2917
+ signUpLinkText?: string | undefined;
2918
+ showSignInLink?: boolean | undefined;
2919
+ signInLinkText?: string | undefined;
2920
+ forgotPasswordEnabled?: boolean | undefined;
2921
+ forgotPasswordText?: string | undefined;
2922
+ dividerEnabled?: boolean | undefined;
2923
+ dividerText?: string | undefined;
2924
+ fields?: {
2925
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2926
+ enabled?: boolean | undefined;
2927
+ required?: boolean | undefined;
2928
+ showLabel?: boolean | undefined;
2929
+ label?: string | undefined;
2930
+ placeholder?: string | undefined;
2931
+ showPasswordToggle?: boolean | undefined;
2932
+ }[] | undefined;
2933
+ };
2934
+ signUp: {
2935
+ title?: string | undefined;
2936
+ subtitle?: string | undefined;
2937
+ buttonText?: string | undefined;
2938
+ loadingText?: string | undefined;
2939
+ showSignUpLink?: boolean | undefined;
2940
+ signUpLinkText?: string | undefined;
2941
+ showSignInLink?: boolean | undefined;
2942
+ signInLinkText?: string | undefined;
2943
+ forgotPasswordEnabled?: boolean | undefined;
2944
+ forgotPasswordText?: string | undefined;
2945
+ dividerEnabled?: boolean | undefined;
2946
+ dividerText?: string | undefined;
2947
+ fields?: {
2948
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2949
+ enabled?: boolean | undefined;
2950
+ required?: boolean | undefined;
2951
+ showLabel?: boolean | undefined;
2952
+ label?: string | undefined;
2953
+ placeholder?: string | undefined;
2954
+ showPasswordToggle?: boolean | undefined;
2955
+ }[] | undefined;
2956
+ };
2957
+ forgotPassword: {
2958
+ title?: string | undefined;
2959
+ subtitle?: string | undefined;
2960
+ buttonText?: string | undefined;
2961
+ loadingText?: string | undefined;
2962
+ showSignUpLink?: boolean | undefined;
2963
+ signUpLinkText?: string | undefined;
2964
+ showSignInLink?: boolean | undefined;
2965
+ signInLinkText?: string | undefined;
2966
+ forgotPasswordEnabled?: boolean | undefined;
2967
+ forgotPasswordText?: string | undefined;
2968
+ dividerEnabled?: boolean | undefined;
2969
+ dividerText?: string | undefined;
2970
+ fields?: {
2971
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2972
+ enabled?: boolean | undefined;
2973
+ required?: boolean | undefined;
2974
+ showLabel?: boolean | undefined;
2975
+ label?: string | undefined;
2976
+ placeholder?: string | undefined;
2977
+ showPasswordToggle?: boolean | undefined;
2978
+ }[] | undefined;
2979
+ };
2980
+ resetPassword: {
2981
+ title?: string | undefined;
2982
+ subtitle?: string | undefined;
2983
+ buttonText?: string | undefined;
2984
+ loadingText?: string | undefined;
2985
+ showSignUpLink?: boolean | undefined;
2986
+ signUpLinkText?: string | undefined;
2987
+ showSignInLink?: boolean | undefined;
2988
+ signInLinkText?: string | undefined;
2989
+ forgotPasswordEnabled?: boolean | undefined;
2990
+ forgotPasswordText?: string | undefined;
2991
+ dividerEnabled?: boolean | undefined;
2992
+ dividerText?: string | undefined;
2993
+ fields?: {
2994
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
2995
+ enabled?: boolean | undefined;
2996
+ required?: boolean | undefined;
2997
+ showLabel?: boolean | undefined;
2998
+ label?: string | undefined;
2999
+ placeholder?: string | undefined;
3000
+ showPasswordToggle?: boolean | undefined;
3001
+ }[] | undefined;
3002
+ };
3003
+ magicLink: {
3004
+ title?: string | undefined;
3005
+ subtitle?: string | undefined;
3006
+ buttonText?: string | undefined;
3007
+ loadingText?: string | undefined;
3008
+ showSignUpLink?: boolean | undefined;
3009
+ signUpLinkText?: string | undefined;
3010
+ showSignInLink?: boolean | undefined;
3011
+ signInLinkText?: string | undefined;
3012
+ forgotPasswordEnabled?: boolean | undefined;
3013
+ forgotPasswordText?: string | undefined;
3014
+ dividerEnabled?: boolean | undefined;
3015
+ dividerText?: string | undefined;
3016
+ fields?: {
3017
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
3018
+ enabled?: boolean | undefined;
3019
+ required?: boolean | undefined;
3020
+ showLabel?: boolean | undefined;
3021
+ label?: string | undefined;
3022
+ placeholder?: string | undefined;
3023
+ showPasswordToggle?: boolean | undefined;
3024
+ }[] | undefined;
3025
+ };
3026
+ emailVerification: {
3027
+ title?: string | undefined;
3028
+ subtitle?: string | undefined;
3029
+ buttonText?: string | undefined;
3030
+ loadingText?: string | undefined;
3031
+ showSignUpLink?: boolean | undefined;
3032
+ signUpLinkText?: string | undefined;
3033
+ showSignInLink?: boolean | undefined;
3034
+ signInLinkText?: string | undefined;
3035
+ forgotPasswordEnabled?: boolean | undefined;
3036
+ forgotPasswordText?: string | undefined;
3037
+ dividerEnabled?: boolean | undefined;
3038
+ dividerText?: string | undefined;
3039
+ fields?: {
3040
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
3041
+ enabled?: boolean | undefined;
3042
+ required?: boolean | undefined;
3043
+ showLabel?: boolean | undefined;
3044
+ label?: string | undefined;
3045
+ placeholder?: string | undefined;
3046
+ showPasswordToggle?: boolean | undefined;
3047
+ }[] | undefined;
3048
+ };
3049
+ mfa: {
3050
+ title?: string | undefined;
3051
+ subtitle?: string | undefined;
3052
+ buttonText?: string | undefined;
3053
+ loadingText?: string | undefined;
3054
+ showSignUpLink?: boolean | undefined;
3055
+ signUpLinkText?: string | undefined;
3056
+ showSignInLink?: boolean | undefined;
3057
+ signInLinkText?: string | undefined;
3058
+ forgotPasswordEnabled?: boolean | undefined;
3059
+ forgotPasswordText?: string | undefined;
3060
+ dividerEnabled?: boolean | undefined;
3061
+ dividerText?: string | undefined;
3062
+ fields?: {
3063
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
3064
+ enabled?: boolean | undefined;
3065
+ required?: boolean | undefined;
3066
+ showLabel?: boolean | undefined;
3067
+ label?: string | undefined;
3068
+ placeholder?: string | undefined;
3069
+ showPasswordToggle?: boolean | undefined;
3070
+ }[] | undefined;
3071
+ };
3072
+ organizationSelection: {
3073
+ title?: string | undefined;
3074
+ subtitle?: string | undefined;
3075
+ buttonText?: string | undefined;
3076
+ loadingText?: string | undefined;
3077
+ showSignUpLink?: boolean | undefined;
3078
+ signUpLinkText?: string | undefined;
3079
+ showSignInLink?: boolean | undefined;
3080
+ signInLinkText?: string | undefined;
3081
+ forgotPasswordEnabled?: boolean | undefined;
3082
+ forgotPasswordText?: string | undefined;
3083
+ dividerEnabled?: boolean | undefined;
3084
+ dividerText?: string | undefined;
3085
+ fields?: {
3086
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
3087
+ enabled?: boolean | undefined;
3088
+ required?: boolean | undefined;
3089
+ showLabel?: boolean | undefined;
3090
+ label?: string | undefined;
3091
+ placeholder?: string | undefined;
3092
+ showPasswordToggle?: boolean | undefined;
3093
+ }[] | undefined;
3094
+ };
3095
+ organizationCreation: {
3096
+ title?: string | undefined;
3097
+ subtitle?: string | undefined;
3098
+ buttonText?: string | undefined;
3099
+ loadingText?: string | undefined;
3100
+ showSignUpLink?: boolean | undefined;
3101
+ signUpLinkText?: string | undefined;
3102
+ showSignInLink?: boolean | undefined;
3103
+ signInLinkText?: string | undefined;
3104
+ forgotPasswordEnabled?: boolean | undefined;
3105
+ forgotPasswordText?: string | undefined;
3106
+ dividerEnabled?: boolean | undefined;
3107
+ dividerText?: string | undefined;
3108
+ fields?: {
3109
+ id: "email" | "password" | "firstName" | "lastName" | "username" | "phoneNumber";
3110
+ enabled?: boolean | undefined;
3111
+ required?: boolean | undefined;
3112
+ showLabel?: boolean | undefined;
3113
+ label?: string | undefined;
3114
+ placeholder?: string | undefined;
3115
+ showPasswordToggle?: boolean | undefined;
3116
+ }[] | undefined;
3117
+ };
3118
+ };
3119
+ version?: 1 | undefined;
3120
+ applicationName?: string | undefined;
3121
+ }>;
3122
+ type AuthExperienceConfig = z.infer<typeof authExperienceConfigSchema>;
3123
+ /** Form type keys used in AuthenticationForm.type */
3124
+ declare const FORM_TYPE_TO_EXPERIENCE: {
3125
+ readonly sign_in: "signIn";
3126
+ readonly sign_up: "signUp";
3127
+ readonly forgot_password: "forgotPassword";
3128
+ readonly reset_password: "resetPassword";
3129
+ readonly magic_link: "magicLink";
3130
+ readonly email_verification: "emailVerification";
3131
+ readonly mfa: "mfa";
3132
+ readonly organization_selection: "organizationSelection";
3133
+ readonly organization_creation: "organizationCreation";
3134
+ };
3135
+ declare const EXPERIENCE_TO_FORM_TYPE: {
3136
+ readonly signIn: "sign_in";
3137
+ readonly signUp: "sign_up";
3138
+ readonly forgotPassword: "forgot_password";
3139
+ readonly resetPassword: "reset_password";
3140
+ readonly magicLink: "magic_link";
3141
+ readonly emailVerification: "email_verification";
3142
+ readonly mfa: "mfa";
3143
+ readonly organizationSelection: "organization_selection";
3144
+ readonly organizationCreation: "organization_creation";
3145
+ };
3146
+ type FormTypeKey = keyof typeof FORM_TYPE_TO_EXPERIENCE;
3147
+
3148
+ declare const DEFAULT_EXPERIENCES: ExperiencesConfig;
3149
+ declare const DEFAULT_APPEARANCE: AppearanceConfig;
3150
+ declare function defaultProviders(enabled?: Partial<Record<(typeof PROVIDER_IDS)[number], boolean>>): ProviderConfig[];
3151
+ declare function createDefaultAuthExperienceConfig(overrides?: Partial<AuthExperienceConfig>): AuthExperienceConfig;
3152
+
3153
+ declare function parseAuthExperienceConfig(input: unknown): AuthExperienceConfig;
3154
+ declare function safeParseAuthExperienceConfig(input: unknown): {
3155
+ success: boolean;
3156
+ data?: AuthExperienceConfig;
3157
+ error?: string;
3158
+ };
3159
+ /** Deep-merge partial updates onto defaults, then validate. */
3160
+ declare function mergeAuthExperienceConfig(partial: unknown): AuthExperienceConfig;
3161
+
3162
+ type AssembleAuthExperienceInput = {
3163
+ applicationName?: string;
3164
+ settings?: {
3165
+ passwordEnabled?: boolean;
3166
+ magicLinkEnabled?: boolean;
3167
+ passkeysEnabled?: boolean;
3168
+ phoneEnabled?: boolean;
3169
+ } | null;
3170
+ providers?: Array<{
3171
+ provider: string;
3172
+ enabled: boolean;
3173
+ buttonLabel?: string | null;
3174
+ position?: string | null;
3175
+ sortOrder?: number | null;
3176
+ }>;
3177
+ forms?: Array<{
3178
+ type: string;
3179
+ schema: unknown;
3180
+ }>;
3181
+ appearance?: Partial<AuthExperienceConfig["appearance"]> | null;
3182
+ };
3183
+ declare function assembleAuthExperienceConfig(input: AssembleAuthExperienceInput): AuthExperienceConfig;
3184
+ /** Serialize an experience into AuthenticationForm.schema JSON. */
3185
+ declare function experienceToFormSchema(experienceId: ExperienceId, copy: ExperienceCopy): Record<string, unknown>;
3186
+ declare function radiusToPx(radius: AuthExperienceConfig["appearance"]["radius"]): string;
3187
+
3188
+ export { type AppearanceConfig, type AssembleAuthExperienceInput, type AuthExperienceConfig, type AuthMethods, CARD_STYLES, DEFAULT_APPEARANCE, DEFAULT_EXPERIENCES, EXPERIENCE_IDS, EXPERIENCE_TO_FORM_TYPE, type ExperienceCopy, type ExperienceId, type ExperiencesConfig, FORM_TYPE_TO_EXPERIENCE, type FormTypeKey, LAYOUT_OPTIONS, LOGO_ALIGNMENTS, PROFILE_FIELD_IDS, PROVIDER_IDS, PROVIDER_POSITIONS, type ProfileFieldConfig, type ProfileFieldId, type ProviderConfig, type ProviderId, RADIUS_OPTIONS, appearanceSchema, assembleAuthExperienceConfig, authExperienceConfigSchema, createDefaultAuthExperienceConfig, defaultProviders, experienceCopySchema, experienceToFormSchema, experiencesSchema, mergeAuthExperienceConfig, methodsSchema, parseAuthExperienceConfig, profileFieldSchema, providerConfigSchema, radiusToPx, safeParseAuthExperienceConfig };