authhero 9.9.1 → 9.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/authhero.cjs +145 -145
- package/dist/authhero.d.ts +585 -190
- package/dist/authhero.mjs +15529 -14313
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/authorization-code.d.ts +2 -1
- package/dist/types/authentication-flows/client-credentials.d.ts +2 -1
- package/dist/types/authentication-flows/passwordless.d.ts +6 -5
- package/dist/types/authentication-flows/refresh-token.d.ts +2 -1
- package/dist/types/authentication-flows/token-exchange.d.ts +2 -1
- package/dist/types/helpers/client-assertion-replay.d.ts +21 -0
- package/dist/types/helpers/client-assertion.d.ts +24 -2
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/helpers/default-destinations.d.ts +7 -1
- package/dist/types/helpers/outbox-destinations/index.d.ts +1 -0
- package/dist/types/helpers/outbox-destinations/pipeline.d.ts +63 -0
- package/dist/types/helpers/outbox-relay.d.ts +3 -0
- package/dist/types/helpers/reserved-claims.d.ts +64 -0
- package/dist/types/helpers/run-outbox-relay.d.ts +8 -0
- package/dist/types/helpers/run-retention.d.ts +5 -0
- package/dist/types/helpers/users-import/map.d.ts +128 -0
- package/dist/types/helpers/users-import/process.d.ts +95 -0
- package/dist/types/helpers/users-import-cleanup.d.ts +26 -0
- package/dist/types/index.d.ts +321 -185
- package/dist/types/routes/auth-api/index.d.ts +44 -44
- package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/auth-api/token.d.ts +24 -24
- package/dist/types/routes/management-api/action-triggers.d.ts +0 -2
- package/dist/types/routes/management-api/actions.d.ts +0 -7
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +1 -1
- package/dist/types/routes/management-api/client-grants.d.ts +9 -9
- package/dist/types/routes/management-api/clients.d.ts +8 -8
- package/dist/types/routes/management-api/connections.d.ts +1 -1
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/failed-events.d.ts +22 -2
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/helpers.d.ts +1 -1
- package/dist/types/routes/management-api/index.d.ts +216 -86
- package/dist/types/routes/management-api/jobs.d.ts +133 -0
- package/dist/types/routes/management-api/keys.d.ts +16 -16
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
- package/dist/types/routes/management-api/organizations.d.ts +2 -2
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/roles.d.ts +1 -1
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenant-operations.d.ts +33 -9
- package/dist/types/routes/management-api/tenants.d.ts +11 -11
- package/dist/types/routes/management-api/users.d.ts +24 -24
- package/dist/types/routes/universal-login/common.d.ts +2 -2
- package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +2 -2
- package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/dist/types/state-machines/login-session.d.ts +1 -1
- package/dist/types/types/AuthHeroConfig.d.ts +40 -0
- package/dist/types/types/Bindings.d.ts +14 -0
- package/dist/types/types/OutboxMetrics.d.ts +47 -0
- package/dist/types/types/auth0/UserImport.d.ts +317 -0
- package/dist/types/types/index.d.ts +1 -0
- package/package.json +6 -6
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
+
import { Bindings, Variables } from "../../types";
|
|
3
|
+
/**
|
|
4
|
+
* Auth0's documented ceiling for a users-import file. Kept as the default
|
|
5
|
+
* rather than a hard constant so an operator running a large migration can
|
|
6
|
+
* raise it, while any Auth0-shaped client sees identical behaviour.
|
|
7
|
+
*/
|
|
8
|
+
export declare const DEFAULT_MAX_IMPORT_BYTES: number;
|
|
9
|
+
/** Auth0 allows two concurrent import jobs per tenant. */
|
|
10
|
+
export declare const DEFAULT_MAX_CONCURRENT_IMPORT_JOBS = 2;
|
|
11
|
+
export declare const jobsRoutes: OpenAPIHono<{
|
|
12
|
+
Bindings: Bindings;
|
|
13
|
+
Variables: Variables;
|
|
14
|
+
}, {
|
|
15
|
+
"/users-imports": {
|
|
16
|
+
$post: {
|
|
17
|
+
input: {
|
|
18
|
+
header: {
|
|
19
|
+
"tenant-id"?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
} & {
|
|
22
|
+
form: {
|
|
23
|
+
users: any;
|
|
24
|
+
connection_id: string;
|
|
25
|
+
upsert?: string | boolean | undefined;
|
|
26
|
+
external_id?: string | undefined;
|
|
27
|
+
send_completion_email?: string | boolean | undefined;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
output: {
|
|
31
|
+
id: string;
|
|
32
|
+
type: string;
|
|
33
|
+
status: "pending" | "failed" | "completed";
|
|
34
|
+
created_at?: string | undefined;
|
|
35
|
+
connection_id?: string | undefined;
|
|
36
|
+
external_id?: string | undefined;
|
|
37
|
+
percentage_done?: number | undefined;
|
|
38
|
+
time_left_seconds?: number | undefined;
|
|
39
|
+
status_details?: string | undefined;
|
|
40
|
+
summary?: {
|
|
41
|
+
failed: number;
|
|
42
|
+
updated: number;
|
|
43
|
+
inserted: number;
|
|
44
|
+
total: number;
|
|
45
|
+
} | undefined;
|
|
46
|
+
};
|
|
47
|
+
outputFormat: "json";
|
|
48
|
+
status: 202;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
} & {
|
|
52
|
+
"/:id": {
|
|
53
|
+
$get: {
|
|
54
|
+
input: {
|
|
55
|
+
param: {
|
|
56
|
+
id: string;
|
|
57
|
+
};
|
|
58
|
+
} & {
|
|
59
|
+
header: {
|
|
60
|
+
"tenant-id"?: string | undefined;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
output: {
|
|
64
|
+
id: string;
|
|
65
|
+
type: string;
|
|
66
|
+
status: "pending" | "failed" | "completed";
|
|
67
|
+
created_at?: string | undefined;
|
|
68
|
+
connection_id?: string | undefined;
|
|
69
|
+
external_id?: string | undefined;
|
|
70
|
+
percentage_done?: number | undefined;
|
|
71
|
+
time_left_seconds?: number | undefined;
|
|
72
|
+
status_details?: string | undefined;
|
|
73
|
+
summary?: {
|
|
74
|
+
failed: number;
|
|
75
|
+
updated: number;
|
|
76
|
+
inserted: number;
|
|
77
|
+
total: number;
|
|
78
|
+
} | undefined;
|
|
79
|
+
};
|
|
80
|
+
outputFormat: "json";
|
|
81
|
+
status: 200;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
} & {
|
|
85
|
+
"/:id/errors": {
|
|
86
|
+
$get: {
|
|
87
|
+
input: {
|
|
88
|
+
param: {
|
|
89
|
+
id: string;
|
|
90
|
+
};
|
|
91
|
+
} & {
|
|
92
|
+
query: {
|
|
93
|
+
page?: unknown;
|
|
94
|
+
per_page?: unknown;
|
|
95
|
+
};
|
|
96
|
+
} & {
|
|
97
|
+
header: {
|
|
98
|
+
"tenant-id"?: string | undefined;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
output: {};
|
|
102
|
+
outputFormat: string;
|
|
103
|
+
status: 204;
|
|
104
|
+
} | {
|
|
105
|
+
input: {
|
|
106
|
+
param: {
|
|
107
|
+
id: string;
|
|
108
|
+
};
|
|
109
|
+
} & {
|
|
110
|
+
query: {
|
|
111
|
+
page?: unknown;
|
|
112
|
+
per_page?: unknown;
|
|
113
|
+
};
|
|
114
|
+
} & {
|
|
115
|
+
header: {
|
|
116
|
+
"tenant-id"?: string | undefined;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
output: {
|
|
120
|
+
user: {
|
|
121
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
122
|
+
};
|
|
123
|
+
errors: {
|
|
124
|
+
code: string;
|
|
125
|
+
message: string;
|
|
126
|
+
path?: string | undefined;
|
|
127
|
+
}[];
|
|
128
|
+
}[];
|
|
129
|
+
outputFormat: "json";
|
|
130
|
+
status: 200;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
}, "/">;
|
|
@@ -16,15 +16,15 @@ export declare const keyRoutes: OpenAPIHono<{
|
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
output: {
|
|
19
|
-
type: "jwt_signing" | "saml_encryption";
|
|
20
19
|
kid: string;
|
|
20
|
+
type: "jwt_signing" | "saml_encryption";
|
|
21
21
|
cert: string;
|
|
22
22
|
fingerprint: string;
|
|
23
23
|
thumbprint: string;
|
|
24
|
-
revoked_at?: string | undefined;
|
|
25
|
-
next?: boolean | undefined;
|
|
26
|
-
connection?: string | undefined;
|
|
27
24
|
tenant_id?: string | undefined;
|
|
25
|
+
connection?: string | undefined;
|
|
26
|
+
next?: boolean | undefined;
|
|
27
|
+
revoked_at?: string | undefined;
|
|
28
28
|
current?: boolean | undefined;
|
|
29
29
|
previous?: boolean | undefined;
|
|
30
30
|
current_since?: string | undefined;
|
|
@@ -55,15 +55,15 @@ export declare const keyRoutes: OpenAPIHono<{
|
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
57
|
output: {
|
|
58
|
-
type: "jwt_signing" | "saml_encryption";
|
|
59
58
|
kid: string;
|
|
59
|
+
type: "jwt_signing" | "saml_encryption";
|
|
60
60
|
cert: string;
|
|
61
61
|
fingerprint: string;
|
|
62
62
|
thumbprint: string;
|
|
63
|
-
revoked_at?: string | undefined;
|
|
64
|
-
next?: boolean | undefined;
|
|
65
|
-
connection?: string | undefined;
|
|
66
63
|
tenant_id?: string | undefined;
|
|
64
|
+
connection?: string | undefined;
|
|
65
|
+
next?: boolean | undefined;
|
|
66
|
+
revoked_at?: string | undefined;
|
|
67
67
|
current?: boolean | undefined;
|
|
68
68
|
previous?: boolean | undefined;
|
|
69
69
|
current_since?: string | undefined;
|
|
@@ -93,15 +93,15 @@ export declare const keyRoutes: OpenAPIHono<{
|
|
|
93
93
|
};
|
|
94
94
|
};
|
|
95
95
|
output: {
|
|
96
|
-
type: "jwt_signing" | "saml_encryption";
|
|
97
96
|
kid: string;
|
|
97
|
+
type: "jwt_signing" | "saml_encryption";
|
|
98
98
|
cert: string;
|
|
99
99
|
fingerprint: string;
|
|
100
100
|
thumbprint: string;
|
|
101
|
-
revoked_at?: string | undefined;
|
|
102
|
-
next?: boolean | undefined;
|
|
103
|
-
connection?: string | undefined;
|
|
104
101
|
tenant_id?: string | undefined;
|
|
102
|
+
connection?: string | undefined;
|
|
103
|
+
next?: boolean | undefined;
|
|
104
|
+
revoked_at?: string | undefined;
|
|
105
105
|
current?: boolean | undefined;
|
|
106
106
|
previous?: boolean | undefined;
|
|
107
107
|
current_since?: string | undefined;
|
|
@@ -133,15 +133,15 @@ export declare const keyRoutes: OpenAPIHono<{
|
|
|
133
133
|
};
|
|
134
134
|
};
|
|
135
135
|
output: {
|
|
136
|
-
type: "jwt_signing" | "saml_encryption";
|
|
137
136
|
kid: string;
|
|
137
|
+
type: "jwt_signing" | "saml_encryption";
|
|
138
138
|
cert: string;
|
|
139
139
|
fingerprint: string;
|
|
140
140
|
thumbprint: string;
|
|
141
|
-
revoked_at?: string | undefined;
|
|
142
|
-
next?: boolean | undefined;
|
|
143
|
-
connection?: string | undefined;
|
|
144
141
|
tenant_id?: string | undefined;
|
|
142
|
+
connection?: string | undefined;
|
|
143
|
+
next?: boolean | undefined;
|
|
144
|
+
revoked_at?: string | undefined;
|
|
145
145
|
current?: boolean | undefined;
|
|
146
146
|
previous?: boolean | undefined;
|
|
147
147
|
current_since?: string | undefined;
|
|
@@ -24,7 +24,7 @@ export declare const logRoutes: OpenAPIHono<{
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
output: {
|
|
27
|
-
type: "
|
|
27
|
+
type: "fn" | "i" | "sui" | "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" | "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" | "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" | "sv" | "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: "
|
|
66
|
+
type: "fn" | "i" | "sui" | "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" | "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" | "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" | "sv" | "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: "
|
|
105
|
+
type: "fn" | "i" | "sui" | "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" | "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" | "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" | "sv" | "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: "
|
|
159
|
+
type: "fn" | "i" | "sui" | "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" | "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" | "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" | "sv" | "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;
|
|
@@ -15,7 +15,7 @@ export declare const migrationSourcesRoutes: OpenAPIHono<{
|
|
|
15
15
|
created_at: string;
|
|
16
16
|
updated_at: string;
|
|
17
17
|
name: string;
|
|
18
|
-
provider: "auth0" | "
|
|
18
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
19
19
|
connection: string;
|
|
20
20
|
enabled: boolean;
|
|
21
21
|
credentials: {
|
|
@@ -47,7 +47,7 @@ export declare const migrationSourcesRoutes: OpenAPIHono<{
|
|
|
47
47
|
created_at: string;
|
|
48
48
|
updated_at: string;
|
|
49
49
|
name: string;
|
|
50
|
-
provider: "auth0" | "
|
|
50
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
51
51
|
connection: string;
|
|
52
52
|
enabled: boolean;
|
|
53
53
|
credentials: {
|
|
@@ -73,7 +73,7 @@ export declare const migrationSourcesRoutes: OpenAPIHono<{
|
|
|
73
73
|
} & {
|
|
74
74
|
json: {
|
|
75
75
|
name: string;
|
|
76
|
-
provider: "auth0" | "
|
|
76
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
77
77
|
connection: string;
|
|
78
78
|
credentials: {
|
|
79
79
|
domain: string;
|
|
@@ -90,7 +90,7 @@ export declare const migrationSourcesRoutes: OpenAPIHono<{
|
|
|
90
90
|
created_at: string;
|
|
91
91
|
updated_at: string;
|
|
92
92
|
name: string;
|
|
93
|
-
provider: "auth0" | "
|
|
93
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
94
94
|
connection: string;
|
|
95
95
|
enabled: boolean;
|
|
96
96
|
credentials: {
|
|
@@ -121,7 +121,7 @@ export declare const migrationSourcesRoutes: OpenAPIHono<{
|
|
|
121
121
|
json: {
|
|
122
122
|
id?: string | undefined;
|
|
123
123
|
name?: string | undefined;
|
|
124
|
-
provider?: "auth0" | "
|
|
124
|
+
provider?: "auth0" | "cognito" | "okta" | "oidc" | undefined;
|
|
125
125
|
connection?: string | undefined;
|
|
126
126
|
enabled?: boolean | undefined;
|
|
127
127
|
credentials?: {
|
|
@@ -137,7 +137,7 @@ export declare const migrationSourcesRoutes: OpenAPIHono<{
|
|
|
137
137
|
created_at: string;
|
|
138
138
|
updated_at: string;
|
|
139
139
|
name: string;
|
|
140
|
-
provider: "auth0" | "
|
|
140
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
141
141
|
connection: string;
|
|
142
142
|
enabled: boolean;
|
|
143
143
|
credentials: {
|
|
@@ -735,12 +735,12 @@ export declare const organizationRoutes: OpenAPIHono<{
|
|
|
735
735
|
invitee: {
|
|
736
736
|
email?: string | undefined;
|
|
737
737
|
};
|
|
738
|
+
id?: string | undefined;
|
|
738
739
|
app_metadata?: Record<string, any> | undefined;
|
|
739
740
|
user_metadata?: Record<string, any> | undefined;
|
|
740
|
-
id?: string | undefined;
|
|
741
741
|
connection_id?: string | undefined;
|
|
742
|
-
ttl_sec?: number | undefined;
|
|
743
742
|
roles?: string[] | undefined;
|
|
743
|
+
ttl_sec?: number | undefined;
|
|
744
744
|
send_invitation_email?: boolean | undefined;
|
|
745
745
|
};
|
|
746
746
|
};
|
|
@@ -52,7 +52,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
output: {
|
|
55
|
-
prompt: "
|
|
55
|
+
prompt: "signup" | "status" | "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";
|
|
56
56
|
language: string;
|
|
57
57
|
}[];
|
|
58
58
|
outputFormat: "json";
|
|
@@ -90,7 +90,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
90
90
|
$get: {
|
|
91
91
|
input: {
|
|
92
92
|
param: {
|
|
93
|
-
prompt: "
|
|
93
|
+
prompt: "signup" | "status" | "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";
|
|
94
94
|
language: string;
|
|
95
95
|
};
|
|
96
96
|
} & {
|
|
@@ -112,7 +112,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
112
112
|
$put: {
|
|
113
113
|
input: {
|
|
114
114
|
param: {
|
|
115
|
-
prompt: "
|
|
115
|
+
prompt: "signup" | "status" | "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";
|
|
116
116
|
language: string;
|
|
117
117
|
};
|
|
118
118
|
} & {
|
|
@@ -136,7 +136,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
136
136
|
$delete: {
|
|
137
137
|
input: {
|
|
138
138
|
param: {
|
|
139
|
-
prompt: "
|
|
139
|
+
prompt: "signup" | "status" | "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";
|
|
140
140
|
language: string;
|
|
141
141
|
};
|
|
142
142
|
} & {
|
|
@@ -220,9 +220,9 @@ export declare const roleRoutes: OpenAPIHono<{
|
|
|
220
220
|
};
|
|
221
221
|
} & {
|
|
222
222
|
query: {
|
|
223
|
+
from?: string | undefined;
|
|
223
224
|
page?: string | undefined;
|
|
224
225
|
include_totals?: string | undefined;
|
|
225
|
-
from?: string | undefined;
|
|
226
226
|
per_page?: string | undefined;
|
|
227
227
|
take?: string | undefined;
|
|
228
228
|
};
|
|
@@ -8,8 +8,8 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
|
|
|
8
8
|
$get: {
|
|
9
9
|
input: {
|
|
10
10
|
query: {
|
|
11
|
-
include_password_hashes?: "
|
|
12
|
-
gzip?: "
|
|
11
|
+
include_password_hashes?: "true" | "false" | undefined;
|
|
12
|
+
gzip?: "true" | "false" | undefined;
|
|
13
13
|
};
|
|
14
14
|
} & {
|
|
15
15
|
header: {
|
|
@@ -22,8 +22,8 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
|
|
|
22
22
|
} | {
|
|
23
23
|
input: {
|
|
24
24
|
query: {
|
|
25
|
-
include_password_hashes?: "
|
|
26
|
-
gzip?: "
|
|
25
|
+
include_password_hashes?: "true" | "false" | undefined;
|
|
26
|
+
gzip?: "true" | "false" | undefined;
|
|
27
27
|
};
|
|
28
28
|
} & {
|
|
29
29
|
header: {
|
|
@@ -42,7 +42,7 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
|
|
|
42
42
|
$post: {
|
|
43
43
|
input: {
|
|
44
44
|
query: {
|
|
45
|
-
include_password_hashes?: "
|
|
45
|
+
include_password_hashes?: "true" | "false" | undefined;
|
|
46
46
|
};
|
|
47
47
|
} & {
|
|
48
48
|
header: {
|
|
@@ -17,8 +17,8 @@ export declare const operationRoutes: OpenAPIHono<{
|
|
|
17
17
|
};
|
|
18
18
|
output: {
|
|
19
19
|
tenant_id: string | null;
|
|
20
|
-
kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision";
|
|
21
|
-
engine:
|
|
20
|
+
kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import";
|
|
21
|
+
engine: string;
|
|
22
22
|
id: string;
|
|
23
23
|
status: "pending" | "failed" | "running" | "succeeded" | "cancelled";
|
|
24
24
|
created_at: string;
|
|
@@ -26,7 +26,7 @@ export declare const operationRoutes: OpenAPIHono<{
|
|
|
26
26
|
events: {
|
|
27
27
|
operation_id: string;
|
|
28
28
|
step: string;
|
|
29
|
-
outcome: "failed" | "succeeded" | "
|
|
29
|
+
outcome: "failed" | "succeeded" | "skipped" | "started" | "retried" | "reconciled";
|
|
30
30
|
attempt: number;
|
|
31
31
|
id: string;
|
|
32
32
|
created_at: string;
|
|
@@ -39,8 +39,16 @@ export declare const operationRoutes: OpenAPIHono<{
|
|
|
39
39
|
target_worker_version?: string | null | undefined;
|
|
40
40
|
target_database_version?: string | null | undefined;
|
|
41
41
|
initiated_by?: string | null | undefined;
|
|
42
|
+
input?: {
|
|
43
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
44
|
+
} | null | undefined;
|
|
42
45
|
current_step?: string | null | undefined;
|
|
43
46
|
error?: string | null | undefined;
|
|
47
|
+
result?: {
|
|
48
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
49
|
+
} | null | undefined;
|
|
50
|
+
claimed_by?: string | null | undefined;
|
|
51
|
+
claim_expires_at?: string | null | undefined;
|
|
44
52
|
finished_at?: string | null | undefined;
|
|
45
53
|
};
|
|
46
54
|
outputFormat: "json";
|
|
@@ -58,7 +66,7 @@ export declare const tenantOperationsRoutes: OpenAPIHono<{
|
|
|
58
66
|
query: {
|
|
59
67
|
page?: unknown;
|
|
60
68
|
per_page?: unknown;
|
|
61
|
-
kind?: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | undefined;
|
|
69
|
+
kind?: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import" | undefined;
|
|
62
70
|
status?: "pending" | "failed" | "running" | "succeeded" | "cancelled" | undefined;
|
|
63
71
|
};
|
|
64
72
|
} & {
|
|
@@ -69,8 +77,8 @@ export declare const tenantOperationsRoutes: OpenAPIHono<{
|
|
|
69
77
|
output: {
|
|
70
78
|
operations: {
|
|
71
79
|
tenant_id: string | null;
|
|
72
|
-
kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision";
|
|
73
|
-
engine:
|
|
80
|
+
kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import";
|
|
81
|
+
engine: string;
|
|
74
82
|
id: string;
|
|
75
83
|
status: "pending" | "failed" | "running" | "succeeded" | "cancelled";
|
|
76
84
|
created_at: string;
|
|
@@ -80,8 +88,16 @@ export declare const tenantOperationsRoutes: OpenAPIHono<{
|
|
|
80
88
|
target_worker_version?: string | null | undefined;
|
|
81
89
|
target_database_version?: string | null | undefined;
|
|
82
90
|
initiated_by?: string | null | undefined;
|
|
91
|
+
input?: {
|
|
92
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
93
|
+
} | null | undefined;
|
|
83
94
|
current_step?: string | null | undefined;
|
|
84
95
|
error?: string | null | undefined;
|
|
96
|
+
result?: {
|
|
97
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
98
|
+
} | null | undefined;
|
|
99
|
+
claimed_by?: string | null | undefined;
|
|
100
|
+
claim_expires_at?: string | null | undefined;
|
|
85
101
|
finished_at?: string | null | undefined;
|
|
86
102
|
}[];
|
|
87
103
|
start: number;
|
|
@@ -101,13 +117,13 @@ export declare const tenantOperationsRoutes: OpenAPIHono<{
|
|
|
101
117
|
};
|
|
102
118
|
} & {
|
|
103
119
|
json: {
|
|
104
|
-
kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision";
|
|
120
|
+
kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import";
|
|
105
121
|
};
|
|
106
122
|
};
|
|
107
123
|
output: {
|
|
108
124
|
tenant_id: string | null;
|
|
109
|
-
kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision";
|
|
110
|
-
engine:
|
|
125
|
+
kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import";
|
|
126
|
+
engine: string;
|
|
111
127
|
id: string;
|
|
112
128
|
status: "pending" | "failed" | "running" | "succeeded" | "cancelled";
|
|
113
129
|
created_at: string;
|
|
@@ -117,8 +133,16 @@ export declare const tenantOperationsRoutes: OpenAPIHono<{
|
|
|
117
133
|
target_worker_version?: string | null | undefined;
|
|
118
134
|
target_database_version?: string | null | undefined;
|
|
119
135
|
initiated_by?: string | null | undefined;
|
|
136
|
+
input?: {
|
|
137
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
138
|
+
} | null | undefined;
|
|
120
139
|
current_step?: string | null | undefined;
|
|
121
140
|
error?: string | null | undefined;
|
|
141
|
+
result?: {
|
|
142
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
143
|
+
} | null | undefined;
|
|
144
|
+
claimed_by?: string | null | undefined;
|
|
145
|
+
claim_expires_at?: string | null | undefined;
|
|
122
146
|
finished_at?: string | null | undefined;
|
|
123
147
|
};
|
|
124
148
|
outputFormat: "json";
|
|
@@ -210,15 +210,10 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
210
210
|
};
|
|
211
211
|
} & {
|
|
212
212
|
json: {
|
|
213
|
-
sessions?: {
|
|
214
|
-
oidc_logout_prompt_enabled?: boolean | undefined;
|
|
215
|
-
} | undefined;
|
|
216
213
|
id?: string | undefined;
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
} | undefined;
|
|
221
|
-
default_organization?: string | undefined;
|
|
214
|
+
mtls?: {
|
|
215
|
+
enable_endpoint_aliases?: boolean | undefined;
|
|
216
|
+
} | null | undefined;
|
|
222
217
|
audience?: string | undefined;
|
|
223
218
|
friendly_name?: string | undefined;
|
|
224
219
|
picture_url?: string | undefined;
|
|
@@ -233,6 +228,7 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
233
228
|
session_cookie?: {
|
|
234
229
|
mode?: "persistent" | "non-persistent" | undefined;
|
|
235
230
|
} | undefined;
|
|
231
|
+
allowed_logout_urls?: string[] | undefined;
|
|
236
232
|
default_redirection_uri?: string | undefined;
|
|
237
233
|
default_client_id?: string | undefined;
|
|
238
234
|
enabled_locales?: string[] | undefined;
|
|
@@ -306,12 +302,16 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
306
302
|
} | undefined;
|
|
307
303
|
} | null | undefined;
|
|
308
304
|
default_audience?: string | undefined;
|
|
305
|
+
default_organization?: string | undefined;
|
|
306
|
+
sessions?: {
|
|
307
|
+
oidc_logout_prompt_enabled?: boolean | undefined;
|
|
308
|
+
} | undefined;
|
|
309
|
+
oidc_logout?: {
|
|
310
|
+
rp_logout_end_session_endpoint_discovery?: boolean | undefined;
|
|
311
|
+
} | undefined;
|
|
309
312
|
allow_organization_name_in_authentication_api?: boolean | undefined;
|
|
310
313
|
customize_mfa_in_postlogin_action?: boolean | undefined;
|
|
311
314
|
acr_values_supported?: string[] | undefined;
|
|
312
|
-
mtls?: {
|
|
313
|
-
enable_endpoint_aliases?: boolean | undefined;
|
|
314
|
-
} | null | undefined;
|
|
315
315
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
316
316
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
317
317
|
deployment_type?: "shared" | "wfp" | undefined;
|