authhero 9.39.0 → 9.40.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 (77) hide show
  1. package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
  2. package/dist/assets/u/widget/index.esm.js +1 -1
  3. package/dist/assets/u/widget/p-603aa8fa.entry.js +1 -0
  4. package/dist/assets/u/widget/p-d0eb5acc.entry.js +1 -0
  5. package/dist/authhero.cjs +172 -167
  6. package/dist/authhero.d.ts +533 -441
  7. package/dist/authhero.mjs +13325 -12051
  8. package/dist/{mfa-Dh6nNiRX.js → mfa-BlaRHQgI.js} +2 -2
  9. package/dist/{mfa-DMThiuUR.mjs → mfa-Ddp9JT1l.mjs} +38 -38
  10. package/dist/{mfa-attempts-O0x4jJzl.mjs → mfa-attempts-YsmteBp0.mjs} +6705 -6193
  11. package/dist/mfa-attempts-bPJnyu2c.js +385 -0
  12. package/dist/{passkey-enrollment-CSeOQWv1.js → passkey-enrollment-CLg7RteL.js} +1 -1
  13. package/dist/tsconfig.types.tsbuildinfo +1 -1
  14. package/dist/types/authentication-flows/common.d.ts +4 -1
  15. package/dist/types/generated/locale-types.d.ts +39 -0
  16. package/dist/types/helpers/client.d.ts +1 -0
  17. package/dist/types/helpers/code-recipient.d.ts +37 -0
  18. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  19. package/dist/types/hooks/helpers/action-users.d.ts +56 -0
  20. package/dist/types/hooks/helpers/post-login-account-linking.d.ts +18 -4
  21. package/dist/types/hooks/lifecycle-codehooks.d.ts +2 -2
  22. package/dist/types/hooks/pre-screen.d.ts +114 -0
  23. package/dist/types/index.d.ts +461 -415
  24. package/dist/types/routes/auth-api/device.d.ts +8 -8
  25. package/dist/types/routes/auth-api/index.d.ts +12 -12
  26. package/dist/types/routes/auth-api/passwordless.d.ts +6 -6
  27. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  28. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  29. package/dist/types/routes/management-api/action-triggers.d.ts +2 -2
  30. package/dist/types/routes/management-api/actions.d.ts +13 -13
  31. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  32. package/dist/types/routes/management-api/branding-uploads.d.ts +4 -4
  33. package/dist/types/routes/management-api/branding.d.ts +21 -21
  34. package/dist/types/routes/management-api/clients.d.ts +12 -10
  35. package/dist/types/routes/management-api/connections.d.ts +14 -8
  36. package/dist/types/routes/management-api/emails.d.ts +6 -6
  37. package/dist/types/routes/management-api/forms.d.ts +24 -0
  38. package/dist/types/routes/management-api/guardian.d.ts +1 -1
  39. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  40. package/dist/types/routes/management-api/hooks.d.ts +42 -42
  41. package/dist/types/routes/management-api/index.d.ts +430 -398
  42. package/dist/types/routes/management-api/jobs.d.ts +2 -2
  43. package/dist/types/routes/management-api/keys.d.ts +12 -12
  44. package/dist/types/routes/management-api/log-streams.d.ts +12 -12
  45. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  46. package/dist/types/routes/management-api/organizations.d.ts +6 -6
  47. package/dist/types/routes/management-api/prompts.d.ts +8 -8
  48. package/dist/types/routes/management-api/resource-servers.d.ts +8 -8
  49. package/dist/types/routes/management-api/rollouts.d.ts +6 -6
  50. package/dist/types/routes/management-api/self-service-profiles.d.ts +9 -9
  51. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  52. package/dist/types/routes/management-api/tenant-members.d.ts +8 -8
  53. package/dist/types/routes/management-api/tenant-operations.d.ts +4 -4
  54. package/dist/types/routes/management-api/tenants.d.ts +10 -10
  55. package/dist/types/routes/management-api/themes.d.ts +9 -9
  56. package/dist/types/routes/management-api/users.d.ts +21 -21
  57. package/dist/types/routes/universal-login/common.d.ts +10 -10
  58. package/dist/types/routes/universal-login/pre-screen-gates.d.ts +31 -0
  59. package/dist/types/routes/universal-login/screens/account-change-email.d.ts +52 -0
  60. package/dist/types/routes/universal-login/screens/account-helpers.d.ts +19 -24
  61. package/dist/types/routes/universal-login/screens/account.d.ts +6 -0
  62. package/dist/types/routes/universal-login/screens/index.d.ts +4 -2
  63. package/dist/types/routes/universal-login/screens/invalid-session.d.ts +10 -0
  64. package/dist/types/routes/universal-login/screens/login-otp.d.ts +2 -2
  65. package/dist/types/routes/universal-login/screens/signup.d.ts +0 -3
  66. package/dist/types/routes/universal-login/screens/social-connections.d.ts +31 -0
  67. package/dist/types/routes/universal-login/screens/types.d.ts +3 -0
  68. package/dist/types/routes/universal-login/u2-index.d.ts +19 -5
  69. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  70. package/dist/types/routes/universal-login/u2-widget-page.d.ts +1 -4
  71. package/dist/types/state-machines/login-session.d.ts +13 -1
  72. package/dist/types/types/Hooks.d.ts +62 -17
  73. package/dist/types/utils/embedded-browser.d.ts +4 -0
  74. package/package.json +6 -6
  75. package/dist/assets/u/widget/p-32247347.entry.js +0 -1
  76. package/dist/assets/u/widget/p-3f908508.entry.js +0 -1
  77. package/dist/mfa-attempts-BaKbuGvZ.js +0 -321
@@ -30,7 +30,7 @@ export declare const jobsRoutes: OpenAPIHono<{
30
30
  output: {
31
31
  id: string;
32
32
  type: string;
33
- status: "failed" | "pending" | "completed";
33
+ status: "pending" | "failed" | "completed";
34
34
  created_at?: string | undefined;
35
35
  connection_id?: string | undefined;
36
36
  external_id?: string | undefined;
@@ -63,7 +63,7 @@ export declare const jobsRoutes: OpenAPIHono<{
63
63
  output: {
64
64
  id: string;
65
65
  type: string;
66
- status: "failed" | "pending" | "completed";
66
+ status: "pending" | "failed" | "completed";
67
67
  created_at?: string | undefined;
68
68
  connection_id?: string | undefined;
69
69
  external_id?: string | undefined;
@@ -21,15 +21,15 @@ export declare const keyRoutes: OpenAPIHono<{
21
21
  cert: string;
22
22
  fingerprint: string;
23
23
  thumbprint: string;
24
- tenant_id?: string | undefined;
25
24
  connection?: string | undefined;
26
- current?: boolean | undefined;
25
+ tenant_id?: string | undefined;
27
26
  next?: boolean | undefined;
27
+ revoked_at?: string | undefined;
28
+ current?: boolean | undefined;
28
29
  previous?: boolean | undefined;
29
30
  current_since?: string | undefined;
30
31
  current_until?: string | undefined;
31
32
  revoked?: boolean | undefined;
32
- revoked_at?: string | undefined;
33
33
  expires_at?: string | undefined;
34
34
  expired?: boolean | undefined;
35
35
  inherited?: boolean | undefined;
@@ -60,15 +60,15 @@ export declare const keyRoutes: OpenAPIHono<{
60
60
  cert: string;
61
61
  fingerprint: string;
62
62
  thumbprint: string;
63
- tenant_id?: string | undefined;
64
63
  connection?: string | undefined;
65
- current?: boolean | undefined;
64
+ tenant_id?: string | undefined;
66
65
  next?: boolean | undefined;
66
+ revoked_at?: string | undefined;
67
+ current?: boolean | undefined;
67
68
  previous?: boolean | undefined;
68
69
  current_since?: string | undefined;
69
70
  current_until?: string | undefined;
70
71
  revoked?: boolean | undefined;
71
- revoked_at?: string | undefined;
72
72
  expires_at?: string | undefined;
73
73
  expired?: boolean | undefined;
74
74
  inherited?: boolean | undefined;
@@ -98,15 +98,15 @@ export declare const keyRoutes: OpenAPIHono<{
98
98
  cert: string;
99
99
  fingerprint: string;
100
100
  thumbprint: string;
101
- tenant_id?: string | undefined;
102
101
  connection?: string | undefined;
103
- current?: boolean | undefined;
102
+ tenant_id?: string | undefined;
104
103
  next?: boolean | undefined;
104
+ revoked_at?: string | undefined;
105
+ current?: boolean | undefined;
105
106
  previous?: boolean | undefined;
106
107
  current_since?: string | undefined;
107
108
  current_until?: string | undefined;
108
109
  revoked?: boolean | undefined;
109
- revoked_at?: string | undefined;
110
110
  expires_at?: string | undefined;
111
111
  expired?: boolean | undefined;
112
112
  inherited?: boolean | undefined;
@@ -138,15 +138,15 @@ export declare const keyRoutes: OpenAPIHono<{
138
138
  cert: string;
139
139
  fingerprint: string;
140
140
  thumbprint: string;
141
- tenant_id?: string | undefined;
142
141
  connection?: string | undefined;
143
- current?: boolean | undefined;
142
+ tenant_id?: string | undefined;
144
143
  next?: boolean | undefined;
144
+ revoked_at?: string | undefined;
145
+ current?: boolean | undefined;
145
146
  previous?: boolean | undefined;
146
147
  current_since?: string | undefined;
147
148
  current_until?: string | undefined;
148
149
  revoked?: boolean | undefined;
149
- revoked_at?: string | undefined;
150
150
  expires_at?: string | undefined;
151
151
  expired?: boolean | undefined;
152
152
  inherited?: boolean | undefined;
@@ -13,12 +13,12 @@ export declare const logStreamsRoutes: OpenAPIHono<{
13
13
  };
14
14
  output: {
15
15
  name: string;
16
- type: "http" | "firehose" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
16
+ type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo" | "firehose";
17
17
  sink: {
18
18
  [x: string]: import("hono/utils/types").JSONValue;
19
19
  };
20
20
  id: string;
21
- status: "active" | "paused" | "suspended";
21
+ status: "active" | "suspended" | "paused";
22
22
  filters?: {
23
23
  type: string;
24
24
  name: string;
@@ -45,12 +45,12 @@ export declare const logStreamsRoutes: OpenAPIHono<{
45
45
  };
46
46
  output: {
47
47
  name: string;
48
- type: "http" | "firehose" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
48
+ type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo" | "firehose";
49
49
  sink: {
50
50
  [x: string]: import("hono/utils/types").JSONValue;
51
51
  };
52
52
  id: string;
53
- status: "active" | "paused" | "suspended";
53
+ status: "active" | "suspended" | "paused";
54
54
  filters?: {
55
55
  type: string;
56
56
  name: string;
@@ -73,9 +73,9 @@ export declare const logStreamsRoutes: OpenAPIHono<{
73
73
  } & {
74
74
  json: {
75
75
  name: string;
76
- type: "http" | "firehose" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
76
+ type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo" | "firehose";
77
77
  sink: Record<string, unknown>;
78
- status?: "active" | "paused" | "suspended" | undefined;
78
+ status?: "active" | "suspended" | "paused" | undefined;
79
79
  filters?: {
80
80
  type: string;
81
81
  name: string;
@@ -85,12 +85,12 @@ export declare const logStreamsRoutes: OpenAPIHono<{
85
85
  };
86
86
  output: {
87
87
  name: string;
88
- type: "http" | "firehose" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
88
+ type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo" | "firehose";
89
89
  sink: {
90
90
  [x: string]: import("hono/utils/types").JSONValue;
91
91
  };
92
92
  id: string;
93
- status: "active" | "paused" | "suspended";
93
+ status: "active" | "suspended" | "paused";
94
94
  filters?: {
95
95
  type: string;
96
96
  name: string;
@@ -117,7 +117,7 @@ export declare const logStreamsRoutes: OpenAPIHono<{
117
117
  } & {
118
118
  json: {
119
119
  name?: string | undefined;
120
- type?: "http" | "firehose" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo" | undefined;
120
+ type?: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo" | "firehose" | undefined;
121
121
  sink?: Record<string, unknown> | undefined;
122
122
  filters?: {
123
123
  type: string;
@@ -125,19 +125,19 @@ export declare const logStreamsRoutes: OpenAPIHono<{
125
125
  }[] | undefined;
126
126
  isPriority?: boolean | undefined;
127
127
  id?: string | undefined;
128
- status?: "active" | "paused" | "suspended" | undefined;
128
+ status?: "active" | "suspended" | "paused" | undefined;
129
129
  created_at?: string | undefined;
130
130
  updated_at?: string | undefined;
131
131
  };
132
132
  };
133
133
  output: {
134
134
  name: string;
135
- type: "http" | "firehose" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
135
+ type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo" | "firehose";
136
136
  sink: {
137
137
  [x: string]: import("hono/utils/types").JSONValue;
138
138
  };
139
139
  id: string;
140
- status: "active" | "paused" | "suspended";
140
+ status: "active" | "suspended" | "paused";
141
141
  filters?: {
142
142
  type: string;
143
143
  name: string;
@@ -15,7 +15,7 @@ export declare const migrationSourcesRoutes: OpenAPIHono<{
15
15
  created_at: string;
16
16
  updated_at: string;
17
17
  name: string;
18
- provider: "auth0" | "oidc" | "okta" | "cognito";
18
+ provider: "auth0" | "cognito" | "okta" | "oidc";
19
19
  connection: string;
20
20
  enabled: boolean;
21
21
  credentials: {
@@ -47,7 +47,7 @@ export declare const migrationSourcesRoutes: OpenAPIHono<{
47
47
  created_at: string;
48
48
  updated_at: string;
49
49
  name: string;
50
- provider: "auth0" | "oidc" | "okta" | "cognito";
50
+ provider: "auth0" | "cognito" | "okta" | "oidc";
51
51
  connection: string;
52
52
  enabled: boolean;
53
53
  credentials: {
@@ -73,7 +73,7 @@ export declare const migrationSourcesRoutes: OpenAPIHono<{
73
73
  } & {
74
74
  json: {
75
75
  name: string;
76
- provider: "auth0" | "oidc" | "okta" | "cognito";
76
+ provider: "auth0" | "cognito" | "okta" | "oidc";
77
77
  connection: string;
78
78
  credentials: {
79
79
  domain: string;
@@ -90,7 +90,7 @@ export declare const migrationSourcesRoutes: OpenAPIHono<{
90
90
  created_at: string;
91
91
  updated_at: string;
92
92
  name: string;
93
- provider: "auth0" | "oidc" | "okta" | "cognito";
93
+ provider: "auth0" | "cognito" | "okta" | "oidc";
94
94
  connection: string;
95
95
  enabled: boolean;
96
96
  credentials: {
@@ -121,7 +121,7 @@ export declare const migrationSourcesRoutes: OpenAPIHono<{
121
121
  json: {
122
122
  id?: string | undefined;
123
123
  name?: string | undefined;
124
- provider?: "auth0" | "oidc" | "okta" | "cognito" | undefined;
124
+ provider?: "auth0" | "cognito" | "okta" | "oidc" | undefined;
125
125
  connection?: string | undefined;
126
126
  enabled?: boolean | undefined;
127
127
  credentials?: {
@@ -137,7 +137,7 @@ export declare const migrationSourcesRoutes: OpenAPIHono<{
137
137
  created_at: string;
138
138
  updated_at: string;
139
139
  name: string;
140
- provider: "auth0" | "oidc" | "okta" | "cognito";
140
+ provider: "auth0" | "cognito" | "okta" | "oidc";
141
141
  connection: string;
142
142
  enabled: boolean;
143
143
  credentials: {
@@ -771,19 +771,19 @@ export declare const organizationRoutes: OpenAPIHono<{
771
771
  } & {
772
772
  json: {
773
773
  client_id: string;
774
- invitee: {
775
- email?: string | undefined;
776
- };
777
774
  inviter: {
778
775
  name?: string | undefined;
779
776
  };
780
- id?: string | undefined;
777
+ invitee: {
778
+ email?: string | undefined;
779
+ };
781
780
  app_metadata?: Record<string, any> | undefined;
782
781
  user_metadata?: Record<string, any> | undefined;
783
- connection_id?: string | undefined;
782
+ id?: string | undefined;
784
783
  roles?: string[] | undefined;
785
- send_invitation_email?: boolean | undefined;
784
+ connection_id?: string | undefined;
786
785
  ttl_sec?: number | undefined;
786
+ send_invitation_email?: boolean | undefined;
787
787
  };
788
788
  };
789
789
  output: {
@@ -18,7 +18,7 @@ export declare const promptsRoutes: OpenAPIHono<{
18
18
  show_last_used_connection: boolean;
19
19
  webauthn_platform_first_factor: boolean;
20
20
  scope?: "local" | "shared" | "platform" | undefined;
21
- override?: "secrets" | "none" | "fields" | undefined;
21
+ override?: "none" | "secrets" | "fields" | undefined;
22
22
  enforce?: boolean | undefined;
23
23
  };
24
24
  outputFormat: "json";
@@ -40,7 +40,7 @@ export declare const promptsRoutes: OpenAPIHono<{
40
40
  show_last_used_connection?: boolean | undefined;
41
41
  webauthn_platform_first_factor?: boolean | undefined;
42
42
  scope?: "local" | "shared" | "platform" | undefined;
43
- override?: "secrets" | "none" | "fields" | undefined;
43
+ override?: "none" | "secrets" | "fields" | undefined;
44
44
  enforce?: boolean | undefined;
45
45
  };
46
46
  };
@@ -58,7 +58,7 @@ export declare const promptsRoutes: OpenAPIHono<{
58
58
  };
59
59
  };
60
60
  output: {
61
- prompt: "status" | "mfa" | "organizations" | "signup" | "mfa-phone" | "common" | "reset-password" | "invitation" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "signup-id" | "signup-password" | "captcha" | "custom-form";
61
+ prompt: "status" | "mfa" | "login" | "organizations" | "common" | "signup" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "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";
62
62
  language: string;
63
63
  }[];
64
64
  outputFormat: "json";
@@ -96,7 +96,7 @@ export declare const promptsRoutes: OpenAPIHono<{
96
96
  $get: {
97
97
  input: {
98
98
  param: {
99
- prompt: "status" | "mfa" | "organizations" | "signup" | "mfa-phone" | "common" | "reset-password" | "invitation" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "signup-id" | "signup-password" | "captcha" | "custom-form";
99
+ prompt: "status" | "mfa" | "login" | "organizations" | "common" | "signup" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "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";
100
100
  language: string;
101
101
  };
102
102
  } & {
@@ -118,7 +118,7 @@ export declare const promptsRoutes: OpenAPIHono<{
118
118
  $put: {
119
119
  input: {
120
120
  param: {
121
- prompt: "status" | "mfa" | "organizations" | "signup" | "mfa-phone" | "common" | "reset-password" | "invitation" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "signup-id" | "signup-password" | "captcha" | "custom-form";
121
+ prompt: "status" | "mfa" | "login" | "organizations" | "common" | "signup" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "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";
122
122
  language: string;
123
123
  };
124
124
  } & {
@@ -142,7 +142,7 @@ export declare const promptsRoutes: OpenAPIHono<{
142
142
  $delete: {
143
143
  input: {
144
144
  param: {
145
- prompt: "status" | "mfa" | "organizations" | "signup" | "mfa-phone" | "common" | "reset-password" | "invitation" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "signup-id" | "signup-password" | "captcha" | "custom-form";
145
+ prompt: "status" | "mfa" | "login" | "organizations" | "common" | "signup" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "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";
146
146
  language: string;
147
147
  };
148
148
  } & {
@@ -160,7 +160,7 @@ export declare const promptsRoutes: OpenAPIHono<{
160
160
  $get: {
161
161
  input: {
162
162
  param: {
163
- prompt: "signup" | "mfa-phone" | "reset-password" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-otp" | "mfa-login-options" | "signup-id" | "signup-password" | "login-passwordless-sms-otp" | "login-passwordless-email-code";
163
+ prompt: "login" | "signup" | "login-id" | "login-password" | "login-passwordless" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "reset-password" | "signup-id" | "signup-password" | "login-passwordless-sms-otp" | "login-passwordless-email-code";
164
164
  };
165
165
  } & {
166
166
  header: {
@@ -186,7 +186,7 @@ export declare const promptsRoutes: OpenAPIHono<{
186
186
  $put: {
187
187
  input: {
188
188
  param: {
189
- prompt: "signup" | "mfa-phone" | "reset-password" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-otp" | "mfa-login-options" | "signup-id" | "signup-password" | "login-passwordless-sms-otp" | "login-passwordless-email-code";
189
+ prompt: "login" | "signup" | "login-id" | "login-password" | "login-passwordless" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "reset-password" | "signup-id" | "signup-password" | "login-passwordless-sms-otp" | "login-passwordless-email-code";
190
190
  };
191
191
  } & {
192
192
  header: {
@@ -32,7 +32,7 @@ export declare const resourceServerRoutes: OpenAPIHono<{
32
32
  [x: string]: any;
33
33
  } | undefined;
34
34
  scope?: "local" | "shared" | "platform" | undefined;
35
- override?: "secrets" | "none" | "fields" | undefined;
35
+ override?: "none" | "secrets" | "fields" | undefined;
36
36
  enforce?: boolean | undefined;
37
37
  id?: string | undefined;
38
38
  scopes?: {
@@ -71,7 +71,7 @@ export declare const resourceServerRoutes: OpenAPIHono<{
71
71
  [x: string]: any;
72
72
  } | undefined;
73
73
  scope?: "local" | "shared" | "platform" | undefined;
74
- override?: "secrets" | "none" | "fields" | undefined;
74
+ override?: "none" | "secrets" | "fields" | undefined;
75
75
  enforce?: boolean | undefined;
76
76
  id?: string | undefined;
77
77
  scopes?: {
@@ -110,7 +110,7 @@ export declare const resourceServerRoutes: OpenAPIHono<{
110
110
  [x: string]: any;
111
111
  } | undefined;
112
112
  scope?: "local" | "shared" | "platform" | undefined;
113
- override?: "secrets" | "none" | "fields" | undefined;
113
+ override?: "none" | "secrets" | "fields" | undefined;
114
114
  enforce?: boolean | undefined;
115
115
  id?: string | undefined;
116
116
  scopes?: {
@@ -164,7 +164,7 @@ export declare const resourceServerRoutes: OpenAPIHono<{
164
164
  [x: string]: any;
165
165
  } | undefined;
166
166
  scope?: "local" | "shared" | "platform" | undefined;
167
- override?: "secrets" | "none" | "fields" | undefined;
167
+ override?: "none" | "secrets" | "fields" | undefined;
168
168
  enforce?: boolean | undefined;
169
169
  id?: string | undefined;
170
170
  scopes?: {
@@ -240,7 +240,7 @@ export declare const resourceServerRoutes: OpenAPIHono<{
240
240
  json: {
241
241
  metadata?: Record<string, any> | undefined;
242
242
  scope?: "local" | "shared" | "platform" | undefined;
243
- override?: "secrets" | "none" | "fields" | undefined;
243
+ override?: "none" | "secrets" | "fields" | undefined;
244
244
  enforce?: boolean | undefined;
245
245
  id?: string | undefined;
246
246
  name?: string | undefined;
@@ -279,7 +279,7 @@ export declare const resourceServerRoutes: OpenAPIHono<{
279
279
  [x: string]: any;
280
280
  } | undefined;
281
281
  scope?: "local" | "shared" | "platform" | undefined;
282
- override?: "secrets" | "none" | "fields" | undefined;
282
+ override?: "none" | "secrets" | "fields" | undefined;
283
283
  enforce?: boolean | undefined;
284
284
  id?: string | undefined;
285
285
  scopes?: {
@@ -323,7 +323,7 @@ export declare const resourceServerRoutes: OpenAPIHono<{
323
323
  identifier: string;
324
324
  metadata?: Record<string, any> | undefined;
325
325
  scope?: "local" | "shared" | "platform" | undefined;
326
- override?: "secrets" | "none" | "fields" | undefined;
326
+ override?: "none" | "secrets" | "fields" | undefined;
327
327
  enforce?: boolean | undefined;
328
328
  id?: string | undefined;
329
329
  scopes?: {
@@ -360,7 +360,7 @@ export declare const resourceServerRoutes: OpenAPIHono<{
360
360
  [x: string]: any;
361
361
  } | undefined;
362
362
  scope?: "local" | "shared" | "platform" | undefined;
363
- override?: "secrets" | "none" | "fields" | undefined;
363
+ override?: "none" | "secrets" | "fields" | undefined;
364
364
  enforce?: boolean | undefined;
365
365
  id?: string | undefined;
366
366
  scopes?: {
@@ -11,7 +11,7 @@ export declare const rolloutRoutes: OpenAPIHono<{
11
11
  page?: unknown;
12
12
  per_page?: unknown;
13
13
  kind?: "upgrade" | "backup" | "reseed" | "config-sync" | undefined;
14
- status?: "failed" | "pending" | "paused" | "canary" | "rolling" | "done" | undefined;
14
+ status?: "pending" | "failed" | "paused" | "canary" | "rolling" | "done" | undefined;
15
15
  };
16
16
  } & {
17
17
  header: {
@@ -23,7 +23,7 @@ export declare const rolloutRoutes: OpenAPIHono<{
23
23
  kind: "upgrade" | "backup" | "reseed" | "config-sync";
24
24
  wave_size: number;
25
25
  id: string;
26
- status: "failed" | "pending" | "paused" | "canary" | "rolling" | "done";
26
+ status: "pending" | "failed" | "paused" | "canary" | "rolling" | "done";
27
27
  created_at: string;
28
28
  updated_at: string;
29
29
  target_worker_version?: string | null | undefined;
@@ -76,7 +76,7 @@ export declare const rolloutRoutes: OpenAPIHono<{
76
76
  kind: "upgrade" | "backup" | "reseed" | "config-sync";
77
77
  wave_size: number;
78
78
  id: string;
79
- status: "failed" | "pending" | "paused" | "canary" | "rolling" | "done";
79
+ status: "pending" | "failed" | "paused" | "canary" | "rolling" | "done";
80
80
  created_at: string;
81
81
  updated_at: string;
82
82
  summary: {
@@ -132,7 +132,7 @@ export declare const rolloutRoutes: OpenAPIHono<{
132
132
  kind: "upgrade" | "backup" | "reseed" | "config-sync";
133
133
  wave_size: number;
134
134
  id: string;
135
- status: "failed" | "pending" | "paused" | "canary" | "rolling" | "done";
135
+ status: "pending" | "failed" | "paused" | "canary" | "rolling" | "done";
136
136
  created_at: string;
137
137
  updated_at: string;
138
138
  target_worker_version?: string | null | undefined;
@@ -189,7 +189,7 @@ export declare const rolloutRoutes: OpenAPIHono<{
189
189
  kind: "upgrade" | "backup" | "reseed" | "config-sync";
190
190
  wave_size: number;
191
191
  id: string;
192
- status: "failed" | "pending" | "paused" | "canary" | "rolling" | "done";
192
+ status: "pending" | "failed" | "paused" | "canary" | "rolling" | "done";
193
193
  created_at: string;
194
194
  updated_at: string;
195
195
  target_worker_version?: string | null | undefined;
@@ -238,7 +238,7 @@ export declare const rolloutRoutes: OpenAPIHono<{
238
238
  kind: "upgrade" | "backup" | "reseed" | "config-sync";
239
239
  wave_size: number;
240
240
  id: string;
241
- status: "failed" | "pending" | "paused" | "canary" | "rolling" | "done";
241
+ status: "pending" | "failed" | "paused" | "canary" | "rolling" | "done";
242
242
  created_at: string;
243
243
  updated_at: string;
244
244
  target_worker_version?: string | null | undefined;
@@ -22,7 +22,7 @@ export declare const selfServiceProfilesRoutes: OpenAPIHono<{
22
22
  query: {
23
23
  page?: unknown;
24
24
  per_page?: unknown;
25
- include_totals?: "true" | "false" | undefined;
25
+ include_totals?: "false" | "true" | undefined;
26
26
  };
27
27
  } & {
28
28
  header: {
@@ -35,7 +35,7 @@ export declare const selfServiceProfilesRoutes: OpenAPIHono<{
35
35
  created_at: string;
36
36
  updated_at: string;
37
37
  description?: string | undefined;
38
- allowed_strategies?: ("waad" | "oidc" | "okta" | "samlp" | "adfs" | "google-apps" | "auth0-samlp" | "okta-samlp" | "keycloak-samlp" | "pingfederate")[] | undefined;
38
+ allowed_strategies?: ("okta" | "oidc" | "waad" | "samlp" | "adfs" | "google-apps" | "auth0-samlp" | "okta-samlp" | "keycloak-samlp" | "pingfederate")[] | undefined;
39
39
  user_attributes?: {
40
40
  name: string;
41
41
  description: string;
@@ -54,7 +54,7 @@ export declare const selfServiceProfilesRoutes: OpenAPIHono<{
54
54
  created_at: string;
55
55
  updated_at: string;
56
56
  description?: string | undefined;
57
- allowed_strategies?: ("waad" | "oidc" | "okta" | "samlp" | "adfs" | "google-apps" | "auth0-samlp" | "okta-samlp" | "keycloak-samlp" | "pingfederate")[] | undefined;
57
+ allowed_strategies?: ("okta" | "oidc" | "waad" | "samlp" | "adfs" | "google-apps" | "auth0-samlp" | "okta-samlp" | "keycloak-samlp" | "pingfederate")[] | undefined;
58
58
  user_attributes?: {
59
59
  name: string;
60
60
  description: string;
@@ -92,7 +92,7 @@ export declare const selfServiceProfilesRoutes: OpenAPIHono<{
92
92
  primary: string;
93
93
  } | undefined;
94
94
  } | undefined;
95
- allowed_strategies?: ("waad" | "oidc" | "okta" | "samlp" | "adfs" | "google-apps" | "auth0-samlp" | "okta-samlp" | "keycloak-samlp" | "pingfederate")[] | undefined;
95
+ allowed_strategies?: ("okta" | "oidc" | "waad" | "samlp" | "adfs" | "google-apps" | "auth0-samlp" | "okta-samlp" | "keycloak-samlp" | "pingfederate")[] | undefined;
96
96
  user_attributes?: {
97
97
  name: string;
98
98
  description: string;
@@ -107,7 +107,7 @@ export declare const selfServiceProfilesRoutes: OpenAPIHono<{
107
107
  created_at: string;
108
108
  updated_at: string;
109
109
  description?: string | undefined;
110
- allowed_strategies?: ("waad" | "oidc" | "okta" | "samlp" | "adfs" | "google-apps" | "auth0-samlp" | "okta-samlp" | "keycloak-samlp" | "pingfederate")[] | undefined;
110
+ allowed_strategies?: ("okta" | "oidc" | "waad" | "samlp" | "adfs" | "google-apps" | "auth0-samlp" | "okta-samlp" | "keycloak-samlp" | "pingfederate")[] | undefined;
111
111
  user_attributes?: {
112
112
  name: string;
113
113
  description: string;
@@ -142,7 +142,7 @@ export declare const selfServiceProfilesRoutes: OpenAPIHono<{
142
142
  created_at: string;
143
143
  updated_at: string;
144
144
  description?: string | undefined;
145
- allowed_strategies?: ("waad" | "oidc" | "okta" | "samlp" | "adfs" | "google-apps" | "auth0-samlp" | "okta-samlp" | "keycloak-samlp" | "pingfederate")[] | undefined;
145
+ allowed_strategies?: ("okta" | "oidc" | "waad" | "samlp" | "adfs" | "google-apps" | "auth0-samlp" | "okta-samlp" | "keycloak-samlp" | "pingfederate")[] | undefined;
146
146
  user_attributes?: {
147
147
  name: string;
148
148
  description: string;
@@ -180,7 +180,7 @@ export declare const selfServiceProfilesRoutes: OpenAPIHono<{
180
180
  primary: string;
181
181
  } | undefined;
182
182
  } | null | undefined;
183
- allowed_strategies?: ("waad" | "oidc" | "okta" | "samlp" | "adfs" | "google-apps" | "auth0-samlp" | "okta-samlp" | "keycloak-samlp" | "pingfederate")[] | undefined;
183
+ allowed_strategies?: ("okta" | "oidc" | "waad" | "samlp" | "adfs" | "google-apps" | "auth0-samlp" | "okta-samlp" | "keycloak-samlp" | "pingfederate")[] | undefined;
184
184
  user_attributes?: {
185
185
  name: string;
186
186
  description: string;
@@ -195,7 +195,7 @@ export declare const selfServiceProfilesRoutes: OpenAPIHono<{
195
195
  created_at: string;
196
196
  updated_at: string;
197
197
  description?: string | undefined;
198
- allowed_strategies?: ("waad" | "oidc" | "okta" | "samlp" | "adfs" | "google-apps" | "auth0-samlp" | "okta-samlp" | "keycloak-samlp" | "pingfederate")[] | undefined;
198
+ allowed_strategies?: ("okta" | "oidc" | "waad" | "samlp" | "adfs" | "google-apps" | "auth0-samlp" | "okta-samlp" | "keycloak-samlp" | "pingfederate")[] | undefined;
199
199
  user_attributes?: {
200
200
  name: string;
201
201
  description: string;
@@ -307,7 +307,7 @@ export declare const selfServiceProfilesRoutes: OpenAPIHono<{
307
307
  }[] | undefined;
308
308
  ttl_sec?: number | undefined;
309
309
  domain_aliases_config?: {
310
- domain_verification: "optional" | "required" | "none";
310
+ domain_verification: "optional" | "none" | "required";
311
311
  pending_domains?: unknown;
312
312
  } | undefined;
313
313
  provisioning_config?: unknown;
@@ -8,8 +8,8 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
8
8
  $get: {
9
9
  input: {
10
10
  query: {
11
- include_password_hashes?: "true" | "false" | undefined;
12
- gzip?: "true" | "false" | undefined;
11
+ include_password_hashes?: "false" | "true" | undefined;
12
+ gzip?: "false" | "true" | undefined;
13
13
  };
14
14
  } & {
15
15
  header: {
@@ -22,8 +22,8 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
22
22
  } | {
23
23
  input: {
24
24
  query: {
25
- include_password_hashes?: "true" | "false" | undefined;
26
- gzip?: "true" | "false" | undefined;
25
+ include_password_hashes?: "false" | "true" | undefined;
26
+ gzip?: "false" | "true" | undefined;
27
27
  };
28
28
  } & {
29
29
  header: {
@@ -42,7 +42,7 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
42
42
  $post: {
43
43
  input: {
44
44
  query: {
45
- include_password_hashes?: "true" | "false" | undefined;
45
+ include_password_hashes?: "false" | "true" | undefined;
46
46
  };
47
47
  } & {
48
48
  header: {