authhero 9.25.0 → 9.27.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 (91) 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-210f06bf.entry.js → p-ce8560f6.entry.js} +1 -1
  4. package/dist/authhero.cjs +157 -157
  5. package/dist/authhero.d.ts +914 -264
  6. package/dist/authhero.mjs +27723 -25733
  7. package/dist/tsconfig.types.tsbuildinfo +1 -1
  8. package/dist/types/adapters/createEncryptedDataAdapter.d.ts +2 -1
  9. package/dist/types/adapters/index.d.ts +1 -1
  10. package/dist/types/authentication-flows/device-code.d.ts +11 -0
  11. package/dist/types/authentication-flows/passwordless.d.ts +9 -5
  12. package/dist/types/errors/management-api-error.d.ts +113 -0
  13. package/dist/types/generated/locale-types.d.ts +16 -0
  14. package/dist/types/helpers/client.d.ts +8 -0
  15. package/dist/types/helpers/codes-cleanup.d.ts +1 -1
  16. package/dist/types/helpers/control-plane-caller.d.ts +15 -0
  17. package/dist/types/helpers/device-flow.d.ts +25 -0
  18. package/dist/types/helpers/hook-events.d.ts +8 -4
  19. package/dist/types/helpers/hook-user-payload.d.ts +2 -0
  20. package/dist/types/helpers/logging.d.ts +2 -1
  21. package/dist/types/helpers/outbox-destinations/code-hooks.d.ts +8 -3
  22. package/dist/types/helpers/outbox-destinations/webhooks.d.ts +3 -0
  23. package/dist/types/helpers/platform-rows.d.ts +27 -0
  24. package/dist/types/helpers/request-data.d.ts +12 -0
  25. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  26. package/dist/types/helpers/scopes-permissions.d.ts +1 -1
  27. package/dist/types/helpers/synced-rows.d.ts +1 -0
  28. package/dist/types/hooks/lifecycle-codehooks.d.ts +16 -0
  29. package/dist/types/hooks/user-deletion.d.ts +9 -0
  30. package/dist/types/index.d.ts +540 -256
  31. package/dist/types/routes/auth-api/account.d.ts +2 -2
  32. package/dist/types/routes/auth-api/device.d.ts +139 -0
  33. package/dist/types/routes/auth-api/index.d.ts +238 -37
  34. package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
  35. package/dist/types/routes/auth-api/revoke.d.ts +8 -8
  36. package/dist/types/routes/auth-api/token.d.ts +82 -12
  37. package/dist/types/routes/auth-api/well-known.d.ts +3 -1
  38. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  39. package/dist/types/routes/management-api/action-triggers.d.ts +27 -2
  40. package/dist/types/routes/management-api/actions.d.ts +12 -12
  41. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  42. package/dist/types/routes/management-api/branding.d.ts +4 -4
  43. package/dist/types/routes/management-api/client-grants.d.ts +13 -0
  44. package/dist/types/routes/management-api/clients.d.ts +17 -4
  45. package/dist/types/routes/management-api/connections.d.ts +27 -14
  46. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  47. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  48. package/dist/types/routes/management-api/emails.d.ts +6 -6
  49. package/dist/types/routes/management-api/failed-events.d.ts +2 -2
  50. package/dist/types/routes/management-api/flows.d.ts +8 -8
  51. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  52. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  53. package/dist/types/routes/management-api/hooks.d.ts +42 -42
  54. package/dist/types/routes/management-api/index.d.ts +288 -211
  55. package/dist/types/routes/management-api/keys.d.ts +16 -16
  56. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  57. package/dist/types/routes/management-api/logs.d.ts +4 -4
  58. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  59. package/dist/types/routes/management-api/organizations.d.ts +5 -5
  60. package/dist/types/routes/management-api/prompts.d.ts +8 -8
  61. package/dist/types/routes/management-api/resource-servers.d.ts +21 -8
  62. package/dist/types/routes/management-api/roles.d.ts +1 -1
  63. package/dist/types/routes/management-api/rollouts.d.ts +261 -0
  64. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  65. package/dist/types/routes/management-api/tenant-members-requests.test.d.ts +1 -0
  66. package/dist/types/routes/management-api/tenant-members.d.ts +155 -1
  67. package/dist/types/routes/management-api/tenant-operations.d.ts +17 -10
  68. package/dist/types/routes/management-api/tenants.d.ts +39 -13
  69. package/dist/types/routes/management-api/token-exchange-profiles.d.ts +6 -6
  70. package/dist/types/routes/management-api/users.d.ts +20 -20
  71. package/dist/types/routes/proxy-control-plane/tenant-members.d.ts +11 -0
  72. package/dist/types/routes/scim/index.d.ts +1 -0
  73. package/dist/types/routes/universal-login/common.d.ts +26 -10
  74. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  75. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  76. package/dist/types/routes/universal-login/index.d.ts +2 -2
  77. package/dist/types/routes/universal-login/screens/device-flow.d.ts +4 -0
  78. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  79. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  80. package/dist/types/state-machines/login-session.d.ts +6 -1
  81. package/dist/types/tenant-members/request-notifier.d.ts +9 -0
  82. package/dist/types/tenant-members/request-notify.test.d.ts +1 -0
  83. package/dist/types/tenant-members/requests.d.ts +79 -0
  84. package/dist/types/tenant-members/requests.test.d.ts +1 -0
  85. package/dist/types/tenant-members/wire.d.ts +10 -0
  86. package/dist/types/types/AuthHeroConfig.d.ts +47 -1
  87. package/dist/types/types/Bindings.d.ts +2 -1
  88. package/dist/types/types/Variables.d.ts +8 -1
  89. package/dist/types/utils/field-encryption.d.ts +7 -0
  90. package/dist/types/utils/jwks.d.ts +2 -2
  91. package/package.json +6 -6
@@ -1,5 +1,6 @@
1
1
  import { OpenAPIHono } from "@hono/zod-openapi";
2
2
  import { Bindings, Variables } from "../../types";
3
+ import { TenantsDataAdapter } from "@authhero/adapter-interfaces";
3
4
  export declare const tenantRoutes: OpenAPIHono<{
4
5
  Bindings: Bindings;
5
6
  Variables: Variables;
@@ -17,6 +18,9 @@ export declare const tenantRoutes: OpenAPIHono<{
17
18
  friendly_name: string;
18
19
  id: string;
19
20
  parent_tenant_id?: string | null | undefined;
21
+ config_sync?: "inherit-on-read" | "synced" | "detached" | null | undefined;
22
+ config_sync_hash?: string | null | undefined;
23
+ config_synced_at?: string | null | undefined;
20
24
  audience?: string | undefined;
21
25
  picture_url?: string | undefined;
22
26
  support_email?: string | undefined;
@@ -124,7 +128,7 @@ export declare const tenantRoutes: OpenAPIHono<{
124
128
  pushed_authorization_requests_supported?: boolean | undefined;
125
129
  authorization_response_iss_parameter_supported?: boolean | undefined;
126
130
  deployment_type?: "shared" | "wfp" | undefined;
127
- provisioning_state?: "pending" | "ready" | "failed" | undefined;
131
+ provisioning_state?: "pending" | "failed" | "ready" | undefined;
128
132
  provisioning_error?: string | undefined;
129
133
  provisioning_state_changed_at?: string | undefined;
130
134
  bundle_configuration?: string | undefined;
@@ -197,6 +201,7 @@ export declare const tenantRoutes: OpenAPIHono<{
197
201
  } | undefined;
198
202
  } | undefined;
199
203
  is_control_plane?: boolean | undefined;
204
+ has_children?: boolean | undefined;
200
205
  };
201
206
  outputFormat: "json";
202
207
  status: 200;
@@ -212,13 +217,14 @@ export declare const tenantRoutes: OpenAPIHono<{
212
217
  } & {
213
218
  json: {
214
219
  id?: string | undefined;
215
- allowed_logout_urls?: string[] | undefined;
216
- oidc_logout?: {
217
- rp_logout_end_session_endpoint_discovery?: boolean | undefined;
218
- } | undefined;
219
- default_organization?: string | undefined;
220
- audience?: string | undefined;
220
+ mtls?: {
221
+ enable_endpoint_aliases?: boolean | undefined;
222
+ } | null | undefined;
221
223
  parent_tenant_id?: string | null | undefined;
224
+ config_sync?: "inherit-on-read" | "synced" | "detached" | null | undefined;
225
+ config_sync_hash?: string | null | undefined;
226
+ config_synced_at?: string | null | undefined;
227
+ audience?: string | undefined;
222
228
  friendly_name?: string | undefined;
223
229
  picture_url?: string | undefined;
224
230
  support_email?: string | undefined;
@@ -232,6 +238,7 @@ export declare const tenantRoutes: OpenAPIHono<{
232
238
  session_cookie?: {
233
239
  mode?: "persistent" | "non-persistent" | undefined;
234
240
  } | undefined;
241
+ allowed_logout_urls?: string[] | undefined;
235
242
  default_redirection_uri?: string | undefined;
236
243
  default_client_id?: string | undefined;
237
244
  enabled_locales?: string[] | undefined;
@@ -305,19 +312,20 @@ export declare const tenantRoutes: OpenAPIHono<{
305
312
  } | undefined;
306
313
  } | null | undefined;
307
314
  default_audience?: string | undefined;
315
+ default_organization?: string | undefined;
308
316
  sessions?: {
309
317
  oidc_logout_prompt_enabled?: boolean | undefined;
310
318
  } | undefined;
319
+ oidc_logout?: {
320
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
321
+ } | undefined;
311
322
  allow_organization_name_in_authentication_api?: boolean | undefined;
312
323
  customize_mfa_in_postlogin_action?: boolean | undefined;
313
324
  acr_values_supported?: string[] | undefined;
314
- mtls?: {
315
- enable_endpoint_aliases?: boolean | undefined;
316
- } | null | undefined;
317
325
  pushed_authorization_requests_supported?: boolean | undefined;
318
326
  authorization_response_iss_parameter_supported?: boolean | undefined;
319
327
  deployment_type?: "shared" | "wfp" | undefined;
320
- provisioning_state?: "pending" | "ready" | "failed" | undefined;
328
+ provisioning_state?: "pending" | "failed" | "ready" | undefined;
321
329
  provisioning_error?: string | undefined;
322
330
  provisioning_state_changed_at?: string | undefined;
323
331
  bundle_configuration?: string | undefined;
@@ -396,6 +404,9 @@ export declare const tenantRoutes: OpenAPIHono<{
396
404
  friendly_name: string;
397
405
  id: string;
398
406
  parent_tenant_id?: string | null | undefined;
407
+ config_sync?: "inherit-on-read" | "synced" | "detached" | null | undefined;
408
+ config_sync_hash?: string | null | undefined;
409
+ config_synced_at?: string | null | undefined;
399
410
  audience?: string | undefined;
400
411
  picture_url?: string | undefined;
401
412
  support_email?: string | undefined;
@@ -503,7 +514,7 @@ export declare const tenantRoutes: OpenAPIHono<{
503
514
  pushed_authorization_requests_supported?: boolean | undefined;
504
515
  authorization_response_iss_parameter_supported?: boolean | undefined;
505
516
  deployment_type?: "shared" | "wfp" | undefined;
506
- provisioning_state?: "pending" | "ready" | "failed" | undefined;
517
+ provisioning_state?: "pending" | "failed" | "ready" | undefined;
507
518
  provisioning_error?: string | undefined;
508
519
  provisioning_state_changed_at?: string | undefined;
509
520
  bundle_configuration?: string | undefined;
@@ -576,6 +587,7 @@ export declare const tenantRoutes: OpenAPIHono<{
576
587
  } | undefined;
577
588
  } | undefined;
578
589
  is_control_plane?: boolean | undefined;
590
+ has_children?: boolean | undefined;
579
591
  };
580
592
  outputFormat: "json";
581
593
  status: 200;
@@ -599,6 +611,9 @@ export declare const tenantRoutes: OpenAPIHono<{
599
611
  friendly_name: string;
600
612
  id: string;
601
613
  parent_tenant_id?: string | null | undefined;
614
+ config_sync?: "inherit-on-read" | "synced" | "detached" | null | undefined;
615
+ config_sync_hash?: string | null | undefined;
616
+ config_synced_at?: string | null | undefined;
602
617
  audience?: string | undefined;
603
618
  picture_url?: string | undefined;
604
619
  support_email?: string | undefined;
@@ -706,7 +721,7 @@ export declare const tenantRoutes: OpenAPIHono<{
706
721
  pushed_authorization_requests_supported?: boolean | undefined;
707
722
  authorization_response_iss_parameter_supported?: boolean | undefined;
708
723
  deployment_type?: "shared" | "wfp" | undefined;
709
- provisioning_state?: "pending" | "ready" | "failed" | undefined;
724
+ provisioning_state?: "pending" | "failed" | "ready" | undefined;
710
725
  provisioning_error?: string | undefined;
711
726
  provisioning_state_changed_at?: string | undefined;
712
727
  bundle_configuration?: string | undefined;
@@ -779,12 +794,23 @@ export declare const tenantRoutes: OpenAPIHono<{
779
794
  } | undefined;
780
795
  } | undefined;
781
796
  is_control_plane?: boolean | undefined;
797
+ has_children?: boolean | undefined;
782
798
  };
783
799
  outputFormat: "json";
784
800
  status: 200;
785
801
  };
786
802
  };
787
803
  }, "/">;
804
+ export declare function hasChildTenants(ctx: {
805
+ env: {
806
+ data: {
807
+ multiTenancyConfig?: {
808
+ controlPlaneTenantId?: string;
809
+ };
810
+ tenants: TenantsDataAdapter;
811
+ };
812
+ };
813
+ }, tenantId: string): Promise<boolean>;
788
814
  export declare function isControlPlaneTenant(ctx: {
789
815
  env: {
790
816
  data: {
@@ -40,7 +40,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
40
40
  jwks?: {
41
41
  keys: {
42
42
  kty: "EC" | "RSA" | "oct";
43
- alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
43
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
44
44
  kid?: string | undefined;
45
45
  use?: "sig" | "enc" | undefined;
46
46
  n?: string | undefined;
@@ -99,7 +99,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
99
99
  jwks?: {
100
100
  keys: {
101
101
  kty: "EC" | "RSA" | "oct";
102
- alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
102
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
103
103
  kid?: string | undefined;
104
104
  use?: "sig" | "enc" | undefined;
105
105
  n?: string | undefined;
@@ -147,7 +147,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
147
147
  jwks?: {
148
148
  keys: {
149
149
  kty: "EC" | "RSA" | "oct";
150
- alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
150
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
151
151
  kid?: string | undefined;
152
152
  use?: "sig" | "enc" | undefined;
153
153
  n?: string | undefined;
@@ -191,7 +191,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
191
191
  jwks?: {
192
192
  keys: {
193
193
  kty: "EC" | "RSA" | "oct";
194
- alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
194
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
195
195
  kid?: string | undefined;
196
196
  use?: "sig" | "enc" | undefined;
197
197
  n?: string | undefined;
@@ -241,7 +241,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
241
241
  jwks?: {
242
242
  keys: {
243
243
  kty: "EC" | "RSA" | "oct";
244
- alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
244
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
245
245
  kid?: string | undefined;
246
246
  use?: "sig" | "enc" | undefined;
247
247
  n?: string | undefined;
@@ -285,7 +285,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
285
285
  jwks?: {
286
286
  keys: {
287
287
  kty: "EC" | "RSA" | "oct";
288
- alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
288
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
289
289
  kid?: string | undefined;
290
290
  use?: "sig" | "enc" | undefined;
291
291
  n?: string | undefined;
@@ -873,20 +873,17 @@ export declare const userRoutes: OpenAPIHono<{
873
873
  scopes: string;
874
874
  }[];
875
875
  expires_at?: string | undefined;
876
+ revoked_at?: string | undefined;
877
+ idle_expires_at?: string | undefined;
876
878
  session_id?: string | undefined;
879
+ organization?: string | undefined;
877
880
  auth_connection?: string | undefined;
878
881
  auth_strategy?: {
879
882
  strategy: string;
880
883
  strategy_type: string;
881
884
  } | undefined;
882
- revoked_at?: string | undefined;
883
- organization?: string | undefined;
884
- idle_expires_at?: string | undefined;
885
885
  last_exchanged_at?: string | undefined;
886
886
  }[] | {
887
- start: number;
888
- limit: number;
889
- length: number;
890
887
  tokens: {
891
888
  user_id: string;
892
889
  id: string;
@@ -907,20 +904,22 @@ export declare const userRoutes: OpenAPIHono<{
907
904
  scopes: string;
908
905
  }[];
909
906
  expires_at?: string | undefined;
907
+ revoked_at?: string | undefined;
908
+ idle_expires_at?: string | undefined;
910
909
  session_id?: string | undefined;
910
+ organization?: string | undefined;
911
911
  auth_connection?: string | undefined;
912
912
  auth_strategy?: {
913
913
  strategy: string;
914
914
  strategy_type: string;
915
915
  } | undefined;
916
- revoked_at?: string | undefined;
917
- organization?: string | undefined;
918
- idle_expires_at?: string | undefined;
919
916
  last_exchanged_at?: string | undefined;
920
917
  }[];
921
- total?: number | undefined;
922
918
  next?: string | undefined;
923
919
  } | {
920
+ start: number;
921
+ limit: number;
922
+ length: number;
924
923
  tokens: {
925
924
  user_id: string;
926
925
  id: string;
@@ -941,17 +940,18 @@ export declare const userRoutes: OpenAPIHono<{
941
940
  scopes: string;
942
941
  }[];
943
942
  expires_at?: string | undefined;
943
+ revoked_at?: string | undefined;
944
+ idle_expires_at?: string | undefined;
944
945
  session_id?: string | undefined;
946
+ organization?: string | undefined;
945
947
  auth_connection?: string | undefined;
946
948
  auth_strategy?: {
947
949
  strategy: string;
948
950
  strategy_type: string;
949
951
  } | undefined;
950
- revoked_at?: string | undefined;
951
- organization?: string | undefined;
952
- idle_expires_at?: string | undefined;
953
952
  last_exchanged_at?: string | undefined;
954
953
  }[];
954
+ total?: number | undefined;
955
955
  next?: string | undefined;
956
956
  };
957
957
  outputFormat: "json";
@@ -1000,7 +1000,7 @@ export declare const userRoutes: OpenAPIHono<{
1000
1000
  };
1001
1001
  };
1002
1002
  output: {
1003
- 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" | "cfgdiff" | "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";
1003
+ type: "fn" | "i" | "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "depnote" | "cfgdiff" | "cfgdrift" | "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" | "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" | "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" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
1004
1004
  date: string;
1005
1005
  isMobile: boolean;
1006
1006
  log_id: string;
@@ -1035,8 +1035,11 @@ export declare const userRoutes: OpenAPIHono<{
1035
1035
  continent_code: string;
1036
1036
  } | undefined;
1037
1037
  }[] | {
1038
+ start: number;
1039
+ limit: number;
1040
+ length: number;
1038
1041
  logs: {
1039
- 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" | "cfgdiff" | "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";
1042
+ type: "fn" | "i" | "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "depnote" | "cfgdiff" | "cfgdrift" | "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" | "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" | "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" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
1040
1043
  date: string;
1041
1044
  isMobile: boolean;
1042
1045
  log_id: string;
@@ -1071,13 +1074,11 @@ export declare const userRoutes: OpenAPIHono<{
1071
1074
  continent_code: string;
1072
1075
  } | undefined;
1073
1076
  }[];
1077
+ total?: number | undefined;
1074
1078
  next?: string | undefined;
1075
1079
  } | {
1076
- start: number;
1077
- limit: number;
1078
- length: number;
1079
1080
  logs: {
1080
- 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" | "cfgdiff" | "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";
1081
+ type: "fn" | "i" | "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "depnote" | "cfgdiff" | "cfgdrift" | "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" | "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" | "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" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
1081
1082
  date: string;
1082
1083
  isMobile: boolean;
1083
1084
  log_id: string;
@@ -1112,7 +1113,6 @@ export declare const userRoutes: OpenAPIHono<{
1112
1113
  continent_code: string;
1113
1114
  } | undefined;
1114
1115
  }[];
1115
- total?: number | undefined;
1116
1116
  next?: string | undefined;
1117
1117
  };
1118
1118
  outputFormat: "json";
@@ -19,6 +19,17 @@ export interface TenantMembersControlPlaneOptions {
19
19
  * control-plane tenant.
20
20
  */
21
21
  getBackend: (c: CpCtx) => TenantMembersBackend | Promise<TenantMembersBackend>;
22
+ /**
23
+ * Team-change requests (issue #1550). A shard registers a request in its own
24
+ * database and calls `POST /requests/notify` with its id; `onNotify` takes
25
+ * it from there, typically by enqueueing a tenant operation that reads the
26
+ * request from the shard and carries it out. `tenantId` is the verified
27
+ * token's, never the body's. Unset, the endpoint answers 501 and the shard
28
+ * keeps the request until a control plane that has it is in place.
29
+ */
30
+ requests?: {
31
+ onNotify: (c: CpCtx, tenantId: string, requestId: string) => Promise<void>;
32
+ };
22
33
  /**
23
34
  * Defaults to verifying a `controlplane:tenant_members` bearer token issued
24
35
  * by `env.ISSUER` or the inbound host. Ignored under
@@ -1,5 +1,6 @@
1
1
  import { OpenAPIHono } from "@hono/zod-openapi";
2
2
  import { AuthHeroConfig, Bindings, Variables } from "../../types";
3
+ /** Mount connection-scoped SCIM provisioning with user lifecycle hooks and outbox delivery. */
3
4
  export declare function createScimApi(config: AuthHeroConfig): OpenAPIHono<{
4
5
  Bindings: Bindings;
5
6
  Variables: Variables;
@@ -100,7 +100,7 @@ export declare function initJSXRoute(ctx: Context<{
100
100
  url: string;
101
101
  } | undefined;
102
102
  dark_mode?: "dark" | "light" | "auto" | undefined;
103
- scope?: "shared" | "local" | "platform" | undefined;
103
+ scope?: "local" | "shared" | "platform" | undefined;
104
104
  override?: "none" | "secrets" | "fields" | undefined;
105
105
  enforce?: boolean | undefined;
106
106
  } | null;
@@ -125,6 +125,9 @@ export declare function initJSXRoute(ctx: Context<{
125
125
  friendly_name: string;
126
126
  id: string;
127
127
  parent_tenant_id?: string | null | undefined;
128
+ config_sync?: "inherit-on-read" | "synced" | "detached" | null | undefined;
129
+ config_sync_hash?: string | null | undefined;
130
+ config_synced_at?: string | null | undefined;
128
131
  audience?: string | undefined;
129
132
  picture_url?: string | undefined;
130
133
  support_email?: string | undefined;
@@ -228,7 +231,7 @@ export declare function initJSXRoute(ctx: Context<{
228
231
  pushed_authorization_requests_supported?: boolean | undefined;
229
232
  authorization_response_iss_parameter_supported?: boolean | undefined;
230
233
  deployment_type?: "shared" | "wfp" | undefined;
231
- provisioning_state?: "pending" | "ready" | "failed" | undefined;
234
+ provisioning_state?: "pending" | "failed" | "ready" | undefined;
232
235
  provisioning_error?: string | undefined;
233
236
  provisioning_state_changed_at?: string | undefined;
234
237
  bundle_configuration?: string | undefined;
@@ -301,6 +304,7 @@ export declare function initJSXRoute(ctx: Context<{
301
304
  } | undefined;
302
305
  } | undefined;
303
306
  is_control_plane?: boolean | undefined;
307
+ has_children?: boolean | undefined;
304
308
  };
305
309
  connections: {
306
310
  created_at: string;
@@ -375,7 +379,7 @@ export declare function initJSXRoute(ctx: Context<{
375
379
  } | undefined;
376
380
  unique?: boolean | undefined;
377
381
  profile_required?: boolean | undefined;
378
- verification_method?: "link" | "code" | undefined;
382
+ verification_method?: "code" | "link" | undefined;
379
383
  } | undefined;
380
384
  username?: {
381
385
  identifier?: {
@@ -425,7 +429,7 @@ export declare function initJSXRoute(ctx: Context<{
425
429
  } | undefined;
426
430
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
427
431
  };
428
- scope?: "shared" | "local" | "platform" | undefined;
432
+ scope?: "local" | "shared" | "platform" | undefined;
429
433
  override?: "none" | "secrets" | "fields" | undefined;
430
434
  enforce?: boolean | undefined;
431
435
  id?: string | undefined;
@@ -504,6 +508,9 @@ export declare function initJSXRoute(ctx: Context<{
504
508
  friendly_name: string;
505
509
  id: string;
506
510
  parent_tenant_id?: string | null | undefined;
511
+ config_sync?: "inherit-on-read" | "synced" | "detached" | null | undefined;
512
+ config_sync_hash?: string | null | undefined;
513
+ config_synced_at?: string | null | undefined;
507
514
  audience?: string | undefined;
508
515
  picture_url?: string | undefined;
509
516
  support_email?: string | undefined;
@@ -607,7 +614,7 @@ export declare function initJSXRoute(ctx: Context<{
607
614
  pushed_authorization_requests_supported?: boolean | undefined;
608
615
  authorization_response_iss_parameter_supported?: boolean | undefined;
609
616
  deployment_type?: "shared" | "wfp" | undefined;
610
- provisioning_state?: "pending" | "ready" | "failed" | undefined;
617
+ provisioning_state?: "pending" | "failed" | "ready" | undefined;
611
618
  provisioning_error?: string | undefined;
612
619
  provisioning_state_changed_at?: string | undefined;
613
620
  bundle_configuration?: string | undefined;
@@ -680,6 +687,7 @@ export declare function initJSXRoute(ctx: Context<{
680
687
  } | undefined;
681
688
  } | undefined;
682
689
  is_control_plane?: boolean | undefined;
690
+ has_children?: boolean | undefined;
683
691
  };
684
692
  loginSession: {
685
693
  csrf_token: string;
@@ -844,7 +852,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
844
852
  url: string;
845
853
  } | undefined;
846
854
  dark_mode?: "dark" | "light" | "auto" | undefined;
847
- scope?: "shared" | "local" | "platform" | undefined;
855
+ scope?: "local" | "shared" | "platform" | undefined;
848
856
  override?: "none" | "secrets" | "fields" | undefined;
849
857
  enforce?: boolean | undefined;
850
858
  } | null;
@@ -869,6 +877,9 @@ export declare function initJSXRouteWithSession(ctx: Context<{
869
877
  friendly_name: string;
870
878
  id: string;
871
879
  parent_tenant_id?: string | null | undefined;
880
+ config_sync?: "inherit-on-read" | "synced" | "detached" | null | undefined;
881
+ config_sync_hash?: string | null | undefined;
882
+ config_synced_at?: string | null | undefined;
872
883
  audience?: string | undefined;
873
884
  picture_url?: string | undefined;
874
885
  support_email?: string | undefined;
@@ -972,7 +983,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
972
983
  pushed_authorization_requests_supported?: boolean | undefined;
973
984
  authorization_response_iss_parameter_supported?: boolean | undefined;
974
985
  deployment_type?: "shared" | "wfp" | undefined;
975
- provisioning_state?: "pending" | "ready" | "failed" | undefined;
986
+ provisioning_state?: "pending" | "failed" | "ready" | undefined;
976
987
  provisioning_error?: string | undefined;
977
988
  provisioning_state_changed_at?: string | undefined;
978
989
  bundle_configuration?: string | undefined;
@@ -1045,6 +1056,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
1045
1056
  } | undefined;
1046
1057
  } | undefined;
1047
1058
  is_control_plane?: boolean | undefined;
1059
+ has_children?: boolean | undefined;
1048
1060
  };
1049
1061
  connections: {
1050
1062
  created_at: string;
@@ -1119,7 +1131,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
1119
1131
  } | undefined;
1120
1132
  unique?: boolean | undefined;
1121
1133
  profile_required?: boolean | undefined;
1122
- verification_method?: "link" | "code" | undefined;
1134
+ verification_method?: "code" | "link" | undefined;
1123
1135
  } | undefined;
1124
1136
  username?: {
1125
1137
  identifier?: {
@@ -1169,7 +1181,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
1169
1181
  } | undefined;
1170
1182
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
1171
1183
  };
1172
- scope?: "shared" | "local" | "platform" | undefined;
1184
+ scope?: "local" | "shared" | "platform" | undefined;
1173
1185
  override?: "none" | "secrets" | "fields" | undefined;
1174
1186
  enforce?: boolean | undefined;
1175
1187
  id?: string | undefined;
@@ -1317,6 +1329,9 @@ export declare function initJSXRouteWithSession(ctx: Context<{
1317
1329
  friendly_name: string;
1318
1330
  id: string;
1319
1331
  parent_tenant_id?: string | null | undefined;
1332
+ config_sync?: "inherit-on-read" | "synced" | "detached" | null | undefined;
1333
+ config_sync_hash?: string | null | undefined;
1334
+ config_synced_at?: string | null | undefined;
1320
1335
  audience?: string | undefined;
1321
1336
  picture_url?: string | undefined;
1322
1337
  support_email?: string | undefined;
@@ -1420,7 +1435,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
1420
1435
  pushed_authorization_requests_supported?: boolean | undefined;
1421
1436
  authorization_response_iss_parameter_supported?: boolean | undefined;
1422
1437
  deployment_type?: "shared" | "wfp" | undefined;
1423
- provisioning_state?: "pending" | "ready" | "failed" | undefined;
1438
+ provisioning_state?: "pending" | "failed" | "ready" | undefined;
1424
1439
  provisioning_error?: string | undefined;
1425
1440
  provisioning_state_changed_at?: string | undefined;
1426
1441
  bundle_configuration?: string | undefined;
@@ -1493,6 +1508,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
1493
1508
  } | undefined;
1494
1509
  } | undefined;
1495
1510
  is_control_plane?: boolean | undefined;
1511
+ has_children?: boolean | undefined;
1496
1512
  };
1497
1513
  loginSession: {
1498
1514
  csrf_token: string;
@@ -27,7 +27,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
27
27
  output: {
28
28
  screen: {
29
29
  action: string;
30
- method: "POST" | "GET";
30
+ method: "GET" | "POST";
31
31
  components: {
32
32
  id: string;
33
33
  type: string;
@@ -107,7 +107,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
107
107
  output: {
108
108
  screen: {
109
109
  action: string;
110
- method: "POST" | "GET";
110
+ method: "GET" | "POST";
111
111
  components: {
112
112
  id: string;
113
113
  type: string;
@@ -204,7 +204,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
204
204
  output: {
205
205
  screen: {
206
206
  action: string;
207
- method: "POST" | "GET";
207
+ method: "GET" | "POST";
208
208
  components: {
209
209
  id: string;
210
210
  type: string;
@@ -319,7 +319,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
319
319
  output: {
320
320
  screen: {
321
321
  action: string;
322
- method: "POST" | "GET";
322
+ method: "GET" | "POST";
323
323
  components: {
324
324
  id: string;
325
325
  type: string;
@@ -30,7 +30,7 @@ export declare const identifierRoutes: OpenAPIHono<{
30
30
  } & {
31
31
  form: {
32
32
  username: string;
33
- login_selection?: "password" | "code" | undefined;
33
+ login_selection?: "code" | "password" | undefined;
34
34
  };
35
35
  };
36
36
  output: {};
@@ -44,7 +44,7 @@ export declare const identifierRoutes: OpenAPIHono<{
44
44
  } & {
45
45
  form: {
46
46
  username: string;
47
- login_selection?: "password" | "code" | undefined;
47
+ login_selection?: "code" | "password" | undefined;
48
48
  };
49
49
  };
50
50
  output: {};
@@ -515,7 +515,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
515
515
  } & {
516
516
  form: {
517
517
  username: string;
518
- login_selection?: "password" | "code" | undefined;
518
+ login_selection?: "code" | "password" | undefined;
519
519
  };
520
520
  };
521
521
  output: {};
@@ -529,7 +529,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
529
529
  } & {
530
530
  form: {
531
531
  username: string;
532
- login_selection?: "password" | "code" | undefined;
532
+ login_selection?: "code" | "password" | undefined;
533
533
  };
534
534
  };
535
535
  output: {};
@@ -0,0 +1,4 @@
1
+ import { type ScreenDefinition } from "./types";
2
+ export declare const deviceCodeScreenDefinition: ScreenDefinition;
3
+ export declare const deviceConfirmationScreenDefinition: ScreenDefinition;
4
+ export declare const deviceCompleteScreenDefinition: ScreenDefinition;