authhero 8.6.0 → 8.7.1

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.
Files changed (43) hide show
  1. package/dist/assets/u/js/client.js +5 -5
  2. package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
  3. package/dist/assets/u/widget/index.esm.js +1 -1
  4. package/dist/assets/u/widget/{p-5f7b7943.entry.js → p-5a319adc.entry.js} +1 -1
  5. package/dist/assets/u/widget/p-f6babd26.entry.js +1 -0
  6. package/dist/authhero.cjs +272 -152
  7. package/dist/authhero.d.ts +494 -212
  8. package/dist/authhero.mjs +45259 -44754
  9. package/dist/client.js +5 -5
  10. package/dist/stats.html +1 -1
  11. package/dist/tsconfig.types.tsbuildinfo +1 -1
  12. package/dist/types/authentication-flows/passwordless.d.ts +3 -3
  13. package/dist/types/client/client-bundle.d.ts +1 -1
  14. package/dist/types/index.d.ts +494 -212
  15. package/dist/types/routes/auth-api/index.d.ts +32 -32
  16. package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
  17. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  18. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  19. package/dist/types/routes/auth-api/token.d.ts +10 -10
  20. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  21. package/dist/types/routes/management-api/branding-preview.d.ts +41 -0
  22. package/dist/types/routes/management-api/branding.d.ts +114 -0
  23. package/dist/types/routes/management-api/clients.d.ts +7 -7
  24. package/dist/types/routes/management-api/connections.d.ts +1 -1
  25. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  26. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  27. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  28. package/dist/types/routes/management-api/forms.d.ts +287 -119
  29. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  30. package/dist/types/routes/management-api/index.d.ts +456 -174
  31. package/dist/types/routes/management-api/logs.d.ts +3 -3
  32. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  33. package/dist/types/routes/management-api/organizations.d.ts +1 -1
  34. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  35. package/dist/types/routes/management-api/users.d.ts +2 -2
  36. package/dist/types/routes/universal-login/common.d.ts +2 -2
  37. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  38. package/dist/types/routes/universal-login/u2-index.d.ts +6 -6
  39. package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
  40. package/dist/types/routes/universal-login/u2-widget-page.d.ts +33 -4
  41. package/dist/types/routes/universal-login/universal-login-template.d.ts +65 -13
  42. package/package.json +6 -6
  43. package/dist/assets/u/widget/p-1fc7fcdb.entry.js +0 -1
@@ -37,7 +37,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
37
37
  };
38
38
  } & {
39
39
  json: {
40
- type: "email" | "passkey" | "push" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
40
+ type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
41
41
  phone_number?: string | undefined;
42
42
  totp_secret?: string | undefined;
43
43
  credential_id?: string | undefined;
@@ -177,7 +177,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
177
177
  };
178
178
  };
179
179
  output: {
180
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
180
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
181
181
  enabled: boolean;
182
182
  trial_expired?: boolean | undefined;
183
183
  }[];
@@ -332,7 +332,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
332
332
  $get: {
333
333
  input: {
334
334
  param: {
335
- factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
335
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
336
336
  };
337
337
  } & {
338
338
  header: {
@@ -340,7 +340,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
340
340
  };
341
341
  };
342
342
  output: {
343
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
343
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
344
344
  enabled: boolean;
345
345
  trial_expired?: boolean | undefined;
346
346
  };
@@ -353,7 +353,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
353
353
  $put: {
354
354
  input: {
355
355
  param: {
356
- factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
356
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
357
357
  };
358
358
  } & {
359
359
  header: {
@@ -365,7 +365,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
365
365
  };
366
366
  };
367
367
  output: {
368
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
368
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
369
369
  enabled: boolean;
370
370
  trial_expired?: boolean | undefined;
371
371
  };
@@ -1111,9 +1111,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1111
1111
  email?: string | undefined;
1112
1112
  };
1113
1113
  id?: string | undefined;
1114
- connection_id?: string | undefined;
1115
1114
  app_metadata?: Record<string, any> | undefined;
1116
1115
  user_metadata?: Record<string, any> | undefined;
1116
+ connection_id?: string | undefined;
1117
1117
  roles?: string[] | undefined;
1118
1118
  ttl_sec?: number | undefined;
1119
1119
  send_invitation_email?: boolean | undefined;
@@ -2541,7 +2541,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2541
2541
  hint?: string | undefined;
2542
2542
  messages?: {
2543
2543
  text: string;
2544
- type: "success" | "error" | "info" | "warning";
2544
+ type: "error" | "success" | "info" | "warning";
2545
2545
  id?: number | undefined;
2546
2546
  }[] | undefined;
2547
2547
  required?: boolean | undefined;
@@ -2559,7 +2559,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2559
2559
  hint?: string | undefined;
2560
2560
  messages?: {
2561
2561
  text: string;
2562
- type: "success" | "error" | "info" | "warning";
2562
+ type: "error" | "success" | "info" | "warning";
2563
2563
  id?: number | undefined;
2564
2564
  }[] | undefined;
2565
2565
  required?: boolean | undefined;
@@ -2583,7 +2583,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2583
2583
  hint?: string | undefined;
2584
2584
  messages?: {
2585
2585
  text: string;
2586
- type: "success" | "error" | "info" | "warning";
2586
+ type: "error" | "success" | "info" | "warning";
2587
2587
  id?: number | undefined;
2588
2588
  }[] | undefined;
2589
2589
  required?: boolean | undefined;
@@ -2597,6 +2597,30 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2597
2597
  multiple?: boolean | undefined;
2598
2598
  default_value?: string | string[] | undefined;
2599
2599
  } | undefined;
2600
+ } | {
2601
+ id: string;
2602
+ visible: boolean;
2603
+ type: "CODE";
2604
+ order?: number | undefined;
2605
+ category?: "FIELD" | undefined;
2606
+ label?: string | undefined;
2607
+ hint?: string | undefined;
2608
+ messages?: {
2609
+ text: string;
2610
+ type: "error" | "success" | "info" | "warning";
2611
+ id?: number | undefined;
2612
+ }[] | undefined;
2613
+ required?: boolean | undefined;
2614
+ sensitive?: boolean | undefined;
2615
+ config?: {
2616
+ length?: number | undefined;
2617
+ mode?: "numeric" | "alphanumeric" | undefined;
2618
+ auto_submit?: boolean | undefined;
2619
+ group_size?: number | undefined;
2620
+ separator?: string | undefined;
2621
+ placeholder?: string | undefined;
2622
+ default_value?: string | undefined;
2623
+ } | undefined;
2600
2624
  } | {
2601
2625
  id: string;
2602
2626
  visible: boolean;
@@ -2607,7 +2631,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2607
2631
  hint?: string | undefined;
2608
2632
  messages?: {
2609
2633
  text: string;
2610
- type: "success" | "error" | "info" | "warning";
2634
+ type: "error" | "success" | "info" | "warning";
2611
2635
  id?: number | undefined;
2612
2636
  }[] | undefined;
2613
2637
  required?: boolean | undefined;
@@ -2636,7 +2660,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2636
2660
  hint?: string | undefined;
2637
2661
  messages?: {
2638
2662
  text: string;
2639
- type: "success" | "error" | "info" | "warning";
2663
+ type: "error" | "success" | "info" | "warning";
2640
2664
  id?: number | undefined;
2641
2665
  }[] | undefined;
2642
2666
  required?: boolean | undefined;
@@ -2651,7 +2675,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2651
2675
  hint?: string | undefined;
2652
2676
  messages?: {
2653
2677
  text: string;
2654
- type: "success" | "error" | "info" | "warning";
2678
+ type: "error" | "success" | "info" | "warning";
2655
2679
  id?: number | undefined;
2656
2680
  }[] | undefined;
2657
2681
  required?: boolean | undefined;
@@ -2672,7 +2696,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2672
2696
  hint?: string | undefined;
2673
2697
  messages?: {
2674
2698
  text: string;
2675
- type: "success" | "error" | "info" | "warning";
2699
+ type: "error" | "success" | "info" | "warning";
2676
2700
  id?: number | undefined;
2677
2701
  }[] | undefined;
2678
2702
  required?: boolean | undefined;
@@ -2697,7 +2721,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2697
2721
  hint?: string | undefined;
2698
2722
  messages?: {
2699
2723
  text: string;
2700
- type: "success" | "error" | "info" | "warning";
2724
+ type: "error" | "success" | "info" | "warning";
2701
2725
  id?: number | undefined;
2702
2726
  }[] | undefined;
2703
2727
  required?: boolean | undefined;
@@ -2716,7 +2740,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2716
2740
  hint?: string | undefined;
2717
2741
  messages?: {
2718
2742
  text: string;
2719
- type: "success" | "error" | "info" | "warning";
2743
+ type: "error" | "success" | "info" | "warning";
2720
2744
  id?: number | undefined;
2721
2745
  }[] | undefined;
2722
2746
  required?: boolean | undefined;
@@ -2736,7 +2760,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2736
2760
  hint?: string | undefined;
2737
2761
  messages?: {
2738
2762
  text: string;
2739
- type: "success" | "error" | "info" | "warning";
2763
+ type: "error" | "success" | "info" | "warning";
2740
2764
  id?: number | undefined;
2741
2765
  }[] | undefined;
2742
2766
  required?: boolean | undefined;
@@ -2755,7 +2779,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2755
2779
  hint?: string | undefined;
2756
2780
  messages?: {
2757
2781
  text: string;
2758
- type: "success" | "error" | "info" | "warning";
2782
+ type: "error" | "success" | "info" | "warning";
2759
2783
  id?: number | undefined;
2760
2784
  }[] | undefined;
2761
2785
  required?: boolean | undefined;
@@ -2777,7 +2801,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2777
2801
  hint?: string | undefined;
2778
2802
  messages?: {
2779
2803
  text: string;
2780
- type: "success" | "error" | "info" | "warning";
2804
+ type: "error" | "success" | "info" | "warning";
2781
2805
  id?: number | undefined;
2782
2806
  }[] | undefined;
2783
2807
  required?: boolean | undefined;
@@ -2799,7 +2823,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2799
2823
  hint?: string | undefined;
2800
2824
  messages?: {
2801
2825
  text: string;
2802
- type: "success" | "error" | "info" | "warning";
2826
+ type: "error" | "success" | "info" | "warning";
2803
2827
  id?: number | undefined;
2804
2828
  }[] | undefined;
2805
2829
  required?: boolean | undefined;
@@ -2818,7 +2842,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2818
2842
  hint?: string | undefined;
2819
2843
  messages?: {
2820
2844
  text: string;
2821
- type: "success" | "error" | "info" | "warning";
2845
+ type: "error" | "success" | "info" | "warning";
2822
2846
  id?: number | undefined;
2823
2847
  }[] | undefined;
2824
2848
  required?: boolean | undefined;
@@ -2843,7 +2867,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2843
2867
  hint?: string | undefined;
2844
2868
  messages?: {
2845
2869
  text: string;
2846
- type: "success" | "error" | "info" | "warning";
2870
+ type: "error" | "success" | "info" | "warning";
2847
2871
  id?: number | undefined;
2848
2872
  }[] | undefined;
2849
2873
  required?: boolean | undefined;
@@ -2864,7 +2888,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2864
2888
  hint?: string | undefined;
2865
2889
  messages?: {
2866
2890
  text: string;
2867
- type: "success" | "error" | "info" | "warning";
2891
+ type: "error" | "success" | "info" | "warning";
2868
2892
  id?: number | undefined;
2869
2893
  }[] | undefined;
2870
2894
  required?: boolean | undefined;
@@ -2885,7 +2909,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2885
2909
  hint?: string | undefined;
2886
2910
  messages?: {
2887
2911
  text: string;
2888
- type: "success" | "error" | "info" | "warning";
2912
+ type: "error" | "success" | "info" | "warning";
2889
2913
  id?: number | undefined;
2890
2914
  }[] | undefined;
2891
2915
  required?: boolean | undefined;
@@ -3118,7 +3142,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3118
3142
  hint?: string | undefined;
3119
3143
  messages?: {
3120
3144
  text: string;
3121
- type: "success" | "error" | "info" | "warning";
3145
+ type: "error" | "success" | "info" | "warning";
3122
3146
  id?: number | undefined;
3123
3147
  }[] | undefined;
3124
3148
  required?: boolean | undefined;
@@ -3136,7 +3160,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3136
3160
  hint?: string | undefined;
3137
3161
  messages?: {
3138
3162
  text: string;
3139
- type: "success" | "error" | "info" | "warning";
3163
+ type: "error" | "success" | "info" | "warning";
3140
3164
  id?: number | undefined;
3141
3165
  }[] | undefined;
3142
3166
  required?: boolean | undefined;
@@ -3160,7 +3184,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3160
3184
  hint?: string | undefined;
3161
3185
  messages?: {
3162
3186
  text: string;
3163
- type: "success" | "error" | "info" | "warning";
3187
+ type: "error" | "success" | "info" | "warning";
3164
3188
  id?: number | undefined;
3165
3189
  }[] | undefined;
3166
3190
  required?: boolean | undefined;
@@ -3174,6 +3198,30 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3174
3198
  multiple?: boolean | undefined;
3175
3199
  default_value?: string | string[] | undefined;
3176
3200
  } | undefined;
3201
+ } | {
3202
+ id: string;
3203
+ visible: boolean;
3204
+ type: "CODE";
3205
+ order?: number | undefined;
3206
+ category?: "FIELD" | undefined;
3207
+ label?: string | undefined;
3208
+ hint?: string | undefined;
3209
+ messages?: {
3210
+ text: string;
3211
+ type: "error" | "success" | "info" | "warning";
3212
+ id?: number | undefined;
3213
+ }[] | undefined;
3214
+ required?: boolean | undefined;
3215
+ sensitive?: boolean | undefined;
3216
+ config?: {
3217
+ length?: number | undefined;
3218
+ mode?: "numeric" | "alphanumeric" | undefined;
3219
+ auto_submit?: boolean | undefined;
3220
+ group_size?: number | undefined;
3221
+ separator?: string | undefined;
3222
+ placeholder?: string | undefined;
3223
+ default_value?: string | undefined;
3224
+ } | undefined;
3177
3225
  } | {
3178
3226
  id: string;
3179
3227
  visible: boolean;
@@ -3184,7 +3232,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3184
3232
  hint?: string | undefined;
3185
3233
  messages?: {
3186
3234
  text: string;
3187
- type: "success" | "error" | "info" | "warning";
3235
+ type: "error" | "success" | "info" | "warning";
3188
3236
  id?: number | undefined;
3189
3237
  }[] | undefined;
3190
3238
  required?: boolean | undefined;
@@ -3213,7 +3261,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3213
3261
  hint?: string | undefined;
3214
3262
  messages?: {
3215
3263
  text: string;
3216
- type: "success" | "error" | "info" | "warning";
3264
+ type: "error" | "success" | "info" | "warning";
3217
3265
  id?: number | undefined;
3218
3266
  }[] | undefined;
3219
3267
  required?: boolean | undefined;
@@ -3228,7 +3276,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3228
3276
  hint?: string | undefined;
3229
3277
  messages?: {
3230
3278
  text: string;
3231
- type: "success" | "error" | "info" | "warning";
3279
+ type: "error" | "success" | "info" | "warning";
3232
3280
  id?: number | undefined;
3233
3281
  }[] | undefined;
3234
3282
  required?: boolean | undefined;
@@ -3249,7 +3297,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3249
3297
  hint?: string | undefined;
3250
3298
  messages?: {
3251
3299
  text: string;
3252
- type: "success" | "error" | "info" | "warning";
3300
+ type: "error" | "success" | "info" | "warning";
3253
3301
  id?: number | undefined;
3254
3302
  }[] | undefined;
3255
3303
  required?: boolean | undefined;
@@ -3274,7 +3322,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3274
3322
  hint?: string | undefined;
3275
3323
  messages?: {
3276
3324
  text: string;
3277
- type: "success" | "error" | "info" | "warning";
3325
+ type: "error" | "success" | "info" | "warning";
3278
3326
  id?: number | undefined;
3279
3327
  }[] | undefined;
3280
3328
  required?: boolean | undefined;
@@ -3293,7 +3341,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3293
3341
  hint?: string | undefined;
3294
3342
  messages?: {
3295
3343
  text: string;
3296
- type: "success" | "error" | "info" | "warning";
3344
+ type: "error" | "success" | "info" | "warning";
3297
3345
  id?: number | undefined;
3298
3346
  }[] | undefined;
3299
3347
  required?: boolean | undefined;
@@ -3313,7 +3361,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3313
3361
  hint?: string | undefined;
3314
3362
  messages?: {
3315
3363
  text: string;
3316
- type: "success" | "error" | "info" | "warning";
3364
+ type: "error" | "success" | "info" | "warning";
3317
3365
  id?: number | undefined;
3318
3366
  }[] | undefined;
3319
3367
  required?: boolean | undefined;
@@ -3332,7 +3380,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3332
3380
  hint?: string | undefined;
3333
3381
  messages?: {
3334
3382
  text: string;
3335
- type: "success" | "error" | "info" | "warning";
3383
+ type: "error" | "success" | "info" | "warning";
3336
3384
  id?: number | undefined;
3337
3385
  }[] | undefined;
3338
3386
  required?: boolean | undefined;
@@ -3354,7 +3402,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3354
3402
  hint?: string | undefined;
3355
3403
  messages?: {
3356
3404
  text: string;
3357
- type: "success" | "error" | "info" | "warning";
3405
+ type: "error" | "success" | "info" | "warning";
3358
3406
  id?: number | undefined;
3359
3407
  }[] | undefined;
3360
3408
  required?: boolean | undefined;
@@ -3376,7 +3424,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3376
3424
  hint?: string | undefined;
3377
3425
  messages?: {
3378
3426
  text: string;
3379
- type: "success" | "error" | "info" | "warning";
3427
+ type: "error" | "success" | "info" | "warning";
3380
3428
  id?: number | undefined;
3381
3429
  }[] | undefined;
3382
3430
  required?: boolean | undefined;
@@ -3395,7 +3443,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3395
3443
  hint?: string | undefined;
3396
3444
  messages?: {
3397
3445
  text: string;
3398
- type: "success" | "error" | "info" | "warning";
3446
+ type: "error" | "success" | "info" | "warning";
3399
3447
  id?: number | undefined;
3400
3448
  }[] | undefined;
3401
3449
  required?: boolean | undefined;
@@ -3420,7 +3468,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3420
3468
  hint?: string | undefined;
3421
3469
  messages?: {
3422
3470
  text: string;
3423
- type: "success" | "error" | "info" | "warning";
3471
+ type: "error" | "success" | "info" | "warning";
3424
3472
  id?: number | undefined;
3425
3473
  }[] | undefined;
3426
3474
  required?: boolean | undefined;
@@ -3441,7 +3489,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3441
3489
  hint?: string | undefined;
3442
3490
  messages?: {
3443
3491
  text: string;
3444
- type: "success" | "error" | "info" | "warning";
3492
+ type: "error" | "success" | "info" | "warning";
3445
3493
  id?: number | undefined;
3446
3494
  }[] | undefined;
3447
3495
  required?: boolean | undefined;
@@ -3462,7 +3510,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3462
3510
  hint?: string | undefined;
3463
3511
  messages?: {
3464
3512
  text: string;
3465
- type: "success" | "error" | "info" | "warning";
3513
+ type: "error" | "success" | "info" | "warning";
3466
3514
  id?: number | undefined;
3467
3515
  }[] | undefined;
3468
3516
  required?: boolean | undefined;
@@ -3710,7 +3758,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3710
3758
  hint?: string | undefined;
3711
3759
  messages?: {
3712
3760
  text: string;
3713
- type: "success" | "error" | "info" | "warning";
3761
+ type: "error" | "success" | "info" | "warning";
3714
3762
  id?: number | undefined;
3715
3763
  }[] | undefined;
3716
3764
  required?: boolean | undefined;
@@ -3728,7 +3776,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3728
3776
  hint?: string | undefined;
3729
3777
  messages?: {
3730
3778
  text: string;
3731
- type: "success" | "error" | "info" | "warning";
3779
+ type: "error" | "success" | "info" | "warning";
3732
3780
  id?: number | undefined;
3733
3781
  }[] | undefined;
3734
3782
  required?: boolean | undefined;
@@ -3752,7 +3800,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3752
3800
  hint?: string | undefined;
3753
3801
  messages?: {
3754
3802
  text: string;
3755
- type: "success" | "error" | "info" | "warning";
3803
+ type: "error" | "success" | "info" | "warning";
3756
3804
  id?: number | undefined;
3757
3805
  }[] | undefined;
3758
3806
  required?: boolean | undefined;
@@ -3766,6 +3814,30 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3766
3814
  multiple?: boolean | undefined;
3767
3815
  default_value?: string | string[] | undefined;
3768
3816
  } | undefined;
3817
+ } | {
3818
+ id: string;
3819
+ visible: boolean;
3820
+ type: "CODE";
3821
+ order?: number | undefined;
3822
+ category?: "FIELD" | undefined;
3823
+ label?: string | undefined;
3824
+ hint?: string | undefined;
3825
+ messages?: {
3826
+ text: string;
3827
+ type: "error" | "success" | "info" | "warning";
3828
+ id?: number | undefined;
3829
+ }[] | undefined;
3830
+ required?: boolean | undefined;
3831
+ sensitive?: boolean | undefined;
3832
+ config?: {
3833
+ length?: number | undefined;
3834
+ mode?: "numeric" | "alphanumeric" | undefined;
3835
+ auto_submit?: boolean | undefined;
3836
+ group_size?: number | undefined;
3837
+ separator?: string | undefined;
3838
+ placeholder?: string | undefined;
3839
+ default_value?: string | undefined;
3840
+ } | undefined;
3769
3841
  } | {
3770
3842
  id: string;
3771
3843
  visible: boolean;
@@ -3776,7 +3848,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3776
3848
  hint?: string | undefined;
3777
3849
  messages?: {
3778
3850
  text: string;
3779
- type: "success" | "error" | "info" | "warning";
3851
+ type: "error" | "success" | "info" | "warning";
3780
3852
  id?: number | undefined;
3781
3853
  }[] | undefined;
3782
3854
  required?: boolean | undefined;
@@ -3805,7 +3877,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3805
3877
  hint?: string | undefined;
3806
3878
  messages?: {
3807
3879
  text: string;
3808
- type: "success" | "error" | "info" | "warning";
3880
+ type: "error" | "success" | "info" | "warning";
3809
3881
  id?: number | undefined;
3810
3882
  }[] | undefined;
3811
3883
  required?: boolean | undefined;
@@ -3820,7 +3892,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3820
3892
  hint?: string | undefined;
3821
3893
  messages?: {
3822
3894
  text: string;
3823
- type: "success" | "error" | "info" | "warning";
3895
+ type: "error" | "success" | "info" | "warning";
3824
3896
  id?: number | undefined;
3825
3897
  }[] | undefined;
3826
3898
  required?: boolean | undefined;
@@ -3841,7 +3913,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3841
3913
  hint?: string | undefined;
3842
3914
  messages?: {
3843
3915
  text: string;
3844
- type: "success" | "error" | "info" | "warning";
3916
+ type: "error" | "success" | "info" | "warning";
3845
3917
  id?: number | undefined;
3846
3918
  }[] | undefined;
3847
3919
  required?: boolean | undefined;
@@ -3866,7 +3938,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3866
3938
  hint?: string | undefined;
3867
3939
  messages?: {
3868
3940
  text: string;
3869
- type: "success" | "error" | "info" | "warning";
3941
+ type: "error" | "success" | "info" | "warning";
3870
3942
  id?: number | undefined;
3871
3943
  }[] | undefined;
3872
3944
  required?: boolean | undefined;
@@ -3885,7 +3957,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3885
3957
  hint?: string | undefined;
3886
3958
  messages?: {
3887
3959
  text: string;
3888
- type: "success" | "error" | "info" | "warning";
3960
+ type: "error" | "success" | "info" | "warning";
3889
3961
  id?: number | undefined;
3890
3962
  }[] | undefined;
3891
3963
  required?: boolean | undefined;
@@ -3905,7 +3977,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3905
3977
  hint?: string | undefined;
3906
3978
  messages?: {
3907
3979
  text: string;
3908
- type: "success" | "error" | "info" | "warning";
3980
+ type: "error" | "success" | "info" | "warning";
3909
3981
  id?: number | undefined;
3910
3982
  }[] | undefined;
3911
3983
  required?: boolean | undefined;
@@ -3924,7 +3996,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3924
3996
  hint?: string | undefined;
3925
3997
  messages?: {
3926
3998
  text: string;
3927
- type: "success" | "error" | "info" | "warning";
3999
+ type: "error" | "success" | "info" | "warning";
3928
4000
  id?: number | undefined;
3929
4001
  }[] | undefined;
3930
4002
  required?: boolean | undefined;
@@ -3946,7 +4018,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3946
4018
  hint?: string | undefined;
3947
4019
  messages?: {
3948
4020
  text: string;
3949
- type: "success" | "error" | "info" | "warning";
4021
+ type: "error" | "success" | "info" | "warning";
3950
4022
  id?: number | undefined;
3951
4023
  }[] | undefined;
3952
4024
  required?: boolean | undefined;
@@ -3968,7 +4040,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3968
4040
  hint?: string | undefined;
3969
4041
  messages?: {
3970
4042
  text: string;
3971
- type: "success" | "error" | "info" | "warning";
4043
+ type: "error" | "success" | "info" | "warning";
3972
4044
  id?: number | undefined;
3973
4045
  }[] | undefined;
3974
4046
  required?: boolean | undefined;
@@ -3987,7 +4059,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3987
4059
  hint?: string | undefined;
3988
4060
  messages?: {
3989
4061
  text: string;
3990
- type: "success" | "error" | "info" | "warning";
4062
+ type: "error" | "success" | "info" | "warning";
3991
4063
  id?: number | undefined;
3992
4064
  }[] | undefined;
3993
4065
  required?: boolean | undefined;
@@ -4012,7 +4084,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4012
4084
  hint?: string | undefined;
4013
4085
  messages?: {
4014
4086
  text: string;
4015
- type: "success" | "error" | "info" | "warning";
4087
+ type: "error" | "success" | "info" | "warning";
4016
4088
  id?: number | undefined;
4017
4089
  }[] | undefined;
4018
4090
  required?: boolean | undefined;
@@ -4033,7 +4105,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4033
4105
  hint?: string | undefined;
4034
4106
  messages?: {
4035
4107
  text: string;
4036
- type: "success" | "error" | "info" | "warning";
4108
+ type: "error" | "success" | "info" | "warning";
4037
4109
  id?: number | undefined;
4038
4110
  }[] | undefined;
4039
4111
  required?: boolean | undefined;
@@ -4054,7 +4126,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4054
4126
  hint?: string | undefined;
4055
4127
  messages?: {
4056
4128
  text: string;
4057
- type: "success" | "error" | "info" | "warning";
4129
+ type: "error" | "success" | "info" | "warning";
4058
4130
  id?: number | undefined;
4059
4131
  }[] | undefined;
4060
4132
  required?: boolean | undefined;
@@ -4308,7 +4380,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4308
4380
  hint?: string | undefined;
4309
4381
  messages?: {
4310
4382
  text: string;
4311
- type: "success" | "error" | "info" | "warning";
4383
+ type: "error" | "success" | "info" | "warning";
4312
4384
  id?: number | undefined;
4313
4385
  }[] | undefined;
4314
4386
  required?: boolean | undefined;
@@ -4326,7 +4398,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4326
4398
  hint?: string | undefined;
4327
4399
  messages?: {
4328
4400
  text: string;
4329
- type: "success" | "error" | "info" | "warning";
4401
+ type: "error" | "success" | "info" | "warning";
4330
4402
  id?: number | undefined;
4331
4403
  }[] | undefined;
4332
4404
  required?: boolean | undefined;
@@ -4350,7 +4422,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4350
4422
  hint?: string | undefined;
4351
4423
  messages?: {
4352
4424
  text: string;
4353
- type: "success" | "error" | "info" | "warning";
4425
+ type: "error" | "success" | "info" | "warning";
4354
4426
  id?: number | undefined;
4355
4427
  }[] | undefined;
4356
4428
  required?: boolean | undefined;
@@ -4364,6 +4436,30 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4364
4436
  multiple?: boolean | undefined;
4365
4437
  default_value?: string | string[] | undefined;
4366
4438
  } | undefined;
4439
+ } | {
4440
+ id: string;
4441
+ type: "CODE";
4442
+ order?: number | undefined;
4443
+ visible?: boolean | undefined;
4444
+ category?: "FIELD" | undefined;
4445
+ label?: string | undefined;
4446
+ hint?: string | undefined;
4447
+ messages?: {
4448
+ text: string;
4449
+ type: "error" | "success" | "info" | "warning";
4450
+ id?: number | undefined;
4451
+ }[] | undefined;
4452
+ required?: boolean | undefined;
4453
+ sensitive?: boolean | undefined;
4454
+ config?: {
4455
+ length?: number | undefined;
4456
+ mode?: "numeric" | "alphanumeric" | undefined;
4457
+ auto_submit?: boolean | undefined;
4458
+ group_size?: number | undefined;
4459
+ separator?: string | undefined;
4460
+ placeholder?: string | undefined;
4461
+ default_value?: string | undefined;
4462
+ } | undefined;
4367
4463
  } | {
4368
4464
  id: string;
4369
4465
  type: "COUNTRY";
@@ -4374,7 +4470,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4374
4470
  hint?: string | undefined;
4375
4471
  messages?: {
4376
4472
  text: string;
4377
- type: "success" | "error" | "info" | "warning";
4473
+ type: "error" | "success" | "info" | "warning";
4378
4474
  id?: number | undefined;
4379
4475
  }[] | undefined;
4380
4476
  required?: boolean | undefined;
@@ -4399,7 +4495,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4399
4495
  hint?: string | undefined;
4400
4496
  messages?: {
4401
4497
  text: string;
4402
- type: "success" | "error" | "info" | "warning";
4498
+ type: "error" | "success" | "info" | "warning";
4403
4499
  id?: number | undefined;
4404
4500
  }[] | undefined;
4405
4501
  required?: boolean | undefined;
@@ -4414,7 +4510,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4414
4510
  hint?: string | undefined;
4415
4511
  messages?: {
4416
4512
  text: string;
4417
- type: "success" | "error" | "info" | "warning";
4513
+ type: "error" | "success" | "info" | "warning";
4418
4514
  id?: number | undefined;
4419
4515
  }[] | undefined;
4420
4516
  required?: boolean | undefined;
@@ -4435,7 +4531,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4435
4531
  hint?: string | undefined;
4436
4532
  messages?: {
4437
4533
  text: string;
4438
- type: "success" | "error" | "info" | "warning";
4534
+ type: "error" | "success" | "info" | "warning";
4439
4535
  id?: number | undefined;
4440
4536
  }[] | undefined;
4441
4537
  required?: boolean | undefined;
@@ -4460,7 +4556,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4460
4556
  hint?: string | undefined;
4461
4557
  messages?: {
4462
4558
  text: string;
4463
- type: "success" | "error" | "info" | "warning";
4559
+ type: "error" | "success" | "info" | "warning";
4464
4560
  id?: number | undefined;
4465
4561
  }[] | undefined;
4466
4562
  required?: boolean | undefined;
@@ -4479,7 +4575,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4479
4575
  hint?: string | undefined;
4480
4576
  messages?: {
4481
4577
  text: string;
4482
- type: "success" | "error" | "info" | "warning";
4578
+ type: "error" | "success" | "info" | "warning";
4483
4579
  id?: number | undefined;
4484
4580
  }[] | undefined;
4485
4581
  required?: boolean | undefined;
@@ -4499,7 +4595,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4499
4595
  hint?: string | undefined;
4500
4596
  messages?: {
4501
4597
  text: string;
4502
- type: "success" | "error" | "info" | "warning";
4598
+ type: "error" | "success" | "info" | "warning";
4503
4599
  id?: number | undefined;
4504
4600
  }[] | undefined;
4505
4601
  required?: boolean | undefined;
@@ -4518,7 +4614,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4518
4614
  hint?: string | undefined;
4519
4615
  messages?: {
4520
4616
  text: string;
4521
- type: "success" | "error" | "info" | "warning";
4617
+ type: "error" | "success" | "info" | "warning";
4522
4618
  id?: number | undefined;
4523
4619
  }[] | undefined;
4524
4620
  required?: boolean | undefined;
@@ -4540,7 +4636,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4540
4636
  hint?: string | undefined;
4541
4637
  messages?: {
4542
4638
  text: string;
4543
- type: "success" | "error" | "info" | "warning";
4639
+ type: "error" | "success" | "info" | "warning";
4544
4640
  id?: number | undefined;
4545
4641
  }[] | undefined;
4546
4642
  required?: boolean | undefined;
@@ -4562,7 +4658,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4562
4658
  hint?: string | undefined;
4563
4659
  messages?: {
4564
4660
  text: string;
4565
- type: "success" | "error" | "info" | "warning";
4661
+ type: "error" | "success" | "info" | "warning";
4566
4662
  id?: number | undefined;
4567
4663
  }[] | undefined;
4568
4664
  required?: boolean | undefined;
@@ -4581,7 +4677,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4581
4677
  hint?: string | undefined;
4582
4678
  messages?: {
4583
4679
  text: string;
4584
- type: "success" | "error" | "info" | "warning";
4680
+ type: "error" | "success" | "info" | "warning";
4585
4681
  id?: number | undefined;
4586
4682
  }[] | undefined;
4587
4683
  required?: boolean | undefined;
@@ -4606,7 +4702,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4606
4702
  hint?: string | undefined;
4607
4703
  messages?: {
4608
4704
  text: string;
4609
- type: "success" | "error" | "info" | "warning";
4705
+ type: "error" | "success" | "info" | "warning";
4610
4706
  id?: number | undefined;
4611
4707
  }[] | undefined;
4612
4708
  required?: boolean | undefined;
@@ -4627,7 +4723,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4627
4723
  hint?: string | undefined;
4628
4724
  messages?: {
4629
4725
  text: string;
4630
- type: "success" | "error" | "info" | "warning";
4726
+ type: "error" | "success" | "info" | "warning";
4631
4727
  id?: number | undefined;
4632
4728
  }[] | undefined;
4633
4729
  required?: boolean | undefined;
@@ -4648,7 +4744,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4648
4744
  hint?: string | undefined;
4649
4745
  messages?: {
4650
4746
  text: string;
4651
- type: "success" | "error" | "info" | "warning";
4747
+ type: "error" | "success" | "info" | "warning";
4652
4748
  id?: number | undefined;
4653
4749
  }[] | undefined;
4654
4750
  required?: boolean | undefined;
@@ -4879,7 +4975,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4879
4975
  hint?: string | undefined;
4880
4976
  messages?: {
4881
4977
  text: string;
4882
- type: "success" | "error" | "info" | "warning";
4978
+ type: "error" | "success" | "info" | "warning";
4883
4979
  id?: number | undefined;
4884
4980
  }[] | undefined;
4885
4981
  required?: boolean | undefined;
@@ -4897,7 +4993,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4897
4993
  hint?: string | undefined;
4898
4994
  messages?: {
4899
4995
  text: string;
4900
- type: "success" | "error" | "info" | "warning";
4996
+ type: "error" | "success" | "info" | "warning";
4901
4997
  id?: number | undefined;
4902
4998
  }[] | undefined;
4903
4999
  required?: boolean | undefined;
@@ -4921,7 +5017,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4921
5017
  hint?: string | undefined;
4922
5018
  messages?: {
4923
5019
  text: string;
4924
- type: "success" | "error" | "info" | "warning";
5020
+ type: "error" | "success" | "info" | "warning";
4925
5021
  id?: number | undefined;
4926
5022
  }[] | undefined;
4927
5023
  required?: boolean | undefined;
@@ -4935,6 +5031,30 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4935
5031
  multiple?: boolean | undefined;
4936
5032
  default_value?: string | string[] | undefined;
4937
5033
  } | undefined;
5034
+ } | {
5035
+ id: string;
5036
+ visible: boolean;
5037
+ type: "CODE";
5038
+ order?: number | undefined;
5039
+ category?: "FIELD" | undefined;
5040
+ label?: string | undefined;
5041
+ hint?: string | undefined;
5042
+ messages?: {
5043
+ text: string;
5044
+ type: "error" | "success" | "info" | "warning";
5045
+ id?: number | undefined;
5046
+ }[] | undefined;
5047
+ required?: boolean | undefined;
5048
+ sensitive?: boolean | undefined;
5049
+ config?: {
5050
+ length?: number | undefined;
5051
+ mode?: "numeric" | "alphanumeric" | undefined;
5052
+ auto_submit?: boolean | undefined;
5053
+ group_size?: number | undefined;
5054
+ separator?: string | undefined;
5055
+ placeholder?: string | undefined;
5056
+ default_value?: string | undefined;
5057
+ } | undefined;
4938
5058
  } | {
4939
5059
  id: string;
4940
5060
  visible: boolean;
@@ -4945,7 +5065,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4945
5065
  hint?: string | undefined;
4946
5066
  messages?: {
4947
5067
  text: string;
4948
- type: "success" | "error" | "info" | "warning";
5068
+ type: "error" | "success" | "info" | "warning";
4949
5069
  id?: number | undefined;
4950
5070
  }[] | undefined;
4951
5071
  required?: boolean | undefined;
@@ -4974,7 +5094,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4974
5094
  hint?: string | undefined;
4975
5095
  messages?: {
4976
5096
  text: string;
4977
- type: "success" | "error" | "info" | "warning";
5097
+ type: "error" | "success" | "info" | "warning";
4978
5098
  id?: number | undefined;
4979
5099
  }[] | undefined;
4980
5100
  required?: boolean | undefined;
@@ -4989,7 +5109,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4989
5109
  hint?: string | undefined;
4990
5110
  messages?: {
4991
5111
  text: string;
4992
- type: "success" | "error" | "info" | "warning";
5112
+ type: "error" | "success" | "info" | "warning";
4993
5113
  id?: number | undefined;
4994
5114
  }[] | undefined;
4995
5115
  required?: boolean | undefined;
@@ -5010,7 +5130,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5010
5130
  hint?: string | undefined;
5011
5131
  messages?: {
5012
5132
  text: string;
5013
- type: "success" | "error" | "info" | "warning";
5133
+ type: "error" | "success" | "info" | "warning";
5014
5134
  id?: number | undefined;
5015
5135
  }[] | undefined;
5016
5136
  required?: boolean | undefined;
@@ -5035,7 +5155,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5035
5155
  hint?: string | undefined;
5036
5156
  messages?: {
5037
5157
  text: string;
5038
- type: "success" | "error" | "info" | "warning";
5158
+ type: "error" | "success" | "info" | "warning";
5039
5159
  id?: number | undefined;
5040
5160
  }[] | undefined;
5041
5161
  required?: boolean | undefined;
@@ -5054,7 +5174,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5054
5174
  hint?: string | undefined;
5055
5175
  messages?: {
5056
5176
  text: string;
5057
- type: "success" | "error" | "info" | "warning";
5177
+ type: "error" | "success" | "info" | "warning";
5058
5178
  id?: number | undefined;
5059
5179
  }[] | undefined;
5060
5180
  required?: boolean | undefined;
@@ -5074,7 +5194,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5074
5194
  hint?: string | undefined;
5075
5195
  messages?: {
5076
5196
  text: string;
5077
- type: "success" | "error" | "info" | "warning";
5197
+ type: "error" | "success" | "info" | "warning";
5078
5198
  id?: number | undefined;
5079
5199
  }[] | undefined;
5080
5200
  required?: boolean | undefined;
@@ -5093,7 +5213,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5093
5213
  hint?: string | undefined;
5094
5214
  messages?: {
5095
5215
  text: string;
5096
- type: "success" | "error" | "info" | "warning";
5216
+ type: "error" | "success" | "info" | "warning";
5097
5217
  id?: number | undefined;
5098
5218
  }[] | undefined;
5099
5219
  required?: boolean | undefined;
@@ -5115,7 +5235,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5115
5235
  hint?: string | undefined;
5116
5236
  messages?: {
5117
5237
  text: string;
5118
- type: "success" | "error" | "info" | "warning";
5238
+ type: "error" | "success" | "info" | "warning";
5119
5239
  id?: number | undefined;
5120
5240
  }[] | undefined;
5121
5241
  required?: boolean | undefined;
@@ -5137,7 +5257,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5137
5257
  hint?: string | undefined;
5138
5258
  messages?: {
5139
5259
  text: string;
5140
- type: "success" | "error" | "info" | "warning";
5260
+ type: "error" | "success" | "info" | "warning";
5141
5261
  id?: number | undefined;
5142
5262
  }[] | undefined;
5143
5263
  required?: boolean | undefined;
@@ -5156,7 +5276,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5156
5276
  hint?: string | undefined;
5157
5277
  messages?: {
5158
5278
  text: string;
5159
- type: "success" | "error" | "info" | "warning";
5279
+ type: "error" | "success" | "info" | "warning";
5160
5280
  id?: number | undefined;
5161
5281
  }[] | undefined;
5162
5282
  required?: boolean | undefined;
@@ -5181,7 +5301,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5181
5301
  hint?: string | undefined;
5182
5302
  messages?: {
5183
5303
  text: string;
5184
- type: "success" | "error" | "info" | "warning";
5304
+ type: "error" | "success" | "info" | "warning";
5185
5305
  id?: number | undefined;
5186
5306
  }[] | undefined;
5187
5307
  required?: boolean | undefined;
@@ -5202,7 +5322,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5202
5322
  hint?: string | undefined;
5203
5323
  messages?: {
5204
5324
  text: string;
5205
- type: "success" | "error" | "info" | "warning";
5325
+ type: "error" | "success" | "info" | "warning";
5206
5326
  id?: number | undefined;
5207
5327
  }[] | undefined;
5208
5328
  required?: boolean | undefined;
@@ -5223,7 +5343,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5223
5343
  hint?: string | undefined;
5224
5344
  messages?: {
5225
5345
  text: string;
5226
- type: "success" | "error" | "info" | "warning";
5346
+ type: "error" | "success" | "info" | "warning";
5227
5347
  id?: number | undefined;
5228
5348
  }[] | undefined;
5229
5349
  required?: boolean | undefined;
@@ -5456,7 +5576,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5456
5576
  hint?: string | undefined;
5457
5577
  messages?: {
5458
5578
  text: string;
5459
- type: "success" | "error" | "info" | "warning";
5579
+ type: "error" | "success" | "info" | "warning";
5460
5580
  id?: number | undefined;
5461
5581
  }[] | undefined;
5462
5582
  required?: boolean | undefined;
@@ -5474,7 +5594,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5474
5594
  hint?: string | undefined;
5475
5595
  messages?: {
5476
5596
  text: string;
5477
- type: "success" | "error" | "info" | "warning";
5597
+ type: "error" | "success" | "info" | "warning";
5478
5598
  id?: number | undefined;
5479
5599
  }[] | undefined;
5480
5600
  required?: boolean | undefined;
@@ -5498,7 +5618,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5498
5618
  hint?: string | undefined;
5499
5619
  messages?: {
5500
5620
  text: string;
5501
- type: "success" | "error" | "info" | "warning";
5621
+ type: "error" | "success" | "info" | "warning";
5502
5622
  id?: number | undefined;
5503
5623
  }[] | undefined;
5504
5624
  required?: boolean | undefined;
@@ -5512,6 +5632,30 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5512
5632
  multiple?: boolean | undefined;
5513
5633
  default_value?: string | string[] | undefined;
5514
5634
  } | undefined;
5635
+ } | {
5636
+ id: string;
5637
+ type: "CODE";
5638
+ order?: number | undefined;
5639
+ visible?: boolean | undefined;
5640
+ category?: "FIELD" | undefined;
5641
+ label?: string | undefined;
5642
+ hint?: string | undefined;
5643
+ messages?: {
5644
+ text: string;
5645
+ type: "error" | "success" | "info" | "warning";
5646
+ id?: number | undefined;
5647
+ }[] | undefined;
5648
+ required?: boolean | undefined;
5649
+ sensitive?: boolean | undefined;
5650
+ config?: {
5651
+ length?: number | undefined;
5652
+ mode?: "numeric" | "alphanumeric" | undefined;
5653
+ auto_submit?: boolean | undefined;
5654
+ group_size?: number | undefined;
5655
+ separator?: string | undefined;
5656
+ placeholder?: string | undefined;
5657
+ default_value?: string | undefined;
5658
+ } | undefined;
5515
5659
  } | {
5516
5660
  id: string;
5517
5661
  type: "COUNTRY";
@@ -5522,7 +5666,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5522
5666
  hint?: string | undefined;
5523
5667
  messages?: {
5524
5668
  text: string;
5525
- type: "success" | "error" | "info" | "warning";
5669
+ type: "error" | "success" | "info" | "warning";
5526
5670
  id?: number | undefined;
5527
5671
  }[] | undefined;
5528
5672
  required?: boolean | undefined;
@@ -5547,7 +5691,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5547
5691
  hint?: string | undefined;
5548
5692
  messages?: {
5549
5693
  text: string;
5550
- type: "success" | "error" | "info" | "warning";
5694
+ type: "error" | "success" | "info" | "warning";
5551
5695
  id?: number | undefined;
5552
5696
  }[] | undefined;
5553
5697
  required?: boolean | undefined;
@@ -5562,7 +5706,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5562
5706
  hint?: string | undefined;
5563
5707
  messages?: {
5564
5708
  text: string;
5565
- type: "success" | "error" | "info" | "warning";
5709
+ type: "error" | "success" | "info" | "warning";
5566
5710
  id?: number | undefined;
5567
5711
  }[] | undefined;
5568
5712
  required?: boolean | undefined;
@@ -5583,7 +5727,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5583
5727
  hint?: string | undefined;
5584
5728
  messages?: {
5585
5729
  text: string;
5586
- type: "success" | "error" | "info" | "warning";
5730
+ type: "error" | "success" | "info" | "warning";
5587
5731
  id?: number | undefined;
5588
5732
  }[] | undefined;
5589
5733
  required?: boolean | undefined;
@@ -5608,7 +5752,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5608
5752
  hint?: string | undefined;
5609
5753
  messages?: {
5610
5754
  text: string;
5611
- type: "success" | "error" | "info" | "warning";
5755
+ type: "error" | "success" | "info" | "warning";
5612
5756
  id?: number | undefined;
5613
5757
  }[] | undefined;
5614
5758
  required?: boolean | undefined;
@@ -5627,7 +5771,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5627
5771
  hint?: string | undefined;
5628
5772
  messages?: {
5629
5773
  text: string;
5630
- type: "success" | "error" | "info" | "warning";
5774
+ type: "error" | "success" | "info" | "warning";
5631
5775
  id?: number | undefined;
5632
5776
  }[] | undefined;
5633
5777
  required?: boolean | undefined;
@@ -5647,7 +5791,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5647
5791
  hint?: string | undefined;
5648
5792
  messages?: {
5649
5793
  text: string;
5650
- type: "success" | "error" | "info" | "warning";
5794
+ type: "error" | "success" | "info" | "warning";
5651
5795
  id?: number | undefined;
5652
5796
  }[] | undefined;
5653
5797
  required?: boolean | undefined;
@@ -5666,7 +5810,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5666
5810
  hint?: string | undefined;
5667
5811
  messages?: {
5668
5812
  text: string;
5669
- type: "success" | "error" | "info" | "warning";
5813
+ type: "error" | "success" | "info" | "warning";
5670
5814
  id?: number | undefined;
5671
5815
  }[] | undefined;
5672
5816
  required?: boolean | undefined;
@@ -5688,7 +5832,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5688
5832
  hint?: string | undefined;
5689
5833
  messages?: {
5690
5834
  text: string;
5691
- type: "success" | "error" | "info" | "warning";
5835
+ type: "error" | "success" | "info" | "warning";
5692
5836
  id?: number | undefined;
5693
5837
  }[] | undefined;
5694
5838
  required?: boolean | undefined;
@@ -5710,7 +5854,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5710
5854
  hint?: string | undefined;
5711
5855
  messages?: {
5712
5856
  text: string;
5713
- type: "success" | "error" | "info" | "warning";
5857
+ type: "error" | "success" | "info" | "warning";
5714
5858
  id?: number | undefined;
5715
5859
  }[] | undefined;
5716
5860
  required?: boolean | undefined;
@@ -5729,7 +5873,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5729
5873
  hint?: string | undefined;
5730
5874
  messages?: {
5731
5875
  text: string;
5732
- type: "success" | "error" | "info" | "warning";
5876
+ type: "error" | "success" | "info" | "warning";
5733
5877
  id?: number | undefined;
5734
5878
  }[] | undefined;
5735
5879
  required?: boolean | undefined;
@@ -5754,7 +5898,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5754
5898
  hint?: string | undefined;
5755
5899
  messages?: {
5756
5900
  text: string;
5757
- type: "success" | "error" | "info" | "warning";
5901
+ type: "error" | "success" | "info" | "warning";
5758
5902
  id?: number | undefined;
5759
5903
  }[] | undefined;
5760
5904
  required?: boolean | undefined;
@@ -5775,7 +5919,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5775
5919
  hint?: string | undefined;
5776
5920
  messages?: {
5777
5921
  text: string;
5778
- type: "success" | "error" | "info" | "warning";
5922
+ type: "error" | "success" | "info" | "warning";
5779
5923
  id?: number | undefined;
5780
5924
  }[] | undefined;
5781
5925
  required?: boolean | undefined;
@@ -5796,7 +5940,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5796
5940
  hint?: string | undefined;
5797
5941
  messages?: {
5798
5942
  text: string;
5799
- type: "success" | "error" | "info" | "warning";
5943
+ type: "error" | "success" | "info" | "warning";
5800
5944
  id?: number | undefined;
5801
5945
  }[] | undefined;
5802
5946
  required?: boolean | undefined;
@@ -6027,7 +6171,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6027
6171
  hint?: string | undefined;
6028
6172
  messages?: {
6029
6173
  text: string;
6030
- type: "success" | "error" | "info" | "warning";
6174
+ type: "error" | "success" | "info" | "warning";
6031
6175
  id?: number | undefined;
6032
6176
  }[] | undefined;
6033
6177
  required?: boolean | undefined;
@@ -6045,7 +6189,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6045
6189
  hint?: string | undefined;
6046
6190
  messages?: {
6047
6191
  text: string;
6048
- type: "success" | "error" | "info" | "warning";
6192
+ type: "error" | "success" | "info" | "warning";
6049
6193
  id?: number | undefined;
6050
6194
  }[] | undefined;
6051
6195
  required?: boolean | undefined;
@@ -6069,7 +6213,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6069
6213
  hint?: string | undefined;
6070
6214
  messages?: {
6071
6215
  text: string;
6072
- type: "success" | "error" | "info" | "warning";
6216
+ type: "error" | "success" | "info" | "warning";
6073
6217
  id?: number | undefined;
6074
6218
  }[] | undefined;
6075
6219
  required?: boolean | undefined;
@@ -6083,6 +6227,30 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6083
6227
  multiple?: boolean | undefined;
6084
6228
  default_value?: string | string[] | undefined;
6085
6229
  } | undefined;
6230
+ } | {
6231
+ id: string;
6232
+ visible: boolean;
6233
+ type: "CODE";
6234
+ order?: number | undefined;
6235
+ category?: "FIELD" | undefined;
6236
+ label?: string | undefined;
6237
+ hint?: string | undefined;
6238
+ messages?: {
6239
+ text: string;
6240
+ type: "error" | "success" | "info" | "warning";
6241
+ id?: number | undefined;
6242
+ }[] | undefined;
6243
+ required?: boolean | undefined;
6244
+ sensitive?: boolean | undefined;
6245
+ config?: {
6246
+ length?: number | undefined;
6247
+ mode?: "numeric" | "alphanumeric" | undefined;
6248
+ auto_submit?: boolean | undefined;
6249
+ group_size?: number | undefined;
6250
+ separator?: string | undefined;
6251
+ placeholder?: string | undefined;
6252
+ default_value?: string | undefined;
6253
+ } | undefined;
6086
6254
  } | {
6087
6255
  id: string;
6088
6256
  visible: boolean;
@@ -6093,7 +6261,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6093
6261
  hint?: string | undefined;
6094
6262
  messages?: {
6095
6263
  text: string;
6096
- type: "success" | "error" | "info" | "warning";
6264
+ type: "error" | "success" | "info" | "warning";
6097
6265
  id?: number | undefined;
6098
6266
  }[] | undefined;
6099
6267
  required?: boolean | undefined;
@@ -6122,7 +6290,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6122
6290
  hint?: string | undefined;
6123
6291
  messages?: {
6124
6292
  text: string;
6125
- type: "success" | "error" | "info" | "warning";
6293
+ type: "error" | "success" | "info" | "warning";
6126
6294
  id?: number | undefined;
6127
6295
  }[] | undefined;
6128
6296
  required?: boolean | undefined;
@@ -6137,7 +6305,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6137
6305
  hint?: string | undefined;
6138
6306
  messages?: {
6139
6307
  text: string;
6140
- type: "success" | "error" | "info" | "warning";
6308
+ type: "error" | "success" | "info" | "warning";
6141
6309
  id?: number | undefined;
6142
6310
  }[] | undefined;
6143
6311
  required?: boolean | undefined;
@@ -6158,7 +6326,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6158
6326
  hint?: string | undefined;
6159
6327
  messages?: {
6160
6328
  text: string;
6161
- type: "success" | "error" | "info" | "warning";
6329
+ type: "error" | "success" | "info" | "warning";
6162
6330
  id?: number | undefined;
6163
6331
  }[] | undefined;
6164
6332
  required?: boolean | undefined;
@@ -6183,7 +6351,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6183
6351
  hint?: string | undefined;
6184
6352
  messages?: {
6185
6353
  text: string;
6186
- type: "success" | "error" | "info" | "warning";
6354
+ type: "error" | "success" | "info" | "warning";
6187
6355
  id?: number | undefined;
6188
6356
  }[] | undefined;
6189
6357
  required?: boolean | undefined;
@@ -6202,7 +6370,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6202
6370
  hint?: string | undefined;
6203
6371
  messages?: {
6204
6372
  text: string;
6205
- type: "success" | "error" | "info" | "warning";
6373
+ type: "error" | "success" | "info" | "warning";
6206
6374
  id?: number | undefined;
6207
6375
  }[] | undefined;
6208
6376
  required?: boolean | undefined;
@@ -6222,7 +6390,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6222
6390
  hint?: string | undefined;
6223
6391
  messages?: {
6224
6392
  text: string;
6225
- type: "success" | "error" | "info" | "warning";
6393
+ type: "error" | "success" | "info" | "warning";
6226
6394
  id?: number | undefined;
6227
6395
  }[] | undefined;
6228
6396
  required?: boolean | undefined;
@@ -6241,7 +6409,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6241
6409
  hint?: string | undefined;
6242
6410
  messages?: {
6243
6411
  text: string;
6244
- type: "success" | "error" | "info" | "warning";
6412
+ type: "error" | "success" | "info" | "warning";
6245
6413
  id?: number | undefined;
6246
6414
  }[] | undefined;
6247
6415
  required?: boolean | undefined;
@@ -6263,7 +6431,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6263
6431
  hint?: string | undefined;
6264
6432
  messages?: {
6265
6433
  text: string;
6266
- type: "success" | "error" | "info" | "warning";
6434
+ type: "error" | "success" | "info" | "warning";
6267
6435
  id?: number | undefined;
6268
6436
  }[] | undefined;
6269
6437
  required?: boolean | undefined;
@@ -6285,7 +6453,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6285
6453
  hint?: string | undefined;
6286
6454
  messages?: {
6287
6455
  text: string;
6288
- type: "success" | "error" | "info" | "warning";
6456
+ type: "error" | "success" | "info" | "warning";
6289
6457
  id?: number | undefined;
6290
6458
  }[] | undefined;
6291
6459
  required?: boolean | undefined;
@@ -6304,7 +6472,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6304
6472
  hint?: string | undefined;
6305
6473
  messages?: {
6306
6474
  text: string;
6307
- type: "success" | "error" | "info" | "warning";
6475
+ type: "error" | "success" | "info" | "warning";
6308
6476
  id?: number | undefined;
6309
6477
  }[] | undefined;
6310
6478
  required?: boolean | undefined;
@@ -6329,7 +6497,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6329
6497
  hint?: string | undefined;
6330
6498
  messages?: {
6331
6499
  text: string;
6332
- type: "success" | "error" | "info" | "warning";
6500
+ type: "error" | "success" | "info" | "warning";
6333
6501
  id?: number | undefined;
6334
6502
  }[] | undefined;
6335
6503
  required?: boolean | undefined;
@@ -6350,7 +6518,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6350
6518
  hint?: string | undefined;
6351
6519
  messages?: {
6352
6520
  text: string;
6353
- type: "success" | "error" | "info" | "warning";
6521
+ type: "error" | "success" | "info" | "warning";
6354
6522
  id?: number | undefined;
6355
6523
  }[] | undefined;
6356
6524
  required?: boolean | undefined;
@@ -6371,7 +6539,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6371
6539
  hint?: string | undefined;
6372
6540
  messages?: {
6373
6541
  text: string;
6374
- type: "success" | "error" | "info" | "warning";
6542
+ type: "error" | "success" | "info" | "warning";
6375
6543
  id?: number | undefined;
6376
6544
  }[] | undefined;
6377
6545
  required?: boolean | undefined;
@@ -6601,7 +6769,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6601
6769
  };
6602
6770
  };
6603
6771
  output: {
6604
- prompt: "signup" | "status" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
6772
+ prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
6605
6773
  language: string;
6606
6774
  }[];
6607
6775
  outputFormat: "json";
@@ -6639,7 +6807,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6639
6807
  $get: {
6640
6808
  input: {
6641
6809
  param: {
6642
- prompt: "signup" | "status" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
6810
+ prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
6643
6811
  language: string;
6644
6812
  };
6645
6813
  } & {
@@ -6661,7 +6829,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6661
6829
  $put: {
6662
6830
  input: {
6663
6831
  param: {
6664
- prompt: "signup" | "status" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
6832
+ prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
6665
6833
  language: string;
6666
6834
  };
6667
6835
  } & {
@@ -6685,7 +6853,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6685
6853
  $delete: {
6686
6854
  input: {
6687
6855
  param: {
6688
- prompt: "signup" | "status" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
6856
+ prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
6689
6857
  language: string;
6690
6858
  };
6691
6859
  } & {
@@ -7547,7 +7715,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7547
7715
  };
7548
7716
  } | {
7549
7717
  mode: "inline";
7550
- status: "success" | "error";
7718
+ status: "error" | "success";
7551
7719
  connection_id: string;
7552
7720
  connection_name: string;
7553
7721
  strategy: string;
@@ -8186,7 +8354,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8186
8354
  log_type: string;
8187
8355
  category: "user_action" | "admin_action" | "system" | "api";
8188
8356
  actor: {
8189
- type: "client_credentials" | "user" | "system" | "admin" | "api_key";
8357
+ type: "user" | "client_credentials" | "system" | "admin" | "api_key";
8190
8358
  id?: string | undefined;
8191
8359
  email?: string | undefined;
8192
8360
  org_id?: string | undefined;
@@ -8494,7 +8662,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8494
8662
  created_at: string;
8495
8663
  updated_at: string;
8496
8664
  name: string;
8497
- provider: "auth0" | "cognito" | "okta" | "oidc";
8665
+ provider: "auth0" | "oidc" | "okta" | "cognito";
8498
8666
  connection: string;
8499
8667
  enabled: boolean;
8500
8668
  credentials: {
@@ -8526,7 +8694,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8526
8694
  created_at: string;
8527
8695
  updated_at: string;
8528
8696
  name: string;
8529
- provider: "auth0" | "cognito" | "okta" | "oidc";
8697
+ provider: "auth0" | "oidc" | "okta" | "cognito";
8530
8698
  connection: string;
8531
8699
  enabled: boolean;
8532
8700
  credentials: {
@@ -8552,7 +8720,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8552
8720
  } & {
8553
8721
  json: {
8554
8722
  name: string;
8555
- provider: "auth0" | "cognito" | "okta" | "oidc";
8723
+ provider: "auth0" | "oidc" | "okta" | "cognito";
8556
8724
  connection: string;
8557
8725
  credentials: {
8558
8726
  domain: string;
@@ -8569,7 +8737,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8569
8737
  created_at: string;
8570
8738
  updated_at: string;
8571
8739
  name: string;
8572
- provider: "auth0" | "cognito" | "okta" | "oidc";
8740
+ provider: "auth0" | "oidc" | "okta" | "cognito";
8573
8741
  connection: string;
8574
8742
  enabled: boolean;
8575
8743
  credentials: {
@@ -8600,7 +8768,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8600
8768
  json: {
8601
8769
  id?: string | undefined;
8602
8770
  name?: string | undefined;
8603
- provider?: "auth0" | "cognito" | "okta" | "oidc" | undefined;
8771
+ provider?: "auth0" | "oidc" | "okta" | "cognito" | undefined;
8604
8772
  connection?: string | undefined;
8605
8773
  enabled?: boolean | undefined;
8606
8774
  credentials?: {
@@ -8616,7 +8784,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8616
8784
  created_at: string;
8617
8785
  updated_at: string;
8618
8786
  name: string;
8619
- provider: "auth0" | "cognito" | "okta" | "oidc";
8787
+ provider: "auth0" | "oidc" | "okta" | "cognito";
8620
8788
  connection: string;
8621
8789
  enabled: boolean;
8622
8790
  credentials: {
@@ -8834,7 +9002,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8834
9002
  };
8835
9003
  };
8836
9004
  output: {
8837
- type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
9005
+ type: "fc" | "fd" | "fn" | "i" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
8838
9006
  date: string;
8839
9007
  isMobile: boolean;
8840
9008
  log_id: string;
@@ -8873,7 +9041,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8873
9041
  limit: number;
8874
9042
  length: number;
8875
9043
  logs: {
8876
- type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
9044
+ type: "fc" | "fd" | "fn" | "i" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
8877
9045
  date: string;
8878
9046
  isMobile: boolean;
8879
9047
  log_id: string;
@@ -8927,7 +9095,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8927
9095
  };
8928
9096
  };
8929
9097
  output: {
8930
- type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
9098
+ type: "fc" | "fd" | "fn" | "i" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
8931
9099
  date: string;
8932
9100
  isMobile: boolean;
8933
9101
  log_id: string;
@@ -9315,7 +9483,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
9315
9483
  addons?: {
9316
9484
  [x: string]: any;
9317
9485
  } | undefined;
9318
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
9486
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
9319
9487
  client_metadata?: {
9320
9488
  [x: string]: string;
9321
9489
  } | undefined;
@@ -9411,7 +9579,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
9411
9579
  addons?: {
9412
9580
  [x: string]: any;
9413
9581
  } | undefined;
9414
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
9582
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
9415
9583
  client_metadata?: {
9416
9584
  [x: string]: string;
9417
9585
  } | undefined;
@@ -9522,7 +9690,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
9522
9690
  addons?: {
9523
9691
  [x: string]: any;
9524
9692
  } | undefined;
9525
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
9693
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
9526
9694
  client_metadata?: {
9527
9695
  [x: string]: string;
9528
9696
  } | undefined;
@@ -9632,7 +9800,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
9632
9800
  custom_login_page_preview?: string | undefined;
9633
9801
  form_template?: string | undefined;
9634
9802
  addons?: Record<string, any> | undefined;
9635
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
9803
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
9636
9804
  client_metadata?: Record<string, string> | undefined;
9637
9805
  hide_sign_up_disabled_error?: boolean | undefined;
9638
9806
  mobile?: Record<string, any> | undefined;
@@ -9712,7 +9880,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
9712
9880
  addons?: {
9713
9881
  [x: string]: any;
9714
9882
  } | undefined;
9715
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
9883
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
9716
9884
  client_metadata?: {
9717
9885
  [x: string]: string;
9718
9886
  } | undefined;
@@ -9801,7 +9969,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
9801
9969
  custom_login_page_preview?: string | undefined;
9802
9970
  form_template?: string | undefined;
9803
9971
  addons?: Record<string, any> | undefined;
9804
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
9972
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
9805
9973
  client_metadata?: Record<string, string> | undefined;
9806
9974
  hide_sign_up_disabled_error?: boolean | undefined;
9807
9975
  mobile?: Record<string, any> | undefined;
@@ -9881,7 +10049,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
9881
10049
  addons?: {
9882
10050
  [x: string]: any;
9883
10051
  } | undefined;
9884
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
10052
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
9885
10053
  client_metadata?: {
9886
10054
  [x: string]: string;
9887
10055
  } | undefined;
@@ -11145,7 +11313,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11145
11313
  };
11146
11314
  };
11147
11315
  output: {
11148
- type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
11316
+ type: "fc" | "fd" | "fn" | "i" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
11149
11317
  date: string;
11150
11318
  isMobile: boolean;
11151
11319
  log_id: string;
@@ -11184,7 +11352,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11184
11352
  limit: number;
11185
11353
  length: number;
11186
11354
  logs: {
11187
- type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
11355
+ type: "fc" | "fd" | "fn" | "i" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
11188
11356
  date: string;
11189
11357
  isMobile: boolean;
11190
11358
  log_id: string;
@@ -11499,7 +11667,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11499
11667
  };
11500
11668
  } & {
11501
11669
  json: {
11502
- template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11670
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11503
11671
  body: string;
11504
11672
  from: string;
11505
11673
  subject: string;
@@ -11520,7 +11688,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11520
11688
  };
11521
11689
  } & {
11522
11690
  json: {
11523
- template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11691
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11524
11692
  body: string;
11525
11693
  from: string;
11526
11694
  subject: string;
@@ -11532,7 +11700,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11532
11700
  };
11533
11701
  };
11534
11702
  output: {
11535
- template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11703
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11536
11704
  body: string;
11537
11705
  from: string;
11538
11706
  subject: string;
@@ -11555,7 +11723,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11555
11723
  };
11556
11724
  };
11557
11725
  output: {
11558
- name: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11726
+ name: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11559
11727
  body: string;
11560
11728
  subject: string;
11561
11729
  }[];
@@ -11568,7 +11736,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11568
11736
  $get: {
11569
11737
  input: {
11570
11738
  param: {
11571
- templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11739
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11572
11740
  };
11573
11741
  } & {
11574
11742
  header: {
@@ -11581,7 +11749,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11581
11749
  } | {
11582
11750
  input: {
11583
11751
  param: {
11584
- templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11752
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11585
11753
  };
11586
11754
  } & {
11587
11755
  header: {
@@ -11589,7 +11757,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11589
11757
  };
11590
11758
  };
11591
11759
  output: {
11592
- template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11760
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11593
11761
  body: string;
11594
11762
  from: string;
11595
11763
  subject: string;
@@ -11608,7 +11776,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11608
11776
  $put: {
11609
11777
  input: {
11610
11778
  param: {
11611
- templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11779
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11612
11780
  };
11613
11781
  } & {
11614
11782
  header: {
@@ -11616,7 +11784,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11616
11784
  };
11617
11785
  } & {
11618
11786
  json: {
11619
- template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11787
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11620
11788
  body: string;
11621
11789
  subject: string;
11622
11790
  syntax?: "liquid" | undefined;
@@ -11628,7 +11796,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11628
11796
  };
11629
11797
  };
11630
11798
  output: {
11631
- template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11799
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11632
11800
  body: string;
11633
11801
  from: string;
11634
11802
  subject: string;
@@ -11647,7 +11815,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11647
11815
  $patch: {
11648
11816
  input: {
11649
11817
  param: {
11650
- templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11818
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11651
11819
  };
11652
11820
  } & {
11653
11821
  header: {
@@ -11655,7 +11823,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11655
11823
  };
11656
11824
  } & {
11657
11825
  json: {
11658
- template?: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
11826
+ template?: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
11659
11827
  body?: string | undefined;
11660
11828
  from?: string | undefined;
11661
11829
  subject?: string | undefined;
@@ -11672,7 +11840,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11672
11840
  } | {
11673
11841
  input: {
11674
11842
  param: {
11675
- templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11843
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11676
11844
  };
11677
11845
  } & {
11678
11846
  header: {
@@ -11680,7 +11848,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11680
11848
  };
11681
11849
  } & {
11682
11850
  json: {
11683
- template?: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
11851
+ template?: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
11684
11852
  body?: string | undefined;
11685
11853
  from?: string | undefined;
11686
11854
  subject?: string | undefined;
@@ -11692,7 +11860,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11692
11860
  };
11693
11861
  };
11694
11862
  output: {
11695
- template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11863
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11696
11864
  body: string;
11697
11865
  from: string;
11698
11866
  subject: string;
@@ -11711,7 +11879,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11711
11879
  $delete: {
11712
11880
  input: {
11713
11881
  param: {
11714
- templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11882
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11715
11883
  };
11716
11884
  } & {
11717
11885
  header: {
@@ -11724,7 +11892,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11724
11892
  } | {
11725
11893
  input: {
11726
11894
  param: {
11727
- templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11895
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11728
11896
  };
11729
11897
  } & {
11730
11898
  header: {
@@ -11741,7 +11909,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11741
11909
  $post: {
11742
11910
  input: {
11743
11911
  param: {
11744
- templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11912
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11745
11913
  };
11746
11914
  } & {
11747
11915
  header: {
@@ -12024,7 +12192,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12024
12192
  type: "auth0_managed_certs" | "self_managed_certs";
12025
12193
  custom_domain_id: string;
12026
12194
  primary: boolean;
12027
- status: "disabled" | "pending" | "ready" | "pending_verification";
12195
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12028
12196
  verification_method?: "txt" | undefined;
12029
12197
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12030
12198
  domain_metadata?: {
@@ -12065,7 +12233,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12065
12233
  type: "auth0_managed_certs" | "self_managed_certs";
12066
12234
  custom_domain_id: string;
12067
12235
  primary: boolean;
12068
- status: "disabled" | "pending" | "ready" | "pending_verification";
12236
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12069
12237
  verification_method?: "txt" | undefined;
12070
12238
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12071
12239
  domain_metadata?: {
@@ -12129,7 +12297,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12129
12297
  type: "auth0_managed_certs" | "self_managed_certs";
12130
12298
  custom_domain_id: string;
12131
12299
  primary: boolean;
12132
- status: "disabled" | "pending" | "ready" | "pending_verification";
12300
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12133
12301
  verification_method?: "txt" | undefined;
12134
12302
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12135
12303
  domain_metadata?: {
@@ -12176,7 +12344,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12176
12344
  type: "auth0_managed_certs" | "self_managed_certs";
12177
12345
  custom_domain_id: string;
12178
12346
  primary: boolean;
12179
- status: "disabled" | "pending" | "ready" | "pending_verification";
12347
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12180
12348
  verification_method?: "txt" | undefined;
12181
12349
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12182
12350
  domain_metadata?: {
@@ -12222,7 +12390,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12222
12390
  type: "auth0_managed_certs" | "self_managed_certs";
12223
12391
  custom_domain_id: string;
12224
12392
  primary: boolean;
12225
- status: "disabled" | "pending" | "ready" | "pending_verification";
12393
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12226
12394
  verification_method?: "txt" | undefined;
12227
12395
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12228
12396
  domain_metadata?: {
@@ -12263,7 +12431,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12263
12431
  type: "auth0_managed_certs" | "self_managed_certs";
12264
12432
  custom_domain_id: string;
12265
12433
  primary: boolean;
12266
- status: "disabled" | "pending" | "ready" | "pending_verification";
12434
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12267
12435
  verification_method?: "txt" | undefined;
12268
12436
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12269
12437
  domain_metadata?: {
@@ -12683,6 +12851,120 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12683
12851
  status: 204;
12684
12852
  };
12685
12853
  };
12854
+ } & {
12855
+ "/templates/universal-login/preview": {
12856
+ $post: {
12857
+ input: {
12858
+ header: {
12859
+ "tenant-id"?: string | undefined;
12860
+ };
12861
+ } & {
12862
+ json: {
12863
+ body?: string | undefined;
12864
+ screen?: "identifier" | "signup" | "password" | "login" | undefined;
12865
+ branding?: {
12866
+ colors?: {
12867
+ primary: string;
12868
+ page_background?: string | {
12869
+ type?: string | undefined;
12870
+ start?: string | undefined;
12871
+ end?: string | undefined;
12872
+ angle_deg?: number | undefined;
12873
+ } | undefined;
12874
+ } | undefined;
12875
+ logo_url?: string | undefined;
12876
+ favicon_url?: string | undefined;
12877
+ powered_by_logo_url?: string | undefined;
12878
+ font?: {
12879
+ url: string;
12880
+ } | undefined;
12881
+ dark_mode?: "dark" | "light" | "auto" | undefined;
12882
+ } | undefined;
12883
+ theme?: {
12884
+ borders?: {
12885
+ button_border_radius: number;
12886
+ button_border_weight: number;
12887
+ buttons_style: "pill" | "rounded" | "sharp";
12888
+ input_border_radius: number;
12889
+ input_border_weight: number;
12890
+ inputs_style: "pill" | "rounded" | "sharp";
12891
+ show_widget_shadow: boolean;
12892
+ widget_border_weight: number;
12893
+ widget_corner_radius: number;
12894
+ } | undefined;
12895
+ colors?: {
12896
+ base_focus_color: string;
12897
+ base_hover_color: string;
12898
+ body_text: string;
12899
+ captcha_widget_theme: "dark" | "light" | "auto";
12900
+ error: string;
12901
+ header: string;
12902
+ icons: string;
12903
+ input_background: string;
12904
+ input_border: string;
12905
+ input_filled_text: string;
12906
+ input_labels_placeholders: string;
12907
+ links_focused_components: string;
12908
+ primary_button: string;
12909
+ primary_button_label: string;
12910
+ secondary_button_border: string;
12911
+ secondary_button_label: string;
12912
+ success: string;
12913
+ widget_background: string;
12914
+ widget_border: string;
12915
+ } | undefined;
12916
+ displayName?: string | undefined;
12917
+ fonts?: {
12918
+ body_text: {
12919
+ bold: boolean;
12920
+ size: number;
12921
+ };
12922
+ buttons_text: {
12923
+ bold: boolean;
12924
+ size: number;
12925
+ };
12926
+ font_url: string;
12927
+ input_labels: {
12928
+ bold: boolean;
12929
+ size: number;
12930
+ };
12931
+ links: {
12932
+ bold: boolean;
12933
+ size: number;
12934
+ };
12935
+ links_style: "normal" | "underlined";
12936
+ reference_text_size: number;
12937
+ subtitle: {
12938
+ bold: boolean;
12939
+ size: number;
12940
+ };
12941
+ title: {
12942
+ bold: boolean;
12943
+ size: number;
12944
+ };
12945
+ } | undefined;
12946
+ page_background?: {
12947
+ background_color: string;
12948
+ background_image_url: string;
12949
+ page_layout: "center" | "left" | "right";
12950
+ logo_placement?: "none" | "widget" | "chip" | undefined;
12951
+ } | undefined;
12952
+ widget?: {
12953
+ header_text_alignment: "center" | "left" | "right";
12954
+ logo_height: number;
12955
+ logo_position: "none" | "center" | "left" | "right";
12956
+ logo_url: string;
12957
+ social_buttons_layout: "bottom" | "top";
12958
+ } | undefined;
12959
+ themeId?: string | undefined;
12960
+ } | undefined;
12961
+ };
12962
+ };
12963
+ output: Response;
12964
+ outputFormat: "json";
12965
+ status: import("hono/utils/http-status").StatusCode;
12966
+ };
12967
+ };
12686
12968
  }, "/branding"> & import("hono/types").MergeSchemaPath<{
12687
12969
  "/:triggerId/bindings": {
12688
12970
  $get: {