authhero 5.10.0 → 5.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/assets/u/js/client.js +33 -1
  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-FUW5zvoZ.js +2 -0
  5. package/dist/assets/u/widget/{p-e91b632f.entry.js → p-aa120307.entry.js} +1 -1
  6. package/dist/assets/u/widget/{p-f63fd386.entry.js → p-f0f9eca3.entry.js} +1 -1
  7. package/dist/authhero.cjs +229 -212
  8. package/dist/authhero.css +2 -1
  9. package/dist/authhero.d.ts +123 -86
  10. package/dist/authhero.mjs +80125 -82252
  11. package/dist/client.js +33 -1
  12. package/dist/passkey-enrollment-DKWsGt-K.js +1 -0
  13. package/dist/passkey-enrollment-Dw1ObR65.mjs +26 -0
  14. package/dist/stats.html +1 -1
  15. package/dist/tsconfig.types.tsbuildinfo +1 -1
  16. package/dist/types/authentication-flows/passwordless.d.ts +2 -2
  17. package/dist/types/client/client-bundle.d.ts +1 -1
  18. package/dist/types/email-services/mailgun.d.ts +1 -0
  19. package/dist/types/helpers/service-token.d.ts +21 -0
  20. package/dist/types/hooks/helpers/token-api.d.ts +7 -0
  21. package/dist/types/index.d.ts +122 -86
  22. package/dist/types/routes/auth-api/authorize.d.ts +14 -14
  23. package/dist/types/routes/auth-api/index.d.ts +30 -30
  24. package/dist/types/routes/auth-api/passwordless.d.ts +12 -12
  25. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  26. package/dist/types/routes/auth-api/token.d.ts +10 -10
  27. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  28. package/dist/types/routes/management-api/actions.d.ts +1 -1
  29. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  30. package/dist/types/routes/management-api/email-templates.d.ts +14 -14
  31. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  32. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  33. package/dist/types/routes/management-api/index.d.ts +72 -36
  34. package/dist/types/routes/management-api/logs.d.ts +3 -3
  35. package/dist/types/routes/management-api/organizations.d.ts +40 -4
  36. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  37. package/dist/types/routes/management-api/users.d.ts +2 -2
  38. package/dist/types/types/IdToken.d.ts +4 -4
  39. package/package.json +24 -24
  40. package/dist/assets/u/widget/p-BFP_5sHV.js +0 -2
  41. package/dist/passkey-enrollment-D0dl7raT.mjs +0 -42
  42. package/dist/passkey-enrollment-dbZd6Zqw.js +0 -1
@@ -71,17 +71,9 @@ export declare const authorizeRoutes: OpenAPIHono<{
71
71
  request_uri?: string | undefined;
72
72
  };
73
73
  };
74
- output: string | {
75
- access_token: string;
76
- token_type: string;
77
- expires_in: number;
78
- id_token?: string | undefined;
79
- scope?: string | undefined;
80
- state?: string | undefined;
81
- refresh_token?: string | undefined;
82
- };
83
- outputFormat: "json";
84
- status: 200;
74
+ output: {};
75
+ outputFormat: string;
76
+ status: 302;
85
77
  } | {
86
78
  input: {
87
79
  query: {
@@ -113,9 +105,17 @@ export declare const authorizeRoutes: OpenAPIHono<{
113
105
  request_uri?: string | undefined;
114
106
  };
115
107
  };
116
- output: {};
117
- outputFormat: string;
118
- status: 302;
108
+ output: string | {
109
+ access_token: string;
110
+ token_type: string;
111
+ expires_in: number;
112
+ id_token?: string | undefined;
113
+ scope?: string | undefined;
114
+ state?: string | undefined;
115
+ refresh_token?: string | undefined;
116
+ };
117
+ outputFormat: "json";
118
+ status: 200;
119
119
  } | {
120
120
  input: {
121
121
  query: {
@@ -288,7 +288,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
288
288
  scope?: string | undefined;
289
289
  grant_types?: string[] | undefined;
290
290
  response_types?: string[] | undefined;
291
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
291
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
292
292
  jwks_uri?: string | undefined;
293
293
  jwks?: Record<string, unknown> | undefined;
294
294
  software_id?: string | undefined;
@@ -377,7 +377,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
377
377
  scope?: string | undefined;
378
378
  grant_types?: string[] | undefined;
379
379
  response_types?: string[] | undefined;
380
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
380
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
381
381
  jwks_uri?: string | undefined;
382
382
  jwks?: Record<string, unknown> | undefined;
383
383
  software_id?: string | undefined;
@@ -434,7 +434,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
434
434
  client_id: string;
435
435
  redirect_url?: string | undefined;
436
436
  login_hint?: string | undefined;
437
- screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
437
+ screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
438
438
  };
439
439
  };
440
440
  output: {};
@@ -446,7 +446,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
446
446
  client_id: string;
447
447
  redirect_url?: string | undefined;
448
448
  login_hint?: string | undefined;
449
- screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
449
+ screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
450
450
  };
451
451
  };
452
452
  output: {
@@ -523,17 +523,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
523
523
  request_uri?: string | undefined;
524
524
  };
525
525
  };
526
- output: string | {
527
- access_token: string;
528
- token_type: string;
529
- expires_in: number;
530
- id_token?: string | undefined;
531
- scope?: string | undefined;
532
- state?: string | undefined;
533
- refresh_token?: string | undefined;
534
- };
535
- outputFormat: "json";
536
- status: 200;
526
+ output: {};
527
+ outputFormat: string;
528
+ status: 302;
537
529
  } | {
538
530
  input: {
539
531
  query: {
@@ -565,9 +557,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
565
557
  request_uri?: string | undefined;
566
558
  };
567
559
  };
568
- output: {};
569
- outputFormat: string;
570
- status: 302;
560
+ output: string | {
561
+ access_token: string;
562
+ token_type: string;
563
+ expires_in: number;
564
+ id_token?: string | undefined;
565
+ scope?: string | undefined;
566
+ state?: string | undefined;
567
+ refresh_token?: string | undefined;
568
+ };
569
+ outputFormat: "json";
570
+ status: 200;
571
571
  } | {
572
572
  input: {
573
573
  query: {
@@ -723,19 +723,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
723
723
  email: string;
724
724
  send: "code" | "link";
725
725
  authParams: {
726
+ scope?: string | undefined;
727
+ state?: string | undefined;
728
+ audience?: string | undefined;
726
729
  code_challenge?: string | undefined;
727
730
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
728
731
  redirect_uri?: string | undefined;
729
732
  nonce?: string | undefined;
730
- state?: string | undefined;
731
- act_as?: string | undefined;
732
733
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
733
734
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
734
- audience?: string | undefined;
735
+ username?: string | undefined;
736
+ act_as?: string | undefined;
735
737
  organization?: string | undefined;
736
- scope?: string | undefined;
737
738
  prompt?: string | undefined;
738
- username?: string | undefined;
739
739
  ui_locales?: string | undefined;
740
740
  max_age?: number | undefined;
741
741
  acr_values?: string | undefined;
@@ -759,19 +759,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
759
759
  phone_number: string;
760
760
  send: "code" | "link";
761
761
  authParams: {
762
+ scope?: string | undefined;
763
+ state?: string | undefined;
764
+ audience?: string | undefined;
762
765
  code_challenge?: string | undefined;
763
766
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
764
767
  redirect_uri?: string | undefined;
765
768
  nonce?: string | undefined;
766
- state?: string | undefined;
767
- act_as?: string | undefined;
768
769
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
769
770
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
770
- audience?: string | undefined;
771
+ username?: string | undefined;
772
+ act_as?: string | undefined;
771
773
  organization?: string | undefined;
772
- scope?: string | undefined;
773
774
  prompt?: string | undefined;
774
- username?: string | undefined;
775
775
  ui_locales?: string | undefined;
776
776
  max_age?: number | undefined;
777
777
  acr_values?: string | undefined;
@@ -1532,7 +1532,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1532
1532
  };
1533
1533
  output: {};
1534
1534
  outputFormat: string;
1535
- status: 302;
1535
+ status: 200;
1536
1536
  } | {
1537
1537
  input: {
1538
1538
  query: {
@@ -1546,7 +1546,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1546
1546
  };
1547
1547
  output: {};
1548
1548
  outputFormat: string;
1549
- status: 200;
1549
+ status: 302;
1550
1550
  } | {
1551
1551
  input: {
1552
1552
  query: {
@@ -14,19 +14,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
+ scope?: string | undefined;
17
18
  state?: string | undefined;
18
19
  audience?: string | undefined;
20
+ code_challenge?: string | undefined;
21
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
22
+ redirect_uri?: string | undefined;
23
+ nonce?: string | undefined;
19
24
  response_type?: AuthorizationResponseType | undefined;
20
25
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
21
- scope?: string | undefined;
22
26
  username?: string | undefined;
23
- organization?: string | undefined;
24
- nonce?: string | undefined;
25
27
  act_as?: string | undefined;
26
- redirect_uri?: string | undefined;
28
+ organization?: string | undefined;
27
29
  prompt?: string | undefined;
28
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
29
- code_challenge?: string | undefined;
30
30
  ui_locales?: string | undefined;
31
31
  max_age?: number | undefined;
32
32
  acr_values?: string | undefined;
@@ -50,19 +50,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
50
50
  phone_number: string;
51
51
  send: "code" | "link";
52
52
  authParams: {
53
+ scope?: string | undefined;
53
54
  state?: string | undefined;
54
55
  audience?: string | undefined;
56
+ code_challenge?: string | undefined;
57
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
58
+ redirect_uri?: string | undefined;
59
+ nonce?: string | undefined;
55
60
  response_type?: AuthorizationResponseType | undefined;
56
61
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
57
- scope?: string | undefined;
58
62
  username?: string | undefined;
59
- organization?: string | undefined;
60
- nonce?: string | undefined;
61
63
  act_as?: string | undefined;
62
- redirect_uri?: string | undefined;
64
+ organization?: string | undefined;
63
65
  prompt?: string | undefined;
64
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
65
- code_challenge?: string | undefined;
66
66
  ui_locales?: string | undefined;
67
67
  max_age?: number | undefined;
68
68
  acr_values?: string | undefined;
@@ -9,14 +9,14 @@ export declare const revokeRoutes: OpenAPIHono<{
9
9
  input: {
10
10
  form: {
11
11
  token: string;
12
- token_type_hint?: "refresh_token" | "access_token" | undefined;
12
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
13
13
  client_id?: string | undefined;
14
14
  client_secret?: string | undefined;
15
15
  };
16
16
  } & {
17
17
  json: {
18
18
  token: string;
19
- token_type_hint?: "refresh_token" | "access_token" | undefined;
19
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
20
20
  client_id?: string | undefined;
21
21
  client_secret?: string | undefined;
22
22
  };
@@ -28,14 +28,14 @@ export declare const revokeRoutes: OpenAPIHono<{
28
28
  input: {
29
29
  form: {
30
30
  token: string;
31
- token_type_hint?: "refresh_token" | "access_token" | undefined;
31
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
32
32
  client_id?: string | undefined;
33
33
  client_secret?: string | undefined;
34
34
  };
35
35
  } & {
36
36
  json: {
37
37
  token: string;
38
- token_type_hint?: "refresh_token" | "access_token" | undefined;
38
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
39
39
  client_id?: string | undefined;
40
40
  client_secret?: string | undefined;
41
41
  };
@@ -50,14 +50,14 @@ export declare const revokeRoutes: OpenAPIHono<{
50
50
  input: {
51
51
  form: {
52
52
  token: string;
53
- token_type_hint?: "refresh_token" | "access_token" | undefined;
53
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
54
54
  client_id?: string | undefined;
55
55
  client_secret?: string | undefined;
56
56
  };
57
57
  } & {
58
58
  json: {
59
59
  token: string;
60
- token_type_hint?: "refresh_token" | "access_token" | undefined;
60
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
61
61
  client_id?: string | undefined;
62
62
  client_secret?: string | undefined;
63
63
  };
@@ -40,7 +40,7 @@ export declare const tokenRoutes: OpenAPIHono<{
40
40
  client_id: string;
41
41
  username: string;
42
42
  otp: string;
43
- realm: "sms" | "email";
43
+ realm: "email" | "sms";
44
44
  };
45
45
  } & {
46
46
  json: {
@@ -76,7 +76,7 @@ export declare const tokenRoutes: OpenAPIHono<{
76
76
  client_id: string;
77
77
  username: string;
78
78
  otp: string;
79
- realm: "sms" | "email";
79
+ realm: "email" | "sms";
80
80
  };
81
81
  };
82
82
  output: {};
@@ -117,7 +117,7 @@ export declare const tokenRoutes: OpenAPIHono<{
117
117
  client_id: string;
118
118
  username: string;
119
119
  otp: string;
120
- realm: "sms" | "email";
120
+ realm: "email" | "sms";
121
121
  };
122
122
  } & {
123
123
  json: {
@@ -153,7 +153,7 @@ export declare const tokenRoutes: OpenAPIHono<{
153
153
  client_id: string;
154
154
  username: string;
155
155
  otp: string;
156
- realm: "sms" | "email";
156
+ realm: "email" | "sms";
157
157
  };
158
158
  };
159
159
  output: {
@@ -202,7 +202,7 @@ export declare const tokenRoutes: OpenAPIHono<{
202
202
  client_id: string;
203
203
  username: string;
204
204
  otp: string;
205
- realm: "sms" | "email";
205
+ realm: "email" | "sms";
206
206
  };
207
207
  } & {
208
208
  json: {
@@ -238,7 +238,7 @@ export declare const tokenRoutes: OpenAPIHono<{
238
238
  client_id: string;
239
239
  username: string;
240
240
  otp: string;
241
- realm: "sms" | "email";
241
+ realm: "email" | "sms";
242
242
  };
243
243
  };
244
244
  output: {
@@ -282,7 +282,7 @@ export declare const tokenRoutes: OpenAPIHono<{
282
282
  client_id: string;
283
283
  username: string;
284
284
  otp: string;
285
- realm: "sms" | "email";
285
+ realm: "email" | "sms";
286
286
  };
287
287
  } & {
288
288
  json: {
@@ -318,7 +318,7 @@ export declare const tokenRoutes: OpenAPIHono<{
318
318
  client_id: string;
319
319
  username: string;
320
320
  otp: string;
321
- realm: "sms" | "email";
321
+ realm: "email" | "sms";
322
322
  };
323
323
  };
324
324
  output: {
@@ -362,7 +362,7 @@ export declare const tokenRoutes: OpenAPIHono<{
362
362
  client_id: string;
363
363
  username: string;
364
364
  otp: string;
365
- realm: "sms" | "email";
365
+ realm: "email" | "sms";
366
366
  };
367
367
  } & {
368
368
  json: {
@@ -398,7 +398,7 @@ export declare const tokenRoutes: OpenAPIHono<{
398
398
  client_id: string;
399
399
  username: string;
400
400
  otp: string;
401
- realm: "sms" | "email";
401
+ realm: "email" | "sms";
402
402
  };
403
403
  };
404
404
  output: {
@@ -78,7 +78,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
78
78
  logs: {
79
79
  action_name: string;
80
80
  lines: {
81
- level: "log" | "error" | "info" | "warn" | "debug";
81
+ level: "error" | "log" | "info" | "warn" | "debug";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -661,7 +661,7 @@ export declare const actionsRoutes: OpenAPIHono<{
661
661
  args: import("hono/utils/types").JSONValue[];
662
662
  }[];
663
663
  logs: {
664
- level: "log" | "error" | "info" | "warn" | "debug";
664
+ level: "error" | "log" | "info" | "warn" | "debug";
665
665
  message: string;
666
666
  }[];
667
667
  error?: string | undefined;
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
37
37
  };
38
38
  } & {
39
39
  json: {
40
- type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
40
+ type: "email" | "push" | "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;
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
12
12
  };
13
13
  } & {
14
14
  json: {
15
- 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";
15
+ 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";
16
16
  body: string;
17
17
  from: string;
18
18
  subject: string;
@@ -33,7 +33,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
33
33
  };
34
34
  } & {
35
35
  json: {
36
- 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";
36
+ 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";
37
37
  body: string;
38
38
  from: string;
39
39
  subject: string;
@@ -45,7 +45,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
45
45
  };
46
46
  };
47
47
  output: {
48
- 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";
48
+ 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";
49
49
  body: string;
50
50
  from: string;
51
51
  subject: string;
@@ -64,7 +64,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
64
64
  $get: {
65
65
  input: {
66
66
  param: {
67
- 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";
67
+ 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";
68
68
  };
69
69
  } & {
70
70
  header: {
@@ -77,7 +77,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
77
77
  } | {
78
78
  input: {
79
79
  param: {
80
- 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";
80
+ 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";
81
81
  };
82
82
  } & {
83
83
  header: {
@@ -85,7 +85,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
85
85
  };
86
86
  };
87
87
  output: {
88
- 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";
88
+ 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";
89
89
  body: string;
90
90
  from: string;
91
91
  subject: string;
@@ -104,7 +104,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
104
104
  $put: {
105
105
  input: {
106
106
  param: {
107
- 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";
107
+ 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";
108
108
  };
109
109
  } & {
110
110
  header: {
@@ -112,7 +112,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
112
112
  };
113
113
  } & {
114
114
  json: {
115
- 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";
115
+ 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";
116
116
  body: string;
117
117
  from: string;
118
118
  subject: string;
@@ -124,7 +124,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
124
124
  };
125
125
  };
126
126
  output: {
127
- 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";
127
+ 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";
128
128
  body: string;
129
129
  from: string;
130
130
  subject: string;
@@ -143,7 +143,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
143
143
  $patch: {
144
144
  input: {
145
145
  param: {
146
- 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";
146
+ 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";
147
147
  };
148
148
  } & {
149
149
  header: {
@@ -151,7 +151,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
151
151
  };
152
152
  } & {
153
153
  json: {
154
- 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;
154
+ 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;
155
155
  body?: string | undefined;
156
156
  from?: string | undefined;
157
157
  subject?: string | undefined;
@@ -168,7 +168,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
168
168
  } | {
169
169
  input: {
170
170
  param: {
171
- 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";
171
+ 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";
172
172
  };
173
173
  } & {
174
174
  header: {
@@ -176,7 +176,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
176
176
  };
177
177
  } & {
178
178
  json: {
179
- 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;
179
+ 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;
180
180
  body?: string | undefined;
181
181
  from?: string | undefined;
182
182
  subject?: string | undefined;
@@ -188,7 +188,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
188
188
  };
189
189
  };
190
190
  output: {
191
- 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";
191
+ 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";
192
192
  body: string;
193
193
  from: string;
194
194
  subject: string;
@@ -30,7 +30,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
30
30
  log_type: string;
31
31
  category: "user_action" | "admin_action" | "system" | "api";
32
32
  actor: {
33
- type: "client_credentials" | "user" | "system" | "admin" | "api_key";
33
+ type: "client_credentials" | "user" | "api_key" | "system" | "admin";
34
34
  id?: string | undefined;
35
35
  email?: string | undefined;
36
36
  org_id?: string | undefined;
@@ -12,7 +12,7 @@ export declare const guardianRoutes: OpenAPIHono<{
12
12
  };
13
13
  };
14
14
  output: {
15
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
15
+ name: "email" | "webauthn-roaming" | "webauthn-platform" | "sms" | "otp" | "duo" | "push-notification" | "recovery-code";
16
16
  enabled: boolean;
17
17
  trial_expired?: boolean | undefined;
18
18
  }[];
@@ -167,7 +167,7 @@ export declare const guardianRoutes: OpenAPIHono<{
167
167
  $get: {
168
168
  input: {
169
169
  param: {
170
- factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
170
+ factor_name: "email" | "webauthn-roaming" | "webauthn-platform" | "sms" | "otp" | "duo" | "push-notification" | "recovery-code";
171
171
  };
172
172
  } & {
173
173
  header: {
@@ -175,7 +175,7 @@ export declare const guardianRoutes: OpenAPIHono<{
175
175
  };
176
176
  };
177
177
  output: {
178
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
178
+ name: "email" | "webauthn-roaming" | "webauthn-platform" | "sms" | "otp" | "duo" | "push-notification" | "recovery-code";
179
179
  enabled: boolean;
180
180
  trial_expired?: boolean | undefined;
181
181
  };
@@ -188,7 +188,7 @@ export declare const guardianRoutes: OpenAPIHono<{
188
188
  $put: {
189
189
  input: {
190
190
  param: {
191
- factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
191
+ factor_name: "email" | "webauthn-roaming" | "webauthn-platform" | "sms" | "otp" | "duo" | "push-notification" | "recovery-code";
192
192
  };
193
193
  } & {
194
194
  header: {
@@ -200,7 +200,7 @@ export declare const guardianRoutes: OpenAPIHono<{
200
200
  };
201
201
  };
202
202
  output: {
203
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
203
+ name: "email" | "webauthn-roaming" | "webauthn-platform" | "sms" | "otp" | "duo" | "push-notification" | "recovery-code";
204
204
  enabled: boolean;
205
205
  trial_expired?: boolean | undefined;
206
206
  };