authhero 9.26.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 (70) 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 +116 -116
  5. package/dist/authhero.d.ts +838 -338
  6. package/dist/authhero.mjs +23941 -22665
  7. package/dist/tsconfig.types.tsbuildinfo +1 -1
  8. package/dist/types/authentication-flows/device-code.d.ts +11 -0
  9. package/dist/types/authentication-flows/passwordless.d.ts +4 -3
  10. package/dist/types/generated/locale-types.d.ts +16 -0
  11. package/dist/types/helpers/client.d.ts +2 -0
  12. package/dist/types/helpers/codes-cleanup.d.ts +1 -1
  13. package/dist/types/helpers/device-flow.d.ts +25 -0
  14. package/dist/types/helpers/hook-events.d.ts +8 -4
  15. package/dist/types/helpers/hook-user-payload.d.ts +2 -0
  16. package/dist/types/helpers/logging.d.ts +2 -1
  17. package/dist/types/helpers/outbox-destinations/code-hooks.d.ts +8 -3
  18. package/dist/types/helpers/outbox-destinations/webhooks.d.ts +3 -0
  19. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  20. package/dist/types/helpers/scopes-permissions.d.ts +1 -1
  21. package/dist/types/hooks/lifecycle-codehooks.d.ts +16 -0
  22. package/dist/types/hooks/user-deletion.d.ts +9 -0
  23. package/dist/types/index.d.ts +559 -331
  24. package/dist/types/routes/auth-api/device.d.ts +139 -0
  25. package/dist/types/routes/auth-api/index.d.ts +225 -24
  26. package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
  27. package/dist/types/routes/auth-api/revoke.d.ts +2 -2
  28. package/dist/types/routes/auth-api/token.d.ts +82 -12
  29. package/dist/types/routes/auth-api/well-known.d.ts +2 -0
  30. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  31. package/dist/types/routes/management-api/action-triggers.d.ts +27 -2
  32. package/dist/types/routes/management-api/actions.d.ts +11 -11
  33. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  34. package/dist/types/routes/management-api/branding.d.ts +5 -5
  35. package/dist/types/routes/management-api/clients.d.ts +2 -2
  36. package/dist/types/routes/management-api/connections.d.ts +9 -9
  37. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  38. package/dist/types/routes/management-api/emails.d.ts +6 -6
  39. package/dist/types/routes/management-api/forms.d.ts +144 -144
  40. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  41. package/dist/types/routes/management-api/hook-code.d.ts +2 -2
  42. package/dist/types/routes/management-api/hooks.d.ts +56 -56
  43. package/dist/types/routes/management-api/index.d.ts +326 -301
  44. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  45. package/dist/types/routes/management-api/logs.d.ts +4 -4
  46. package/dist/types/routes/management-api/organizations.d.ts +8 -8
  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/roles.d.ts +1 -1
  50. package/dist/types/routes/management-api/tenant-members-requests.test.d.ts +1 -0
  51. package/dist/types/routes/management-api/tenant-members.d.ts +155 -1
  52. package/dist/types/routes/management-api/tenant-operations.d.ts +12 -10
  53. package/dist/types/routes/management-api/tenants.d.ts +26 -12
  54. package/dist/types/routes/management-api/users.d.ts +15 -15
  55. package/dist/types/routes/proxy-control-plane/tenant-members.d.ts +11 -0
  56. package/dist/types/routes/scim/index.d.ts +1 -0
  57. package/dist/types/routes/universal-login/common.d.ts +16 -12
  58. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  59. package/dist/types/routes/universal-login/screens/device-flow.d.ts +4 -0
  60. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  61. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  62. package/dist/types/state-machines/login-session.d.ts +5 -0
  63. package/dist/types/tenant-members/request-notifier.d.ts +9 -0
  64. package/dist/types/tenant-members/request-notify.test.d.ts +1 -0
  65. package/dist/types/tenant-members/requests.d.ts +79 -0
  66. package/dist/types/tenant-members/requests.test.d.ts +1 -0
  67. package/dist/types/tenant-members/wire.d.ts +10 -0
  68. package/dist/types/types/AuthHeroConfig.d.ts +10 -0
  69. package/dist/types/types/Variables.d.ts +3 -1
  70. package/package.json +6 -6
@@ -18,7 +18,7 @@ export declare const logStreamsRoutes: OpenAPIHono<{
18
18
  [x: string]: import("hono/utils/types").JSONValue;
19
19
  };
20
20
  id: string;
21
- status: "suspended" | "active" | "paused";
21
+ status: "active" | "paused" | "suspended";
22
22
  filters?: {
23
23
  type: string;
24
24
  name: string;
@@ -50,7 +50,7 @@ export declare const logStreamsRoutes: OpenAPIHono<{
50
50
  [x: string]: import("hono/utils/types").JSONValue;
51
51
  };
52
52
  id: string;
53
- status: "suspended" | "active" | "paused";
53
+ status: "active" | "paused" | "suspended";
54
54
  filters?: {
55
55
  type: string;
56
56
  name: string;
@@ -75,7 +75,7 @@ export declare const logStreamsRoutes: OpenAPIHono<{
75
75
  name: string;
76
76
  type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
77
77
  sink: Record<string, unknown>;
78
- status?: "suspended" | "active" | "paused" | undefined;
78
+ status?: "active" | "paused" | "suspended" | undefined;
79
79
  filters?: {
80
80
  type: string;
81
81
  name: string;
@@ -90,7 +90,7 @@ export declare const logStreamsRoutes: OpenAPIHono<{
90
90
  [x: string]: import("hono/utils/types").JSONValue;
91
91
  };
92
92
  id: string;
93
- status: "suspended" | "active" | "paused";
93
+ status: "active" | "paused" | "suspended";
94
94
  filters?: {
95
95
  type: string;
96
96
  name: string;
@@ -125,7 +125,7 @@ export declare const logStreamsRoutes: OpenAPIHono<{
125
125
  }[] | undefined;
126
126
  isPriority?: boolean | undefined;
127
127
  id?: string | undefined;
128
- status?: "suspended" | "active" | "paused" | undefined;
128
+ status?: "active" | "paused" | "suspended" | undefined;
129
129
  created_at?: string | undefined;
130
130
  updated_at?: string | undefined;
131
131
  };
@@ -137,7 +137,7 @@ export declare const logStreamsRoutes: OpenAPIHono<{
137
137
  [x: string]: import("hono/utils/types").JSONValue;
138
138
  };
139
139
  id: string;
140
- status: "suspended" | "active" | "paused";
140
+ status: "active" | "paused" | "suspended";
141
141
  filters?: {
142
142
  type: string;
143
143
  name: string;
@@ -24,7 +24,7 @@ export declare const logRoutes: OpenAPIHono<{
24
24
  };
25
25
  };
26
26
  output: {
27
- type: "i" | "fn" | "fh" | "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" | "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" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "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";
27
+ 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";
28
28
  date: string;
29
29
  isMobile: boolean;
30
30
  log_id: string;
@@ -63,7 +63,7 @@ export declare const logRoutes: OpenAPIHono<{
63
63
  limit: number;
64
64
  length: number;
65
65
  logs: {
66
- type: "i" | "fn" | "fh" | "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" | "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" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "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";
66
+ 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";
67
67
  date: string;
68
68
  isMobile: boolean;
69
69
  log_id: string;
@@ -102,7 +102,7 @@ export declare const logRoutes: OpenAPIHono<{
102
102
  next?: string | undefined;
103
103
  } | {
104
104
  logs: {
105
- type: "i" | "fn" | "fh" | "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" | "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" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "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";
105
+ 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";
106
106
  date: string;
107
107
  isMobile: boolean;
108
108
  log_id: string;
@@ -156,7 +156,7 @@ export declare const logRoutes: OpenAPIHono<{
156
156
  };
157
157
  };
158
158
  output: {
159
- type: "i" | "fn" | "fh" | "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" | "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" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "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";
159
+ 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";
160
160
  date: string;
161
161
  isMobile: boolean;
162
162
  log_id: string;
@@ -770,20 +770,20 @@ export declare const organizationRoutes: OpenAPIHono<{
770
770
  };
771
771
  } & {
772
772
  json: {
773
- client_id: string;
774
- inviter: {
775
- name?: string | undefined;
776
- };
777
773
  invitee: {
778
774
  email?: string | undefined;
779
775
  };
776
+ inviter: {
777
+ name?: string | undefined;
778
+ };
779
+ client_id: string;
780
+ roles?: string[] | undefined;
781
+ send_invitation_email?: boolean | undefined;
782
+ ttl_sec?: number | undefined;
780
783
  id?: string | undefined;
781
784
  connection_id?: string | undefined;
782
785
  app_metadata?: Record<string, any> | undefined;
783
786
  user_metadata?: Record<string, any> | undefined;
784
- ttl_sec?: number | undefined;
785
- roles?: string[] | undefined;
786
- send_invitation_email?: boolean | undefined;
787
787
  };
788
788
  };
789
789
  output: {
@@ -982,8 +982,8 @@ export declare const organizationRoutes: OpenAPIHono<{
982
982
  };
983
983
  } & {
984
984
  json: {
985
- assign_membership_on_login?: boolean | undefined;
986
985
  show_as_button?: boolean | undefined;
986
+ assign_membership_on_login?: boolean | undefined;
987
987
  is_signup_enabled?: boolean | undefined;
988
988
  };
989
989
  };
@@ -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" | "login" | "signup" | "mfa" | "organizations" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
61
+ prompt: "status" | "signup" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
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" | "login" | "signup" | "mfa" | "organizations" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
99
+ prompt: "status" | "signup" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
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" | "login" | "signup" | "mfa" | "organizations" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
121
+ prompt: "status" | "signup" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
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" | "login" | "signup" | "mfa" | "organizations" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
145
+ prompt: "status" | "signup" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
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: "login" | "signup" | "login-id" | "login-password" | "signup-id" | "signup-password" | "login-passwordless" | "login-passwordless-sms-otp" | "login-passwordless-email-code";
163
+ prompt: "signup" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "login-passwordless" | "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: "login" | "signup" | "login-id" | "login-password" | "signup-id" | "signup-password" | "login-passwordless" | "login-passwordless-sms-otp" | "login-passwordless-email-code";
189
+ prompt: "signup" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "login-passwordless" | "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?: {
@@ -242,8 +242,8 @@ export declare const roleRoutes: OpenAPIHono<{
242
242
  } & {
243
243
  query: {
244
244
  page?: string | undefined;
245
- include_totals?: string | undefined;
246
245
  from?: string | undefined;
246
+ include_totals?: string | undefined;
247
247
  per_page?: string | undefined;
248
248
  take?: string | undefined;
249
249
  };
@@ -2,6 +2,7 @@ import { OpenAPIHono } from "@hono/zod-openapi";
2
2
  import { Context } from "hono";
3
3
  import { Bindings, Variables } from "../../types";
4
4
  import { TenantMembersBackend, tenantMemberSchema } from "../../tenant-members/types";
5
+ import type { TenantMemberRequestsConfig } from "../../tenant-members/requests";
5
6
  type Ctx = Context<{
6
7
  Bindings: Bindings;
7
8
  Variables: Variables;
@@ -16,10 +17,51 @@ export type GetTenantMembersBackend = (ctx: Ctx) => TenantMembersBackend | Promi
16
17
  * {@link TenantMembersBackend}; this layer only pins the tenant to the token's
17
18
  * org claim and shapes responses.
18
19
  */
19
- export declare function createTenantMembersRoutes(getBackend: GetTenantMembersBackend): OpenAPIHono<{
20
+ export declare function createTenantMembersRoutes(getBackend: GetTenantMembersBackend, requests?: TenantMemberRequestsConfig): OpenAPIHono<{
20
21
  Bindings: Bindings;
21
22
  Variables: Variables;
22
23
  }, {
24
+ "/requests": {
25
+ $get: {
26
+ input: {
27
+ query: {
28
+ status?: "pending" | "failed" | "succeeded" | undefined;
29
+ page?: unknown;
30
+ per_page?: unknown;
31
+ };
32
+ } & {
33
+ header: {
34
+ "tenant-id"?: string | undefined;
35
+ };
36
+ };
37
+ output: {
38
+ requests: {
39
+ kind: "invite" | "add_members" | "remove_members" | "assign_roles" | "remove_roles" | "revoke_invitation";
40
+ requested_by: string;
41
+ payload: {
42
+ [x: string]: import("hono/utils/types").JSONValue;
43
+ };
44
+ id: string;
45
+ tenant_id: string;
46
+ status: "pending" | "failed" | "succeeded";
47
+ created_at: string;
48
+ updated_at: string;
49
+ result?: {
50
+ [x: string]: import("hono/utils/types").JSONValue;
51
+ } | null | undefined;
52
+ error?: string | null | undefined;
53
+ notified_at?: string | null | undefined;
54
+ finished_at?: string | null | undefined;
55
+ }[];
56
+ start: number;
57
+ limit: number;
58
+ length: number;
59
+ };
60
+ outputFormat: "json";
61
+ status: 200;
62
+ };
63
+ };
64
+ } & {
23
65
  "/roles": {
24
66
  $get: {
25
67
  input: {
@@ -138,6 +180,30 @@ export declare function createTenantMembersRoutes(getBackend: GetTenantMembersBa
138
180
  };
139
181
  outputFormat: "json";
140
182
  status: 201;
183
+ } | {
184
+ input: {
185
+ header: {
186
+ "tenant-id"?: string | undefined;
187
+ };
188
+ } & {
189
+ json: {
190
+ invitee: {
191
+ email: string;
192
+ };
193
+ inviter?: {
194
+ name?: string | undefined;
195
+ } | undefined;
196
+ roles?: string[] | undefined;
197
+ send_invitation_email?: boolean | undefined;
198
+ ttl_sec?: number | undefined;
199
+ };
200
+ };
201
+ output: {
202
+ id: string;
203
+ status: "pending" | "failed" | "succeeded";
204
+ };
205
+ outputFormat: "json";
206
+ status: 202;
141
207
  };
142
208
  };
143
209
  } & {
@@ -155,6 +221,22 @@ export declare function createTenantMembersRoutes(getBackend: GetTenantMembersBa
155
221
  output: {};
156
222
  outputFormat: string;
157
223
  status: 204;
224
+ } | {
225
+ input: {
226
+ param: {
227
+ invitation_id: string;
228
+ };
229
+ } & {
230
+ header: {
231
+ "tenant-id"?: string | undefined;
232
+ };
233
+ };
234
+ output: {
235
+ id: string;
236
+ status: "pending" | "failed" | "succeeded";
237
+ };
238
+ outputFormat: "json";
239
+ status: 202;
158
240
  };
159
241
  };
160
242
  } & {
@@ -212,6 +294,22 @@ export declare function createTenantMembersRoutes(getBackend: GetTenantMembersBa
212
294
  output: {};
213
295
  outputFormat: string;
214
296
  status: 204;
297
+ } | {
298
+ input: {
299
+ header: {
300
+ "tenant-id"?: string | undefined;
301
+ };
302
+ } & {
303
+ json: {
304
+ user_ids: string[];
305
+ };
306
+ };
307
+ output: {
308
+ id: string;
309
+ status: "pending" | "failed" | "succeeded";
310
+ };
311
+ outputFormat: "json";
312
+ status: 202;
215
313
  };
216
314
  };
217
315
  } & {
@@ -229,6 +327,22 @@ export declare function createTenantMembersRoutes(getBackend: GetTenantMembersBa
229
327
  output: {};
230
328
  outputFormat: string;
231
329
  status: 204;
330
+ } | {
331
+ input: {
332
+ header: {
333
+ "tenant-id"?: string | undefined;
334
+ };
335
+ } & {
336
+ json: {
337
+ user_ids: string[];
338
+ };
339
+ };
340
+ output: {
341
+ id: string;
342
+ status: "pending" | "failed" | "succeeded";
343
+ };
344
+ outputFormat: "json";
345
+ status: 202;
232
346
  };
233
347
  };
234
348
  } & {
@@ -277,6 +391,26 @@ export declare function createTenantMembersRoutes(getBackend: GetTenantMembersBa
277
391
  output: {};
278
392
  outputFormat: string;
279
393
  status: 204;
394
+ } | {
395
+ input: {
396
+ param: {
397
+ user_id: string;
398
+ };
399
+ } & {
400
+ header: {
401
+ "tenant-id"?: string | undefined;
402
+ };
403
+ } & {
404
+ json: {
405
+ roles: string[];
406
+ };
407
+ };
408
+ output: {
409
+ id: string;
410
+ status: "pending" | "failed" | "succeeded";
411
+ };
412
+ outputFormat: "json";
413
+ status: 202;
280
414
  };
281
415
  };
282
416
  } & {
@@ -298,6 +432,26 @@ export declare function createTenantMembersRoutes(getBackend: GetTenantMembersBa
298
432
  output: {};
299
433
  outputFormat: string;
300
434
  status: 204;
435
+ } | {
436
+ input: {
437
+ param: {
438
+ user_id: string;
439
+ };
440
+ } & {
441
+ header: {
442
+ "tenant-id"?: string | undefined;
443
+ };
444
+ } & {
445
+ json: {
446
+ roles: string[];
447
+ };
448
+ };
449
+ output: {
450
+ id: string;
451
+ status: "pending" | "failed" | "succeeded";
452
+ };
453
+ outputFormat: "json";
454
+ status: 202;
301
455
  };
302
456
  };
303
457
  }, "/">;
@@ -17,16 +17,16 @@ export declare const operationRoutes: OpenAPIHono<{
17
17
  };
18
18
  output: {
19
19
  tenant_id: string | null;
20
- kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import" | "sync-defaults";
20
+ kind: "upgrade" | "backup" | "provision" | "seed" | "deprovision" | "users_import" | "sync-defaults" | "detach" | "tenant-members-request";
21
21
  engine: string;
22
22
  id: string;
23
- status: "pending" | "failed" | "running" | "succeeded" | "cancelled";
23
+ status: "pending" | "failed" | "succeeded" | "running" | "cancelled";
24
24
  created_at: string;
25
25
  updated_at: string;
26
26
  events: {
27
27
  operation_id: string;
28
28
  step: string;
29
- outcome: "failed" | "succeeded" | "started" | "retried" | "skipped" | "reconciled";
29
+ outcome: "failed" | "succeeded" | "skipped" | "started" | "retried" | "reconciled";
30
30
  attempt: number;
31
31
  id: string;
32
32
  created_at: string;
@@ -66,8 +66,8 @@ export declare const tenantOperationsRoutes: OpenAPIHono<{
66
66
  query: {
67
67
  page?: unknown;
68
68
  per_page?: unknown;
69
- kind?: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import" | "sync-defaults" | undefined;
70
- status?: "pending" | "failed" | "running" | "succeeded" | "cancelled" | undefined;
69
+ kind?: "upgrade" | "backup" | "provision" | "seed" | "deprovision" | "users_import" | "sync-defaults" | "detach" | "tenant-members-request" | undefined;
70
+ status?: "pending" | "failed" | "succeeded" | "running" | "cancelled" | undefined;
71
71
  rollout_id?: string | undefined;
72
72
  };
73
73
  } & {
@@ -78,10 +78,10 @@ export declare const tenantOperationsRoutes: OpenAPIHono<{
78
78
  output: {
79
79
  operations: {
80
80
  tenant_id: string | null;
81
- kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import" | "sync-defaults";
81
+ kind: "upgrade" | "backup" | "provision" | "seed" | "deprovision" | "users_import" | "sync-defaults" | "detach" | "tenant-members-request";
82
82
  engine: string;
83
83
  id: string;
84
- status: "pending" | "failed" | "running" | "succeeded" | "cancelled";
84
+ status: "pending" | "failed" | "succeeded" | "running" | "cancelled";
85
85
  created_at: string;
86
86
  updated_at: string;
87
87
  rollout_id?: string | null | undefined;
@@ -118,19 +118,21 @@ export declare const tenantOperationsRoutes: OpenAPIHono<{
118
118
  };
119
119
  } & {
120
120
  json: {
121
- kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import" | "sync-defaults";
121
+ kind: "upgrade" | "backup" | "provision" | "seed" | "deprovision" | "users_import" | "sync-defaults" | "detach" | "tenant-members-request";
122
122
  input?: {
123
123
  dry_run?: boolean | undefined;
124
124
  force?: boolean | undefined;
125
+ prune?: boolean | undefined;
126
+ clean?: boolean | undefined;
125
127
  } | undefined;
126
128
  };
127
129
  };
128
130
  output: {
129
131
  tenant_id: string | null;
130
- kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import" | "sync-defaults";
132
+ kind: "upgrade" | "backup" | "provision" | "seed" | "deprovision" | "users_import" | "sync-defaults" | "detach" | "tenant-members-request";
131
133
  engine: string;
132
134
  id: string;
133
- status: "pending" | "failed" | "running" | "succeeded" | "cancelled";
135
+ status: "pending" | "failed" | "succeeded" | "running" | "cancelled";
134
136
  created_at: string;
135
137
  updated_at: string;
136
138
  rollout_id?: string | null | undefined;