authhero 8.8.0 → 8.9.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 (46) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +109 -107
  3. package/dist/authhero.d.ts +270 -242
  4. package/dist/authhero.mjs +11199 -10618
  5. package/dist/stats.html +1 -1
  6. package/dist/tsconfig.types.tsbuildinfo +1 -1
  7. package/dist/types/authentication-flows/passwordless.d.ts +6 -6
  8. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  9. package/dist/types/helpers/mutable-response.d.ts +15 -3
  10. package/dist/types/helpers/tenant-export-import/export.d.ts +21 -0
  11. package/dist/types/helpers/tenant-export-import/import.d.ts +12 -0
  12. package/dist/types/helpers/tenant-export-import/index.d.ts +4 -0
  13. package/dist/types/helpers/tenant-export-import/manifest.d.ts +12 -0
  14. package/dist/types/helpers/tenant-export-import/row-access.d.ts +20 -0
  15. package/dist/types/helpers/tenant-export-import/types.d.ts +53 -0
  16. package/dist/types/index.d.ts +266 -223
  17. package/dist/types/routes/auth-api/index.d.ts +28 -28
  18. package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
  19. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  20. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  21. package/dist/types/routes/auth-api/token.d.ts +10 -10
  22. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  23. package/dist/types/routes/management-api/actions.d.ts +1 -1
  24. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  25. package/dist/types/routes/management-api/branding.d.ts +5 -5
  26. package/dist/types/routes/management-api/clients.d.ts +13 -13
  27. package/dist/types/routes/management-api/connections.d.ts +16 -16
  28. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  29. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  30. package/dist/types/routes/management-api/forms.d.ts +126 -126
  31. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  32. package/dist/types/routes/management-api/index.d.ts +231 -188
  33. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  34. package/dist/types/routes/management-api/organizations.d.ts +2 -2
  35. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  36. package/dist/types/routes/management-api/tenant-export-import.d.ts +49 -0
  37. package/dist/types/routes/management-api/tenants.d.ts +3 -3
  38. package/dist/types/routes/management-api/themes.d.ts +3 -3
  39. package/dist/types/routes/universal-login/common.d.ts +10 -10
  40. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  41. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  42. package/dist/types/routes/universal-login/index.d.ts +2 -2
  43. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  44. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  45. package/dist/types/types/IdToken.d.ts +4 -4
  46. package/package.json +5 -5
@@ -82,7 +82,7 @@ export declare const connectionRoutes: OpenAPIHono<{
82
82
  active?: boolean | undefined;
83
83
  } | undefined;
84
84
  signup?: {
85
- status?: "optional" | "required" | "disabled" | undefined;
85
+ status?: "optional" | "disabled" | "required" | undefined;
86
86
  verification?: {
87
87
  active?: boolean | undefined;
88
88
  } | undefined;
@@ -99,7 +99,7 @@ export declare const connectionRoutes: OpenAPIHono<{
99
99
  active?: boolean | undefined;
100
100
  } | undefined;
101
101
  signup?: {
102
- status?: "optional" | "required" | "disabled" | undefined;
102
+ status?: "optional" | "disabled" | "required" | undefined;
103
103
  } | undefined;
104
104
  validation?: {
105
105
  max_length?: number | undefined;
@@ -116,7 +116,7 @@ export declare const connectionRoutes: OpenAPIHono<{
116
116
  active?: boolean | undefined;
117
117
  } | undefined;
118
118
  signup?: {
119
- status?: "optional" | "required" | "disabled" | undefined;
119
+ status?: "optional" | "disabled" | "required" | undefined;
120
120
  } | undefined;
121
121
  } | undefined;
122
122
  } | undefined;
@@ -216,7 +216,7 @@ export declare const connectionRoutes: OpenAPIHono<{
216
216
  active?: boolean | undefined;
217
217
  } | undefined;
218
218
  signup?: {
219
- status?: "optional" | "required" | "disabled" | undefined;
219
+ status?: "optional" | "disabled" | "required" | undefined;
220
220
  verification?: {
221
221
  active?: boolean | undefined;
222
222
  } | undefined;
@@ -233,7 +233,7 @@ export declare const connectionRoutes: OpenAPIHono<{
233
233
  active?: boolean | undefined;
234
234
  } | undefined;
235
235
  signup?: {
236
- status?: "optional" | "required" | "disabled" | undefined;
236
+ status?: "optional" | "disabled" | "required" | undefined;
237
237
  } | undefined;
238
238
  validation?: {
239
239
  max_length?: number | undefined;
@@ -250,7 +250,7 @@ export declare const connectionRoutes: OpenAPIHono<{
250
250
  active?: boolean | undefined;
251
251
  } | undefined;
252
252
  signup?: {
253
- status?: "optional" | "required" | "disabled" | undefined;
253
+ status?: "optional" | "disabled" | "required" | undefined;
254
254
  } | undefined;
255
255
  } | undefined;
256
256
  } | undefined;
@@ -365,7 +365,7 @@ export declare const connectionRoutes: OpenAPIHono<{
365
365
  active?: boolean | undefined;
366
366
  } | undefined;
367
367
  signup?: {
368
- status?: "optional" | "required" | "disabled" | undefined;
368
+ status?: "optional" | "disabled" | "required" | undefined;
369
369
  verification?: {
370
370
  active?: boolean | undefined;
371
371
  } | undefined;
@@ -382,7 +382,7 @@ export declare const connectionRoutes: OpenAPIHono<{
382
382
  active?: boolean | undefined;
383
383
  } | undefined;
384
384
  signup?: {
385
- status?: "optional" | "required" | "disabled" | undefined;
385
+ status?: "optional" | "disabled" | "required" | undefined;
386
386
  } | undefined;
387
387
  validation?: {
388
388
  max_length?: number | undefined;
@@ -399,7 +399,7 @@ export declare const connectionRoutes: OpenAPIHono<{
399
399
  active?: boolean | undefined;
400
400
  } | undefined;
401
401
  signup?: {
402
- status?: "optional" | "required" | "disabled" | undefined;
402
+ status?: "optional" | "disabled" | "required" | undefined;
403
403
  } | undefined;
404
404
  } | undefined;
405
405
  } | undefined;
@@ -544,7 +544,7 @@ export declare const connectionRoutes: OpenAPIHono<{
544
544
  active?: boolean | undefined;
545
545
  } | undefined;
546
546
  signup?: {
547
- status?: "optional" | "required" | "disabled" | undefined;
547
+ status?: "optional" | "disabled" | "required" | undefined;
548
548
  verification?: {
549
549
  active?: boolean | undefined;
550
550
  } | undefined;
@@ -561,7 +561,7 @@ export declare const connectionRoutes: OpenAPIHono<{
561
561
  active?: boolean | undefined;
562
562
  } | undefined;
563
563
  signup?: {
564
- status?: "optional" | "required" | "disabled" | undefined;
564
+ status?: "optional" | "disabled" | "required" | undefined;
565
565
  } | undefined;
566
566
  validation?: {
567
567
  max_length?: number | undefined;
@@ -578,7 +578,7 @@ export declare const connectionRoutes: OpenAPIHono<{
578
578
  active?: boolean | undefined;
579
579
  } | undefined;
580
580
  signup?: {
581
- status?: "optional" | "required" | "disabled" | undefined;
581
+ status?: "optional" | "disabled" | "required" | undefined;
582
582
  } | undefined;
583
583
  } | undefined;
584
584
  } | undefined;
@@ -702,7 +702,7 @@ export declare const connectionRoutes: OpenAPIHono<{
702
702
  active?: boolean | undefined;
703
703
  } | undefined;
704
704
  signup?: {
705
- status?: "optional" | "required" | "disabled" | undefined;
705
+ status?: "optional" | "disabled" | "required" | undefined;
706
706
  verification?: {
707
707
  active?: boolean | undefined;
708
708
  } | undefined;
@@ -719,7 +719,7 @@ export declare const connectionRoutes: OpenAPIHono<{
719
719
  active?: boolean | undefined;
720
720
  } | undefined;
721
721
  signup?: {
722
- status?: "optional" | "required" | "disabled" | undefined;
722
+ status?: "optional" | "disabled" | "required" | undefined;
723
723
  } | undefined;
724
724
  validation?: {
725
725
  max_length?: number | undefined;
@@ -736,7 +736,7 @@ export declare const connectionRoutes: OpenAPIHono<{
736
736
  active?: boolean | undefined;
737
737
  } | undefined;
738
738
  signup?: {
739
- status?: "optional" | "required" | "disabled" | undefined;
739
+ status?: "optional" | "disabled" | "required" | undefined;
740
740
  } | undefined;
741
741
  } | undefined;
742
742
  } | undefined;
@@ -852,7 +852,7 @@ export declare const connectionRoutes: OpenAPIHono<{
852
852
  };
853
853
  } | {
854
854
  mode: "inline";
855
- status: "success" | "error";
855
+ status: "error" | "success";
856
856
  connection_id: string;
857
857
  connection_name: string;
858
858
  strategy: string;
@@ -28,7 +28,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
28
28
  type: "auth0_managed_certs" | "self_managed_certs";
29
29
  custom_domain_id: string;
30
30
  primary: boolean;
31
- status: "disabled" | "pending" | "ready" | "pending_verification";
31
+ status: "pending" | "ready" | "disabled" | "pending_verification";
32
32
  verification_method?: "txt" | undefined;
33
33
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
34
34
  domain_metadata?: {
@@ -69,7 +69,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
69
69
  type: "auth0_managed_certs" | "self_managed_certs";
70
70
  custom_domain_id: string;
71
71
  primary: boolean;
72
- status: "disabled" | "pending" | "ready" | "pending_verification";
72
+ status: "pending" | "ready" | "disabled" | "pending_verification";
73
73
  verification_method?: "txt" | undefined;
74
74
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
75
75
  domain_metadata?: {
@@ -133,7 +133,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
133
133
  type: "auth0_managed_certs" | "self_managed_certs";
134
134
  custom_domain_id: string;
135
135
  primary: boolean;
136
- status: "disabled" | "pending" | "ready" | "pending_verification";
136
+ status: "pending" | "ready" | "disabled" | "pending_verification";
137
137
  verification_method?: "txt" | undefined;
138
138
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
139
139
  domain_metadata?: {
@@ -180,7 +180,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
180
180
  type: "auth0_managed_certs" | "self_managed_certs";
181
181
  custom_domain_id: string;
182
182
  primary: boolean;
183
- status: "disabled" | "pending" | "ready" | "pending_verification";
183
+ status: "pending" | "ready" | "disabled" | "pending_verification";
184
184
  verification_method?: "txt" | undefined;
185
185
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
186
186
  domain_metadata?: {
@@ -226,7 +226,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
226
226
  type: "auth0_managed_certs" | "self_managed_certs";
227
227
  custom_domain_id: string;
228
228
  primary: boolean;
229
- status: "disabled" | "pending" | "ready" | "pending_verification";
229
+ status: "pending" | "ready" | "disabled" | "pending_verification";
230
230
  verification_method?: "txt" | undefined;
231
231
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
232
232
  domain_metadata?: {
@@ -267,7 +267,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
267
267
  type: "auth0_managed_certs" | "self_managed_certs";
268
268
  custom_domain_id: string;
269
269
  primary: boolean;
270
- status: "disabled" | "pending" | "ready" | "pending_verification";
270
+ status: "pending" | "ready" | "disabled" | "pending_verification";
271
271
  verification_method?: "txt" | undefined;
272
272
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
273
273
  domain_metadata?: {
@@ -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: "user" | "client_credentials" | "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;