authhero 9.23.1 → 9.24.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/authhero-widget.esm.js +1 -1
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/assets/u/widget/{p-91459994.entry.js → p-210f06bf.entry.js} +1 -1
- package/dist/authhero.cjs +116 -116
- package/dist/authhero.d.ts +1385 -231
- package/dist/authhero.mjs +14098 -13699
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/helpers/logging.d.ts +7 -0
- package/dist/types/helpers/outbox-destinations/log-streams.d.ts +2 -0
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/helpers/users.d.ts +5 -0
- package/dist/types/index.d.ts +1385 -231
- package/dist/types/routes/auth-api/index.d.ts +23 -23
- package/dist/types/routes/auth-api/logout.d.ts +2 -2
- package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
- package/dist/types/routes/auth-api/passwordless.d.ts +8 -8
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/actions.d.ts +29 -3
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +7 -7
- package/dist/types/routes/management-api/email-templates.d.ts +2 -2
- package/dist/types/routes/management-api/emails.d.ts +2 -2
- package/dist/types/routes/management-api/failed-events.d.ts +96 -3
- package/dist/types/routes/management-api/flows.d.ts +52 -0
- package/dist/types/routes/management-api/forms.d.ts +609 -0
- package/dist/types/routes/management-api/grants.d.ts +11 -0
- package/dist/types/routes/management-api/helpers.d.ts +9 -1
- package/dist/types/routes/management-api/hooks.d.ts +68 -4
- package/dist/types/routes/management-api/index.d.ts +1170 -114
- package/dist/types/routes/management-api/keys.d.ts +8 -8
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/organizations.d.ts +65 -7
- package/dist/types/routes/management-api/prompts.d.ts +6 -6
- package/dist/types/routes/management-api/tenants.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +159 -16
- package/dist/types/routes/saml/index.d.ts +98 -0
- package/dist/types/routes/saml/samlp.d.ts +98 -0
- package/dist/types/routes/universal-login/continue.d.ts +2 -2
- package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
- package/dist/types/routes/universal-login/form-node.d.ts +4 -4
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/impersonate.d.ts +4 -4
- package/dist/types/routes/universal-login/index.d.ts +8 -8
- package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
- package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
- package/dist/types/strategies/saml.d.ts +1 -1
- package/package.json +6 -6
|
@@ -447,7 +447,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
447
447
|
client_id: string;
|
|
448
448
|
redirect_url?: string | undefined;
|
|
449
449
|
login_hint?: string | undefined;
|
|
450
|
-
screen_hint?: "
|
|
450
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
451
451
|
};
|
|
452
452
|
};
|
|
453
453
|
output: {};
|
|
@@ -459,7 +459,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
459
459
|
client_id: string;
|
|
460
460
|
redirect_url?: string | undefined;
|
|
461
461
|
login_hint?: string | undefined;
|
|
462
|
-
screen_hint?: "
|
|
462
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
463
463
|
};
|
|
464
464
|
};
|
|
465
465
|
output: {
|
|
@@ -742,19 +742,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
742
742
|
send: "code" | "link";
|
|
743
743
|
authParams: {
|
|
744
744
|
state?: string | undefined;
|
|
745
|
-
prompt?: string | undefined;
|
|
746
745
|
audience?: string | undefined;
|
|
747
746
|
username?: string | undefined;
|
|
748
|
-
|
|
749
|
-
organization?: string | undefined;
|
|
747
|
+
act_as?: string | undefined;
|
|
750
748
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
751
749
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
752
750
|
redirect_uri?: string | undefined;
|
|
753
|
-
|
|
754
|
-
act_as?: string | undefined;
|
|
751
|
+
organization?: string | undefined;
|
|
755
752
|
nonce?: string | undefined;
|
|
753
|
+
scope?: string | undefined;
|
|
754
|
+
prompt?: string | undefined;
|
|
756
755
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
757
756
|
code_challenge?: string | undefined;
|
|
757
|
+
ui_locales?: string | undefined;
|
|
758
758
|
max_age?: number | undefined;
|
|
759
759
|
acr_values?: string | undefined;
|
|
760
760
|
claims?: {
|
|
@@ -778,19 +778,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
778
778
|
send: "code" | "link";
|
|
779
779
|
authParams: {
|
|
780
780
|
state?: string | undefined;
|
|
781
|
-
prompt?: string | undefined;
|
|
782
781
|
audience?: string | undefined;
|
|
783
782
|
username?: string | undefined;
|
|
784
|
-
|
|
785
|
-
organization?: string | undefined;
|
|
783
|
+
act_as?: string | undefined;
|
|
786
784
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
787
785
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
788
786
|
redirect_uri?: string | undefined;
|
|
789
|
-
|
|
790
|
-
act_as?: string | undefined;
|
|
787
|
+
organization?: string | undefined;
|
|
791
788
|
nonce?: string | undefined;
|
|
789
|
+
scope?: string | undefined;
|
|
790
|
+
prompt?: string | undefined;
|
|
792
791
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
793
792
|
code_challenge?: string | undefined;
|
|
793
|
+
ui_locales?: string | undefined;
|
|
794
794
|
max_age?: number | undefined;
|
|
795
795
|
acr_values?: string | undefined;
|
|
796
796
|
claims?: {
|
|
@@ -921,14 +921,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
921
921
|
input: {
|
|
922
922
|
form: {
|
|
923
923
|
token: string;
|
|
924
|
-
token_type_hint?: "
|
|
924
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
925
925
|
client_id?: string | undefined;
|
|
926
926
|
client_secret?: string | undefined;
|
|
927
927
|
};
|
|
928
928
|
} & {
|
|
929
929
|
json: {
|
|
930
930
|
token: string;
|
|
931
|
-
token_type_hint?: "
|
|
931
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
932
932
|
client_id?: string | undefined;
|
|
933
933
|
client_secret?: string | undefined;
|
|
934
934
|
};
|
|
@@ -940,14 +940,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
940
940
|
input: {
|
|
941
941
|
form: {
|
|
942
942
|
token: string;
|
|
943
|
-
token_type_hint?: "
|
|
943
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
944
944
|
client_id?: string | undefined;
|
|
945
945
|
client_secret?: string | undefined;
|
|
946
946
|
};
|
|
947
947
|
} & {
|
|
948
948
|
json: {
|
|
949
949
|
token: string;
|
|
950
|
-
token_type_hint?: "
|
|
950
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
951
951
|
client_id?: string | undefined;
|
|
952
952
|
client_secret?: string | undefined;
|
|
953
953
|
};
|
|
@@ -962,14 +962,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
962
962
|
input: {
|
|
963
963
|
form: {
|
|
964
964
|
token: string;
|
|
965
|
-
token_type_hint?: "
|
|
965
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
966
966
|
client_id?: string | undefined;
|
|
967
967
|
client_secret?: string | undefined;
|
|
968
968
|
};
|
|
969
969
|
} & {
|
|
970
970
|
json: {
|
|
971
971
|
token: string;
|
|
972
|
-
token_type_hint?: "
|
|
972
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
973
973
|
client_id?: string | undefined;
|
|
974
974
|
client_secret?: string | undefined;
|
|
975
975
|
};
|
|
@@ -1829,7 +1829,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1829
1829
|
};
|
|
1830
1830
|
output: {};
|
|
1831
1831
|
outputFormat: string;
|
|
1832
|
-
status:
|
|
1832
|
+
status: 400;
|
|
1833
1833
|
} | {
|
|
1834
1834
|
input: {
|
|
1835
1835
|
query: {
|
|
@@ -1843,7 +1843,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1843
1843
|
};
|
|
1844
1844
|
output: {};
|
|
1845
1845
|
outputFormat: string;
|
|
1846
|
-
status:
|
|
1846
|
+
status: 200;
|
|
1847
1847
|
} | {
|
|
1848
1848
|
input: {
|
|
1849
1849
|
query: {
|
|
@@ -1857,7 +1857,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1857
1857
|
};
|
|
1858
1858
|
output: {};
|
|
1859
1859
|
outputFormat: string;
|
|
1860
|
-
status:
|
|
1860
|
+
status: 302;
|
|
1861
1861
|
};
|
|
1862
1862
|
};
|
|
1863
1863
|
}, "/oidc/logout"> & import("hono/types").MergeSchemaPath<{
|
|
@@ -1871,7 +1871,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1871
1871
|
};
|
|
1872
1872
|
output: {};
|
|
1873
1873
|
outputFormat: string;
|
|
1874
|
-
status:
|
|
1874
|
+
status: 400;
|
|
1875
1875
|
} | {
|
|
1876
1876
|
input: {
|
|
1877
1877
|
query: {
|
|
@@ -1881,7 +1881,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1881
1881
|
};
|
|
1882
1882
|
output: {};
|
|
1883
1883
|
outputFormat: string;
|
|
1884
|
-
status:
|
|
1884
|
+
status: 302;
|
|
1885
1885
|
};
|
|
1886
1886
|
};
|
|
1887
1887
|
}, "/v2/logout">, "/">;
|
|
@@ -14,7 +14,7 @@ export declare const logoutRoutes: OpenAPIHono<{
|
|
|
14
14
|
};
|
|
15
15
|
output: {};
|
|
16
16
|
outputFormat: string;
|
|
17
|
-
status:
|
|
17
|
+
status: 400;
|
|
18
18
|
} | {
|
|
19
19
|
input: {
|
|
20
20
|
query: {
|
|
@@ -24,7 +24,7 @@ export declare const logoutRoutes: OpenAPIHono<{
|
|
|
24
24
|
};
|
|
25
25
|
output: {};
|
|
26
26
|
outputFormat: string;
|
|
27
|
-
status:
|
|
27
|
+
status: 302;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
}, "/">;
|
|
@@ -18,7 +18,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
|
|
|
18
18
|
};
|
|
19
19
|
output: {};
|
|
20
20
|
outputFormat: string;
|
|
21
|
-
status:
|
|
21
|
+
status: 400;
|
|
22
22
|
} | {
|
|
23
23
|
input: {
|
|
24
24
|
query: {
|
|
@@ -32,7 +32,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
|
|
|
32
32
|
};
|
|
33
33
|
output: {};
|
|
34
34
|
outputFormat: string;
|
|
35
|
-
status:
|
|
35
|
+
status: 200;
|
|
36
36
|
} | {
|
|
37
37
|
input: {
|
|
38
38
|
query: {
|
|
@@ -46,7 +46,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
|
|
|
46
46
|
};
|
|
47
47
|
output: {};
|
|
48
48
|
outputFormat: string;
|
|
49
|
-
status:
|
|
49
|
+
status: 302;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
}, "/">;
|
|
@@ -14,16 +14,16 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
+
state?: string | undefined;
|
|
17
18
|
audience?: string | undefined;
|
|
18
|
-
response_type?: AuthorizationResponseType | undefined;
|
|
19
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
20
|
-
scope?: string | undefined;
|
|
21
19
|
username?: string | undefined;
|
|
22
|
-
state?: string | undefined;
|
|
23
20
|
act_as?: string | undefined;
|
|
21
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
22
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
24
23
|
redirect_uri?: string | undefined;
|
|
25
24
|
organization?: string | undefined;
|
|
26
25
|
nonce?: string | undefined;
|
|
26
|
+
scope?: string | undefined;
|
|
27
27
|
prompt?: string | undefined;
|
|
28
28
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
29
29
|
code_challenge?: string | undefined;
|
|
@@ -50,16 +50,16 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
50
50
|
phone_number: string;
|
|
51
51
|
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
+
state?: string | undefined;
|
|
53
54
|
audience?: string | undefined;
|
|
54
|
-
response_type?: AuthorizationResponseType | undefined;
|
|
55
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
56
|
-
scope?: string | undefined;
|
|
57
55
|
username?: string | undefined;
|
|
58
|
-
state?: string | undefined;
|
|
59
56
|
act_as?: string | undefined;
|
|
57
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
58
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
60
59
|
redirect_uri?: string | undefined;
|
|
61
60
|
organization?: string | undefined;
|
|
62
61
|
nonce?: string | undefined;
|
|
62
|
+
scope?: string | undefined;
|
|
63
63
|
prompt?: string | undefined;
|
|
64
64
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
65
65
|
code_challenge?: string | undefined;
|
|
@@ -76,6 +76,32 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
76
76
|
}[];
|
|
77
77
|
total?: number | undefined;
|
|
78
78
|
next?: string | undefined;
|
|
79
|
+
} | {
|
|
80
|
+
actions: {
|
|
81
|
+
name: string;
|
|
82
|
+
code: string;
|
|
83
|
+
id: string;
|
|
84
|
+
tenant_id: string;
|
|
85
|
+
status: "draft" | "built";
|
|
86
|
+
created_at: string;
|
|
87
|
+
updated_at: string;
|
|
88
|
+
supported_triggers?: {
|
|
89
|
+
id: string;
|
|
90
|
+
version?: string | undefined;
|
|
91
|
+
}[] | undefined;
|
|
92
|
+
runtime?: string | undefined;
|
|
93
|
+
dependencies?: {
|
|
94
|
+
name: string;
|
|
95
|
+
version: string;
|
|
96
|
+
}[] | undefined;
|
|
97
|
+
is_system?: boolean | undefined;
|
|
98
|
+
inherit?: boolean | undefined;
|
|
99
|
+
deployed_at?: string | undefined;
|
|
100
|
+
secrets?: {
|
|
101
|
+
name: string;
|
|
102
|
+
}[] | undefined;
|
|
103
|
+
}[];
|
|
104
|
+
next?: string | undefined;
|
|
79
105
|
};
|
|
80
106
|
outputFormat: "json";
|
|
81
107
|
status: 200;
|
|
@@ -297,7 +323,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
297
323
|
};
|
|
298
324
|
output: {};
|
|
299
325
|
outputFormat: string;
|
|
300
|
-
status:
|
|
326
|
+
status: 200;
|
|
301
327
|
} | {
|
|
302
328
|
input: {
|
|
303
329
|
param: {
|
|
@@ -310,7 +336,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
310
336
|
};
|
|
311
337
|
output: {};
|
|
312
338
|
outputFormat: string;
|
|
313
|
-
status:
|
|
339
|
+
status: 404;
|
|
314
340
|
} | {
|
|
315
341
|
input: {
|
|
316
342
|
param: {
|
|
@@ -656,7 +682,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
656
682
|
args: import("hono/utils/types").JSONValue[];
|
|
657
683
|
}[];
|
|
658
684
|
logs: {
|
|
659
|
-
level: "error" | "
|
|
685
|
+
level: "error" | "log" | "info" | "warn" | "debug";
|
|
660
686
|
message: string;
|
|
661
687
|
}[];
|
|
662
688
|
error?: string | undefined;
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "
|
|
40
|
+
type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
41
41
|
phone_number?: string | undefined;
|
|
42
42
|
totp_secret?: string | undefined;
|
|
43
43
|
credential_id?: string | undefined;
|
|
@@ -78,7 +78,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
78
78
|
background_color: string;
|
|
79
79
|
background_image_url: string;
|
|
80
80
|
page_layout: "center" | "left" | "right";
|
|
81
|
-
logo_placement?: "
|
|
81
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
82
82
|
};
|
|
83
83
|
widget: {
|
|
84
84
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -168,7 +168,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
168
168
|
background_color: string;
|
|
169
169
|
background_image_url: string;
|
|
170
170
|
page_layout: "center" | "left" | "right";
|
|
171
|
-
logo_placement?: "
|
|
171
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
172
172
|
};
|
|
173
173
|
widget: {
|
|
174
174
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -247,7 +247,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
247
247
|
background_color: string;
|
|
248
248
|
background_image_url: string;
|
|
249
249
|
page_layout: "center" | "left" | "right";
|
|
250
|
-
logo_placement?: "
|
|
250
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
251
251
|
};
|
|
252
252
|
widget: {
|
|
253
253
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -370,7 +370,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
370
370
|
};
|
|
371
371
|
output: {};
|
|
372
372
|
outputFormat: string;
|
|
373
|
-
status:
|
|
373
|
+
status: 400;
|
|
374
374
|
} | {
|
|
375
375
|
input: {
|
|
376
376
|
header: {
|
|
@@ -383,7 +383,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
383
383
|
};
|
|
384
384
|
output: {};
|
|
385
385
|
outputFormat: string;
|
|
386
|
-
status:
|
|
386
|
+
status: 204;
|
|
387
387
|
};
|
|
388
388
|
};
|
|
389
389
|
} & {
|
|
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
409
409
|
} & {
|
|
410
410
|
json: {
|
|
411
411
|
body?: string | undefined;
|
|
412
|
-
screen?: "
|
|
412
|
+
screen?: "password" | "identifier" | "signup" | "login" | undefined;
|
|
413
413
|
branding?: {
|
|
414
414
|
colors?: {
|
|
415
415
|
primary: string;
|
|
@@ -495,7 +495,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
495
495
|
background_color: string;
|
|
496
496
|
background_image_url: string;
|
|
497
497
|
page_layout: "center" | "left" | "right";
|
|
498
|
-
logo_placement?: "
|
|
498
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
499
499
|
} | undefined;
|
|
500
500
|
widget?: {
|
|
501
501
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -233,7 +233,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
233
233
|
};
|
|
234
234
|
output: {};
|
|
235
235
|
outputFormat: string;
|
|
236
|
-
status:
|
|
236
|
+
status: 204;
|
|
237
237
|
} | {
|
|
238
238
|
input: {
|
|
239
239
|
param: {
|
|
@@ -246,7 +246,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
246
246
|
};
|
|
247
247
|
output: {};
|
|
248
248
|
outputFormat: string;
|
|
249
|
-
status:
|
|
249
|
+
status: 404;
|
|
250
250
|
};
|
|
251
251
|
};
|
|
252
252
|
} & {
|
|
@@ -109,7 +109,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
109
109
|
};
|
|
110
110
|
output: {};
|
|
111
111
|
outputFormat: string;
|
|
112
|
-
status:
|
|
112
|
+
status: 204;
|
|
113
113
|
} | {
|
|
114
114
|
input: {
|
|
115
115
|
header: {
|
|
@@ -118,7 +118,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
118
118
|
};
|
|
119
119
|
output: {};
|
|
120
120
|
outputFormat: string;
|
|
121
|
-
status:
|
|
121
|
+
status: 404;
|
|
122
122
|
};
|
|
123
123
|
};
|
|
124
124
|
}, "/">;
|
|
@@ -30,7 +30,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
30
30
|
log_type: string;
|
|
31
31
|
category: "user_action" | "admin_action" | "system" | "api";
|
|
32
32
|
actor: {
|
|
33
|
-
type: "client_credentials" | "
|
|
33
|
+
type: "client_credentials" | "user" | "system" | "admin" | "api_key";
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
email?: string | undefined;
|
|
36
36
|
org_id?: string | undefined;
|
|
@@ -104,12 +104,105 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
104
104
|
} | undefined;
|
|
105
105
|
is_mobile?: boolean | undefined;
|
|
106
106
|
execution_id?: string | undefined;
|
|
107
|
+
details?: {
|
|
108
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
109
|
+
} | undefined;
|
|
110
|
+
login_session_id?: string | undefined;
|
|
107
111
|
dead_lettered_at?: string | null | undefined;
|
|
108
112
|
final_error?: string | null | undefined;
|
|
109
113
|
}[];
|
|
110
114
|
start: number;
|
|
111
115
|
limit: number;
|
|
112
116
|
length: number;
|
|
117
|
+
} | {
|
|
118
|
+
events: {
|
|
119
|
+
tenant_id: string;
|
|
120
|
+
event_type: string;
|
|
121
|
+
log_type: string;
|
|
122
|
+
category: "user_action" | "admin_action" | "system" | "api";
|
|
123
|
+
actor: {
|
|
124
|
+
type: "client_credentials" | "user" | "system" | "admin" | "api_key";
|
|
125
|
+
id?: string | undefined;
|
|
126
|
+
email?: string | undefined;
|
|
127
|
+
org_id?: string | undefined;
|
|
128
|
+
org_name?: string | undefined;
|
|
129
|
+
scopes?: string[] | undefined;
|
|
130
|
+
client_id?: string | undefined;
|
|
131
|
+
};
|
|
132
|
+
target: {
|
|
133
|
+
type: string;
|
|
134
|
+
id: string;
|
|
135
|
+
before?: {
|
|
136
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
137
|
+
} | undefined;
|
|
138
|
+
after?: {
|
|
139
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
140
|
+
} | undefined;
|
|
141
|
+
diff?: {
|
|
142
|
+
[x: string]: {
|
|
143
|
+
old: import("hono/utils/types").JSONValue;
|
|
144
|
+
new: import("hono/utils/types").JSONValue;
|
|
145
|
+
};
|
|
146
|
+
} | undefined;
|
|
147
|
+
};
|
|
148
|
+
request: {
|
|
149
|
+
method: string;
|
|
150
|
+
path: string;
|
|
151
|
+
ip: string;
|
|
152
|
+
query?: {
|
|
153
|
+
[x: string]: string;
|
|
154
|
+
} | undefined;
|
|
155
|
+
body?: import("hono/utils/types").JSONValue | undefined;
|
|
156
|
+
user_agent?: string | undefined;
|
|
157
|
+
correlation_id?: string | undefined;
|
|
158
|
+
redirect_uri?: string | undefined;
|
|
159
|
+
authorization_url?: string | undefined;
|
|
160
|
+
};
|
|
161
|
+
hostname: string;
|
|
162
|
+
timestamp: string;
|
|
163
|
+
id: string;
|
|
164
|
+
created_at: string;
|
|
165
|
+
processed_at: string | null;
|
|
166
|
+
retry_count: number;
|
|
167
|
+
next_retry_at: string | null;
|
|
168
|
+
error: string | null;
|
|
169
|
+
description?: string | undefined;
|
|
170
|
+
response?: {
|
|
171
|
+
status_code: number;
|
|
172
|
+
body?: import("hono/utils/types").JSONValue | undefined;
|
|
173
|
+
} | undefined;
|
|
174
|
+
connection?: string | undefined;
|
|
175
|
+
connection_id?: string | undefined;
|
|
176
|
+
client_name?: string | undefined;
|
|
177
|
+
strategy?: string | undefined;
|
|
178
|
+
strategy_type?: string | undefined;
|
|
179
|
+
audience?: string | undefined;
|
|
180
|
+
scope?: string | undefined;
|
|
181
|
+
location?: {
|
|
182
|
+
country_code: string;
|
|
183
|
+
city_name: string;
|
|
184
|
+
latitude: string;
|
|
185
|
+
longitude: string;
|
|
186
|
+
time_zone: string;
|
|
187
|
+
continent_code: string;
|
|
188
|
+
} | undefined;
|
|
189
|
+
auth0_client?: {
|
|
190
|
+
name: string;
|
|
191
|
+
version: string;
|
|
192
|
+
env?: {
|
|
193
|
+
[x: string]: string;
|
|
194
|
+
} | undefined;
|
|
195
|
+
} | undefined;
|
|
196
|
+
is_mobile?: boolean | undefined;
|
|
197
|
+
execution_id?: string | undefined;
|
|
198
|
+
details?: {
|
|
199
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
200
|
+
} | undefined;
|
|
201
|
+
login_session_id?: string | undefined;
|
|
202
|
+
dead_lettered_at?: string | null | undefined;
|
|
203
|
+
final_error?: string | null | undefined;
|
|
204
|
+
}[];
|
|
205
|
+
next?: string | undefined;
|
|
113
206
|
};
|
|
114
207
|
outputFormat: "json";
|
|
115
208
|
status: 200;
|
|
@@ -202,7 +295,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
202
295
|
};
|
|
203
296
|
output: {};
|
|
204
297
|
outputFormat: string;
|
|
205
|
-
status:
|
|
298
|
+
status: 204;
|
|
206
299
|
} | {
|
|
207
300
|
input: {
|
|
208
301
|
param: {
|
|
@@ -215,7 +308,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
215
308
|
};
|
|
216
309
|
output: {};
|
|
217
310
|
outputFormat: string;
|
|
218
|
-
status:
|
|
311
|
+
status: 404;
|
|
219
312
|
};
|
|
220
313
|
};
|
|
221
314
|
}, "/">;
|
|
@@ -128,6 +128,58 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
128
128
|
}[];
|
|
129
129
|
total?: number | undefined;
|
|
130
130
|
next?: string | undefined;
|
|
131
|
+
} | {
|
|
132
|
+
flows: {
|
|
133
|
+
name: string;
|
|
134
|
+
actions: ({
|
|
135
|
+
id: string;
|
|
136
|
+
type: "AUTH0";
|
|
137
|
+
action: "UPDATE_USER";
|
|
138
|
+
params: {
|
|
139
|
+
user_id: string;
|
|
140
|
+
changes: {
|
|
141
|
+
[x: string]: any;
|
|
142
|
+
};
|
|
143
|
+
connection_id?: string | undefined;
|
|
144
|
+
};
|
|
145
|
+
alias?: string | undefined;
|
|
146
|
+
allow_failure?: boolean | undefined;
|
|
147
|
+
mask_output?: boolean | undefined;
|
|
148
|
+
} | {
|
|
149
|
+
id: string;
|
|
150
|
+
type: "EMAIL";
|
|
151
|
+
action: "VERIFY_EMAIL";
|
|
152
|
+
params: {
|
|
153
|
+
email: string;
|
|
154
|
+
rules?: {
|
|
155
|
+
require_mx_record?: boolean | undefined;
|
|
156
|
+
block_aliases?: boolean | undefined;
|
|
157
|
+
block_free_emails?: boolean | undefined;
|
|
158
|
+
block_disposable_emails?: boolean | undefined;
|
|
159
|
+
blocklist?: string[] | undefined;
|
|
160
|
+
allowlist?: string[] | undefined;
|
|
161
|
+
} | undefined;
|
|
162
|
+
};
|
|
163
|
+
alias?: string | undefined;
|
|
164
|
+
allow_failure?: boolean | undefined;
|
|
165
|
+
mask_output?: boolean | undefined;
|
|
166
|
+
} | {
|
|
167
|
+
id: string;
|
|
168
|
+
type: "REDIRECT";
|
|
169
|
+
action: "REDIRECT_USER";
|
|
170
|
+
params: {
|
|
171
|
+
target: "custom" | "change-email" | "account";
|
|
172
|
+
custom_url?: string | undefined;
|
|
173
|
+
};
|
|
174
|
+
alias?: string | undefined;
|
|
175
|
+
allow_failure?: boolean | undefined;
|
|
176
|
+
mask_output?: boolean | undefined;
|
|
177
|
+
})[];
|
|
178
|
+
created_at: string;
|
|
179
|
+
updated_at: string;
|
|
180
|
+
id: string;
|
|
181
|
+
}[];
|
|
182
|
+
next?: string | undefined;
|
|
131
183
|
};
|
|
132
184
|
outputFormat: "json";
|
|
133
185
|
status: 200;
|