authhero 4.120.0 → 5.1.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 +133 -133
- package/dist/authhero.d.ts +751 -42
- package/dist/authhero.mjs +18310 -17058
- package/dist/stats.html +1 -1
- package/package.json +4 -4
package/dist/authhero.d.ts
CHANGED
|
@@ -69,6 +69,8 @@ export declare const actionInsertSchema: z.ZodObject<{
|
|
|
69
69
|
name: string;
|
|
70
70
|
value?: string | undefined;
|
|
71
71
|
}>, "many">>;
|
|
72
|
+
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
73
|
+
inherit: z.ZodOptional<z.ZodBoolean>;
|
|
72
74
|
}, "strip", z.ZodTypeAny, {
|
|
73
75
|
code: string;
|
|
74
76
|
name: string;
|
|
@@ -85,6 +87,8 @@ export declare const actionInsertSchema: z.ZodObject<{
|
|
|
85
87
|
name: string;
|
|
86
88
|
value?: string | undefined;
|
|
87
89
|
}[] | undefined;
|
|
90
|
+
is_system?: boolean | undefined;
|
|
91
|
+
inherit?: boolean | undefined;
|
|
88
92
|
}, {
|
|
89
93
|
code: string;
|
|
90
94
|
name: string;
|
|
@@ -101,6 +105,8 @@ export declare const actionInsertSchema: z.ZodObject<{
|
|
|
101
105
|
name: string;
|
|
102
106
|
value?: string | undefined;
|
|
103
107
|
}[] | undefined;
|
|
108
|
+
is_system?: boolean | undefined;
|
|
109
|
+
inherit?: boolean | undefined;
|
|
104
110
|
}>;
|
|
105
111
|
export type ActionInsert = z.infer<typeof actionInsertSchema>;
|
|
106
112
|
export declare const actionUpdateSchema: z.ZodObject<{
|
|
@@ -137,6 +143,8 @@ export declare const actionUpdateSchema: z.ZodObject<{
|
|
|
137
143
|
name: string;
|
|
138
144
|
value?: string | undefined;
|
|
139
145
|
}>, "many">>>;
|
|
146
|
+
is_system: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
147
|
+
inherit: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
140
148
|
} & {
|
|
141
149
|
status: z.ZodOptional<z.ZodEnum<[
|
|
142
150
|
"draft",
|
|
@@ -160,6 +168,8 @@ export declare const actionUpdateSchema: z.ZodObject<{
|
|
|
160
168
|
name: string;
|
|
161
169
|
value?: string | undefined;
|
|
162
170
|
}[] | undefined;
|
|
171
|
+
is_system?: boolean | undefined;
|
|
172
|
+
inherit?: boolean | undefined;
|
|
163
173
|
deployed_at?: string | undefined;
|
|
164
174
|
}, {
|
|
165
175
|
code?: string | undefined;
|
|
@@ -178,6 +188,8 @@ export declare const actionUpdateSchema: z.ZodObject<{
|
|
|
178
188
|
name: string;
|
|
179
189
|
value?: string | undefined;
|
|
180
190
|
}[] | undefined;
|
|
191
|
+
is_system?: boolean | undefined;
|
|
192
|
+
inherit?: boolean | undefined;
|
|
181
193
|
deployed_at?: string | undefined;
|
|
182
194
|
}>;
|
|
183
195
|
export type ActionUpdate = z.infer<typeof actionUpdateSchema>;
|
|
@@ -205,6 +217,8 @@ export declare const actionSchema: z.ZodObject<{
|
|
|
205
217
|
version: string;
|
|
206
218
|
name: string;
|
|
207
219
|
}>, "many">>;
|
|
220
|
+
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
221
|
+
inherit: z.ZodOptional<z.ZodBoolean>;
|
|
208
222
|
} & {
|
|
209
223
|
created_at: z.ZodString;
|
|
210
224
|
updated_at: z.ZodString;
|
|
@@ -246,6 +260,8 @@ export declare const actionSchema: z.ZodObject<{
|
|
|
246
260
|
name: string;
|
|
247
261
|
value?: string | undefined;
|
|
248
262
|
}[] | undefined;
|
|
263
|
+
is_system?: boolean | undefined;
|
|
264
|
+
inherit?: boolean | undefined;
|
|
249
265
|
deployed_at?: string | undefined;
|
|
250
266
|
}, {
|
|
251
267
|
created_at: string;
|
|
@@ -268,6 +284,8 @@ export declare const actionSchema: z.ZodObject<{
|
|
|
268
284
|
name: string;
|
|
269
285
|
value?: string | undefined;
|
|
270
286
|
}[] | undefined;
|
|
287
|
+
is_system?: boolean | undefined;
|
|
288
|
+
inherit?: boolean | undefined;
|
|
271
289
|
deployed_at?: string | undefined;
|
|
272
290
|
}>;
|
|
273
291
|
export type Action = z.infer<typeof actionSchema>;
|
|
@@ -3592,7 +3610,6 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3592
3610
|
"private_key_jwt"
|
|
3593
3611
|
]>>>;
|
|
3594
3612
|
client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3595
|
-
disable_sign_ups: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3596
3613
|
hide_sign_up_disabled_error: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3597
3614
|
mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3598
3615
|
initiate_login_uri: z.ZodOptional<z.ZodString>;
|
|
@@ -3709,7 +3726,6 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3709
3726
|
addons?: Record<string, any> | undefined;
|
|
3710
3727
|
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
3711
3728
|
client_metadata?: Record<string, string> | undefined;
|
|
3712
|
-
disable_sign_ups?: boolean | undefined;
|
|
3713
3729
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
3714
3730
|
mobile?: Record<string, any> | undefined;
|
|
3715
3731
|
initiate_login_uri?: string | undefined;
|
|
@@ -3770,7 +3786,6 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3770
3786
|
addons?: Record<string, any> | undefined;
|
|
3771
3787
|
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
3772
3788
|
client_metadata?: Record<string, string> | undefined;
|
|
3773
|
-
disable_sign_ups?: boolean | undefined;
|
|
3774
3789
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
3775
3790
|
mobile?: Record<string, any> | undefined;
|
|
3776
3791
|
initiate_login_uri?: string | undefined;
|
|
@@ -3858,7 +3873,6 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3858
3873
|
"private_key_jwt"
|
|
3859
3874
|
]>>>;
|
|
3860
3875
|
client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3861
|
-
disable_sign_ups: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3862
3876
|
hide_sign_up_disabled_error: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3863
3877
|
mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3864
3878
|
initiate_login_uri: z.ZodOptional<z.ZodString>;
|
|
@@ -3979,7 +3993,6 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3979
3993
|
addons?: Record<string, any> | undefined;
|
|
3980
3994
|
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
3981
3995
|
client_metadata?: Record<string, string> | undefined;
|
|
3982
|
-
disable_sign_ups?: boolean | undefined;
|
|
3983
3996
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
3984
3997
|
mobile?: Record<string, any> | undefined;
|
|
3985
3998
|
initiate_login_uri?: string | undefined;
|
|
@@ -4042,7 +4055,6 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
4042
4055
|
addons?: Record<string, any> | undefined;
|
|
4043
4056
|
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
4044
4057
|
client_metadata?: Record<string, string> | undefined;
|
|
4045
|
-
disable_sign_ups?: boolean | undefined;
|
|
4046
4058
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
4047
4059
|
mobile?: Record<string, any> | undefined;
|
|
4048
4060
|
initiate_login_uri?: string | undefined;
|
|
@@ -4082,19 +4094,19 @@ export declare const clientGrantInsertSchema: z.ZodObject<{
|
|
|
4082
4094
|
}, "strip", z.ZodTypeAny, {
|
|
4083
4095
|
client_id: string;
|
|
4084
4096
|
audience: string;
|
|
4097
|
+
is_system?: boolean | undefined;
|
|
4085
4098
|
scope?: string[] | undefined;
|
|
4086
4099
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
4087
4100
|
allow_any_organization?: boolean | undefined;
|
|
4088
|
-
is_system?: boolean | undefined;
|
|
4089
4101
|
subject_type?: "user" | "client" | undefined;
|
|
4090
4102
|
authorization_details_types?: string[] | undefined;
|
|
4091
4103
|
}, {
|
|
4092
4104
|
client_id: string;
|
|
4093
4105
|
audience: string;
|
|
4106
|
+
is_system?: boolean | undefined;
|
|
4094
4107
|
scope?: string[] | undefined;
|
|
4095
4108
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
4096
4109
|
allow_any_organization?: boolean | undefined;
|
|
4097
|
-
is_system?: boolean | undefined;
|
|
4098
4110
|
subject_type?: "user" | "client" | undefined;
|
|
4099
4111
|
authorization_details_types?: string[] | undefined;
|
|
4100
4112
|
}>;
|
|
@@ -4124,10 +4136,10 @@ export declare const clientGrantSchema: z.ZodObject<{
|
|
|
4124
4136
|
audience: string;
|
|
4125
4137
|
created_at?: string | undefined;
|
|
4126
4138
|
updated_at?: string | undefined;
|
|
4139
|
+
is_system?: boolean | undefined;
|
|
4127
4140
|
scope?: string[] | undefined;
|
|
4128
4141
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
4129
4142
|
allow_any_organization?: boolean | undefined;
|
|
4130
|
-
is_system?: boolean | undefined;
|
|
4131
4143
|
subject_type?: "user" | "client" | undefined;
|
|
4132
4144
|
authorization_details_types?: string[] | undefined;
|
|
4133
4145
|
}, {
|
|
@@ -4136,10 +4148,10 @@ export declare const clientGrantSchema: z.ZodObject<{
|
|
|
4136
4148
|
audience: string;
|
|
4137
4149
|
created_at?: string | undefined;
|
|
4138
4150
|
updated_at?: string | undefined;
|
|
4151
|
+
is_system?: boolean | undefined;
|
|
4139
4152
|
scope?: string[] | undefined;
|
|
4140
4153
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
4141
4154
|
allow_any_organization?: boolean | undefined;
|
|
4142
|
-
is_system?: boolean | undefined;
|
|
4143
4155
|
subject_type?: "user" | "client" | undefined;
|
|
4144
4156
|
authorization_details_types?: string[] | undefined;
|
|
4145
4157
|
}>;
|
|
@@ -4169,10 +4181,10 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
|
|
|
4169
4181
|
audience: string;
|
|
4170
4182
|
created_at?: string | undefined;
|
|
4171
4183
|
updated_at?: string | undefined;
|
|
4184
|
+
is_system?: boolean | undefined;
|
|
4172
4185
|
scope?: string[] | undefined;
|
|
4173
4186
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
4174
4187
|
allow_any_organization?: boolean | undefined;
|
|
4175
|
-
is_system?: boolean | undefined;
|
|
4176
4188
|
subject_type?: "user" | "client" | undefined;
|
|
4177
4189
|
authorization_details_types?: string[] | undefined;
|
|
4178
4190
|
}, {
|
|
@@ -4181,10 +4193,10 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
|
|
|
4181
4193
|
audience: string;
|
|
4182
4194
|
created_at?: string | undefined;
|
|
4183
4195
|
updated_at?: string | undefined;
|
|
4196
|
+
is_system?: boolean | undefined;
|
|
4184
4197
|
scope?: string[] | undefined;
|
|
4185
4198
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
4186
4199
|
allow_any_organization?: boolean | undefined;
|
|
4187
|
-
is_system?: boolean | undefined;
|
|
4188
4200
|
subject_type?: "user" | "client" | undefined;
|
|
4189
4201
|
authorization_details_types?: string[] | undefined;
|
|
4190
4202
|
}>, "many">;
|
|
@@ -12435,6 +12447,22 @@ export declare const connectionOptionsSchema: z.ZodObject<{
|
|
|
12435
12447
|
disable_signup: z.ZodOptional<z.ZodBoolean>;
|
|
12436
12448
|
brute_force_protection: z.ZodOptional<z.ZodBoolean>;
|
|
12437
12449
|
import_mode: z.ZodOptional<z.ZodBoolean>;
|
|
12450
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
12451
|
+
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
12452
|
+
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
12453
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
12454
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
12455
|
+
}, "strip", z.ZodTypeAny, {
|
|
12456
|
+
client_id?: string | undefined;
|
|
12457
|
+
client_secret?: string | undefined;
|
|
12458
|
+
token_endpoint?: string | undefined;
|
|
12459
|
+
userinfo_endpoint?: string | undefined;
|
|
12460
|
+
}, {
|
|
12461
|
+
client_id?: string | undefined;
|
|
12462
|
+
client_secret?: string | undefined;
|
|
12463
|
+
token_endpoint?: string | undefined;
|
|
12464
|
+
userinfo_endpoint?: string | undefined;
|
|
12465
|
+
}>>;
|
|
12438
12466
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
12439
12467
|
email: z.ZodOptional<z.ZodObject<{
|
|
12440
12468
|
identifier: z.ZodOptional<z.ZodObject<{
|
|
@@ -12838,6 +12866,12 @@ export declare const connectionOptionsSchema: z.ZodObject<{
|
|
|
12838
12866
|
disable_signup?: boolean | undefined;
|
|
12839
12867
|
brute_force_protection?: boolean | undefined;
|
|
12840
12868
|
import_mode?: boolean | undefined;
|
|
12869
|
+
configuration?: {
|
|
12870
|
+
client_id?: string | undefined;
|
|
12871
|
+
client_secret?: string | undefined;
|
|
12872
|
+
token_endpoint?: string | undefined;
|
|
12873
|
+
userinfo_endpoint?: string | undefined;
|
|
12874
|
+
} | undefined;
|
|
12841
12875
|
attributes?: {
|
|
12842
12876
|
email?: {
|
|
12843
12877
|
validation?: {
|
|
@@ -12944,6 +12978,12 @@ export declare const connectionOptionsSchema: z.ZodObject<{
|
|
|
12944
12978
|
disable_signup?: boolean | undefined;
|
|
12945
12979
|
brute_force_protection?: boolean | undefined;
|
|
12946
12980
|
import_mode?: boolean | undefined;
|
|
12981
|
+
configuration?: {
|
|
12982
|
+
client_id?: string | undefined;
|
|
12983
|
+
client_secret?: string | undefined;
|
|
12984
|
+
token_endpoint?: string | undefined;
|
|
12985
|
+
userinfo_endpoint?: string | undefined;
|
|
12986
|
+
} | undefined;
|
|
12947
12987
|
attributes?: {
|
|
12948
12988
|
email?: {
|
|
12949
12989
|
validation?: {
|
|
@@ -13079,6 +13119,22 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
13079
13119
|
disable_signup: z.ZodOptional<z.ZodBoolean>;
|
|
13080
13120
|
brute_force_protection: z.ZodOptional<z.ZodBoolean>;
|
|
13081
13121
|
import_mode: z.ZodOptional<z.ZodBoolean>;
|
|
13122
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
13123
|
+
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
13124
|
+
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
13125
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
13126
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
13127
|
+
}, "strip", z.ZodTypeAny, {
|
|
13128
|
+
client_id?: string | undefined;
|
|
13129
|
+
client_secret?: string | undefined;
|
|
13130
|
+
token_endpoint?: string | undefined;
|
|
13131
|
+
userinfo_endpoint?: string | undefined;
|
|
13132
|
+
}, {
|
|
13133
|
+
client_id?: string | undefined;
|
|
13134
|
+
client_secret?: string | undefined;
|
|
13135
|
+
token_endpoint?: string | undefined;
|
|
13136
|
+
userinfo_endpoint?: string | undefined;
|
|
13137
|
+
}>>;
|
|
13082
13138
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
13083
13139
|
email: z.ZodOptional<z.ZodObject<{
|
|
13084
13140
|
identifier: z.ZodOptional<z.ZodObject<{
|
|
@@ -13482,6 +13538,12 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
13482
13538
|
disable_signup?: boolean | undefined;
|
|
13483
13539
|
brute_force_protection?: boolean | undefined;
|
|
13484
13540
|
import_mode?: boolean | undefined;
|
|
13541
|
+
configuration?: {
|
|
13542
|
+
client_id?: string | undefined;
|
|
13543
|
+
client_secret?: string | undefined;
|
|
13544
|
+
token_endpoint?: string | undefined;
|
|
13545
|
+
userinfo_endpoint?: string | undefined;
|
|
13546
|
+
} | undefined;
|
|
13485
13547
|
attributes?: {
|
|
13486
13548
|
email?: {
|
|
13487
13549
|
validation?: {
|
|
@@ -13588,6 +13650,12 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
13588
13650
|
disable_signup?: boolean | undefined;
|
|
13589
13651
|
brute_force_protection?: boolean | undefined;
|
|
13590
13652
|
import_mode?: boolean | undefined;
|
|
13653
|
+
configuration?: {
|
|
13654
|
+
client_id?: string | undefined;
|
|
13655
|
+
client_secret?: string | undefined;
|
|
13656
|
+
token_endpoint?: string | undefined;
|
|
13657
|
+
userinfo_endpoint?: string | undefined;
|
|
13658
|
+
} | undefined;
|
|
13591
13659
|
attributes?: {
|
|
13592
13660
|
email?: {
|
|
13593
13661
|
validation?: {
|
|
@@ -13694,6 +13762,12 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
13694
13762
|
disable_signup?: boolean | undefined;
|
|
13695
13763
|
brute_force_protection?: boolean | undefined;
|
|
13696
13764
|
import_mode?: boolean | undefined;
|
|
13765
|
+
configuration?: {
|
|
13766
|
+
client_id?: string | undefined;
|
|
13767
|
+
client_secret?: string | undefined;
|
|
13768
|
+
token_endpoint?: string | undefined;
|
|
13769
|
+
userinfo_endpoint?: string | undefined;
|
|
13770
|
+
} | undefined;
|
|
13697
13771
|
attributes?: {
|
|
13698
13772
|
email?: {
|
|
13699
13773
|
validation?: {
|
|
@@ -13809,6 +13883,12 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
13809
13883
|
disable_signup?: boolean | undefined;
|
|
13810
13884
|
brute_force_protection?: boolean | undefined;
|
|
13811
13885
|
import_mode?: boolean | undefined;
|
|
13886
|
+
configuration?: {
|
|
13887
|
+
client_id?: string | undefined;
|
|
13888
|
+
client_secret?: string | undefined;
|
|
13889
|
+
token_endpoint?: string | undefined;
|
|
13890
|
+
userinfo_endpoint?: string | undefined;
|
|
13891
|
+
} | undefined;
|
|
13812
13892
|
attributes?: {
|
|
13813
13893
|
email?: {
|
|
13814
13894
|
validation?: {
|
|
@@ -13973,6 +14053,22 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13973
14053
|
disable_signup: z.ZodOptional<z.ZodBoolean>;
|
|
13974
14054
|
brute_force_protection: z.ZodOptional<z.ZodBoolean>;
|
|
13975
14055
|
import_mode: z.ZodOptional<z.ZodBoolean>;
|
|
14056
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
14057
|
+
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
14058
|
+
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
14059
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
14060
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
14061
|
+
}, "strip", z.ZodTypeAny, {
|
|
14062
|
+
client_id?: string | undefined;
|
|
14063
|
+
client_secret?: string | undefined;
|
|
14064
|
+
token_endpoint?: string | undefined;
|
|
14065
|
+
userinfo_endpoint?: string | undefined;
|
|
14066
|
+
}, {
|
|
14067
|
+
client_id?: string | undefined;
|
|
14068
|
+
client_secret?: string | undefined;
|
|
14069
|
+
token_endpoint?: string | undefined;
|
|
14070
|
+
userinfo_endpoint?: string | undefined;
|
|
14071
|
+
}>>;
|
|
13976
14072
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
13977
14073
|
email: z.ZodOptional<z.ZodObject<{
|
|
13978
14074
|
identifier: z.ZodOptional<z.ZodObject<{
|
|
@@ -14376,6 +14472,12 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
14376
14472
|
disable_signup?: boolean | undefined;
|
|
14377
14473
|
brute_force_protection?: boolean | undefined;
|
|
14378
14474
|
import_mode?: boolean | undefined;
|
|
14475
|
+
configuration?: {
|
|
14476
|
+
client_id?: string | undefined;
|
|
14477
|
+
client_secret?: string | undefined;
|
|
14478
|
+
token_endpoint?: string | undefined;
|
|
14479
|
+
userinfo_endpoint?: string | undefined;
|
|
14480
|
+
} | undefined;
|
|
14379
14481
|
attributes?: {
|
|
14380
14482
|
email?: {
|
|
14381
14483
|
validation?: {
|
|
@@ -14482,6 +14584,12 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
14482
14584
|
disable_signup?: boolean | undefined;
|
|
14483
14585
|
brute_force_protection?: boolean | undefined;
|
|
14484
14586
|
import_mode?: boolean | undefined;
|
|
14587
|
+
configuration?: {
|
|
14588
|
+
client_id?: string | undefined;
|
|
14589
|
+
client_secret?: string | undefined;
|
|
14590
|
+
token_endpoint?: string | undefined;
|
|
14591
|
+
userinfo_endpoint?: string | undefined;
|
|
14592
|
+
} | undefined;
|
|
14485
14593
|
attributes?: {
|
|
14486
14594
|
email?: {
|
|
14487
14595
|
validation?: {
|
|
@@ -14588,6 +14696,12 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
14588
14696
|
disable_signup?: boolean | undefined;
|
|
14589
14697
|
brute_force_protection?: boolean | undefined;
|
|
14590
14698
|
import_mode?: boolean | undefined;
|
|
14699
|
+
configuration?: {
|
|
14700
|
+
client_id?: string | undefined;
|
|
14701
|
+
client_secret?: string | undefined;
|
|
14702
|
+
token_endpoint?: string | undefined;
|
|
14703
|
+
userinfo_endpoint?: string | undefined;
|
|
14704
|
+
} | undefined;
|
|
14591
14705
|
attributes?: {
|
|
14592
14706
|
email?: {
|
|
14593
14707
|
validation?: {
|
|
@@ -14705,6 +14819,12 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
14705
14819
|
disable_signup?: boolean | undefined;
|
|
14706
14820
|
brute_force_protection?: boolean | undefined;
|
|
14707
14821
|
import_mode?: boolean | undefined;
|
|
14822
|
+
configuration?: {
|
|
14823
|
+
client_id?: string | undefined;
|
|
14824
|
+
client_secret?: string | undefined;
|
|
14825
|
+
token_endpoint?: string | undefined;
|
|
14826
|
+
userinfo_endpoint?: string | undefined;
|
|
14827
|
+
} | undefined;
|
|
14708
14828
|
attributes?: {
|
|
14709
14829
|
email?: {
|
|
14710
14830
|
validation?: {
|
|
@@ -45333,6 +45453,156 @@ export declare const logStreamSchema: z.ZodObject<{
|
|
|
45333
45453
|
isPriority?: boolean | undefined;
|
|
45334
45454
|
}>;
|
|
45335
45455
|
export type LogStream = z.infer<typeof logStreamSchema>;
|
|
45456
|
+
export declare const migrationProviderTypeSchema: z.ZodEnum<[
|
|
45457
|
+
"auth0",
|
|
45458
|
+
"cognito",
|
|
45459
|
+
"okta",
|
|
45460
|
+
"oidc"
|
|
45461
|
+
]>;
|
|
45462
|
+
export type MigrationProviderType = z.infer<typeof migrationProviderTypeSchema>;
|
|
45463
|
+
export declare const migrationSourceCredentialsSchema: z.ZodObject<{
|
|
45464
|
+
domain: z.ZodString;
|
|
45465
|
+
client_id: z.ZodString;
|
|
45466
|
+
client_secret: z.ZodString;
|
|
45467
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
45468
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
45469
|
+
}, "strip", z.ZodTypeAny, {
|
|
45470
|
+
client_id: string;
|
|
45471
|
+
client_secret: string;
|
|
45472
|
+
domain: string;
|
|
45473
|
+
audience?: string | undefined;
|
|
45474
|
+
scope?: string | undefined;
|
|
45475
|
+
}, {
|
|
45476
|
+
client_id: string;
|
|
45477
|
+
client_secret: string;
|
|
45478
|
+
domain: string;
|
|
45479
|
+
audience?: string | undefined;
|
|
45480
|
+
scope?: string | undefined;
|
|
45481
|
+
}>;
|
|
45482
|
+
export type MigrationSourceCredentials = z.infer<typeof migrationSourceCredentialsSchema>;
|
|
45483
|
+
export declare const migrationSourceInsertSchema: z.ZodObject<{
|
|
45484
|
+
id: z.ZodOptional<z.ZodString>;
|
|
45485
|
+
name: z.ZodString;
|
|
45486
|
+
provider: z.ZodEnum<[
|
|
45487
|
+
"auth0",
|
|
45488
|
+
"cognito",
|
|
45489
|
+
"okta",
|
|
45490
|
+
"oidc"
|
|
45491
|
+
]>;
|
|
45492
|
+
connection: z.ZodString;
|
|
45493
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
45494
|
+
credentials: z.ZodObject<{
|
|
45495
|
+
domain: z.ZodString;
|
|
45496
|
+
client_id: z.ZodString;
|
|
45497
|
+
client_secret: z.ZodString;
|
|
45498
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
45499
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
45500
|
+
}, "strip", z.ZodTypeAny, {
|
|
45501
|
+
client_id: string;
|
|
45502
|
+
client_secret: string;
|
|
45503
|
+
domain: string;
|
|
45504
|
+
audience?: string | undefined;
|
|
45505
|
+
scope?: string | undefined;
|
|
45506
|
+
}, {
|
|
45507
|
+
client_id: string;
|
|
45508
|
+
client_secret: string;
|
|
45509
|
+
domain: string;
|
|
45510
|
+
audience?: string | undefined;
|
|
45511
|
+
scope?: string | undefined;
|
|
45512
|
+
}>;
|
|
45513
|
+
}, "strip", z.ZodTypeAny, {
|
|
45514
|
+
name: string;
|
|
45515
|
+
connection: string;
|
|
45516
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
45517
|
+
enabled: boolean;
|
|
45518
|
+
credentials: {
|
|
45519
|
+
client_id: string;
|
|
45520
|
+
client_secret: string;
|
|
45521
|
+
domain: string;
|
|
45522
|
+
audience?: string | undefined;
|
|
45523
|
+
scope?: string | undefined;
|
|
45524
|
+
};
|
|
45525
|
+
id?: string | undefined;
|
|
45526
|
+
}, {
|
|
45527
|
+
name: string;
|
|
45528
|
+
connection: string;
|
|
45529
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
45530
|
+
credentials: {
|
|
45531
|
+
client_id: string;
|
|
45532
|
+
client_secret: string;
|
|
45533
|
+
domain: string;
|
|
45534
|
+
audience?: string | undefined;
|
|
45535
|
+
scope?: string | undefined;
|
|
45536
|
+
};
|
|
45537
|
+
id?: string | undefined;
|
|
45538
|
+
enabled?: boolean | undefined;
|
|
45539
|
+
}>;
|
|
45540
|
+
export type MigrationSourceInsert = z.infer<typeof migrationSourceInsertSchema>;
|
|
45541
|
+
export declare const migrationSourceSchema: z.ZodObject<{
|
|
45542
|
+
created_at: z.ZodString;
|
|
45543
|
+
updated_at: z.ZodString;
|
|
45544
|
+
} & {
|
|
45545
|
+
id: z.ZodOptional<z.ZodString>;
|
|
45546
|
+
name: z.ZodString;
|
|
45547
|
+
provider: z.ZodEnum<[
|
|
45548
|
+
"auth0",
|
|
45549
|
+
"cognito",
|
|
45550
|
+
"okta",
|
|
45551
|
+
"oidc"
|
|
45552
|
+
]>;
|
|
45553
|
+
connection: z.ZodString;
|
|
45554
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
45555
|
+
credentials: z.ZodObject<{
|
|
45556
|
+
domain: z.ZodString;
|
|
45557
|
+
client_id: z.ZodString;
|
|
45558
|
+
client_secret: z.ZodString;
|
|
45559
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
45560
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
45561
|
+
}, "strip", z.ZodTypeAny, {
|
|
45562
|
+
client_id: string;
|
|
45563
|
+
client_secret: string;
|
|
45564
|
+
domain: string;
|
|
45565
|
+
audience?: string | undefined;
|
|
45566
|
+
scope?: string | undefined;
|
|
45567
|
+
}, {
|
|
45568
|
+
client_id: string;
|
|
45569
|
+
client_secret: string;
|
|
45570
|
+
domain: string;
|
|
45571
|
+
audience?: string | undefined;
|
|
45572
|
+
scope?: string | undefined;
|
|
45573
|
+
}>;
|
|
45574
|
+
}, "strip", z.ZodTypeAny, {
|
|
45575
|
+
created_at: string;
|
|
45576
|
+
updated_at: string;
|
|
45577
|
+
name: string;
|
|
45578
|
+
connection: string;
|
|
45579
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
45580
|
+
enabled: boolean;
|
|
45581
|
+
credentials: {
|
|
45582
|
+
client_id: string;
|
|
45583
|
+
client_secret: string;
|
|
45584
|
+
domain: string;
|
|
45585
|
+
audience?: string | undefined;
|
|
45586
|
+
scope?: string | undefined;
|
|
45587
|
+
};
|
|
45588
|
+
id?: string | undefined;
|
|
45589
|
+
}, {
|
|
45590
|
+
created_at: string;
|
|
45591
|
+
updated_at: string;
|
|
45592
|
+
name: string;
|
|
45593
|
+
connection: string;
|
|
45594
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
45595
|
+
credentials: {
|
|
45596
|
+
client_id: string;
|
|
45597
|
+
client_secret: string;
|
|
45598
|
+
domain: string;
|
|
45599
|
+
audience?: string | undefined;
|
|
45600
|
+
scope?: string | undefined;
|
|
45601
|
+
};
|
|
45602
|
+
id?: string | undefined;
|
|
45603
|
+
enabled?: boolean | undefined;
|
|
45604
|
+
}>;
|
|
45605
|
+
export type MigrationSource = z.infer<typeof migrationSourceSchema>;
|
|
45336
45606
|
export declare const breachedPasswordDetectionSchema: z.ZodObject<{
|
|
45337
45607
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
45338
45608
|
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -49534,11 +49804,11 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
|
|
|
49534
49804
|
enable_introspection_endpoint?: boolean | undefined;
|
|
49535
49805
|
} | undefined;
|
|
49536
49806
|
id?: string | undefined;
|
|
49807
|
+
is_system?: boolean | undefined;
|
|
49537
49808
|
scopes?: {
|
|
49538
49809
|
value: string;
|
|
49539
49810
|
description?: string | undefined;
|
|
49540
49811
|
}[] | undefined;
|
|
49541
|
-
is_system?: boolean | undefined;
|
|
49542
49812
|
metadata?: Record<string, any> | undefined;
|
|
49543
49813
|
signing_alg?: string | undefined;
|
|
49544
49814
|
signing_secret?: string | undefined;
|
|
@@ -49560,12 +49830,12 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
|
|
|
49560
49830
|
enable_introspection_endpoint?: boolean | undefined;
|
|
49561
49831
|
} | undefined;
|
|
49562
49832
|
id?: string | undefined;
|
|
49833
|
+
is_system?: boolean | undefined;
|
|
49563
49834
|
scopes?: {
|
|
49564
49835
|
value: string;
|
|
49565
49836
|
description?: string | undefined;
|
|
49566
49837
|
}[] | undefined;
|
|
49567
49838
|
token_lifetime?: number | undefined;
|
|
49568
|
-
is_system?: boolean | undefined;
|
|
49569
49839
|
metadata?: Record<string, any> | undefined;
|
|
49570
49840
|
signing_alg?: string | undefined;
|
|
49571
49841
|
signing_secret?: string | undefined;
|
|
@@ -49657,11 +49927,11 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
49657
49927
|
enable_introspection_endpoint?: boolean | undefined;
|
|
49658
49928
|
} | undefined;
|
|
49659
49929
|
id?: string | undefined;
|
|
49930
|
+
is_system?: boolean | undefined;
|
|
49660
49931
|
scopes?: {
|
|
49661
49932
|
value: string;
|
|
49662
49933
|
description?: string | undefined;
|
|
49663
49934
|
}[] | undefined;
|
|
49664
|
-
is_system?: boolean | undefined;
|
|
49665
49935
|
metadata?: Record<string, any> | undefined;
|
|
49666
49936
|
signing_alg?: string | undefined;
|
|
49667
49937
|
signing_secret?: string | undefined;
|
|
@@ -49685,12 +49955,12 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
49685
49955
|
enable_introspection_endpoint?: boolean | undefined;
|
|
49686
49956
|
} | undefined;
|
|
49687
49957
|
id?: string | undefined;
|
|
49958
|
+
is_system?: boolean | undefined;
|
|
49688
49959
|
scopes?: {
|
|
49689
49960
|
value: string;
|
|
49690
49961
|
description?: string | undefined;
|
|
49691
49962
|
}[] | undefined;
|
|
49692
49963
|
token_lifetime?: number | undefined;
|
|
49693
|
-
is_system?: boolean | undefined;
|
|
49694
49964
|
metadata?: Record<string, any> | undefined;
|
|
49695
49965
|
signing_alg?: string | undefined;
|
|
49696
49966
|
signing_secret?: string | undefined;
|
|
@@ -49782,11 +50052,11 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
49782
50052
|
enable_introspection_endpoint?: boolean | undefined;
|
|
49783
50053
|
} | undefined;
|
|
49784
50054
|
id?: string | undefined;
|
|
50055
|
+
is_system?: boolean | undefined;
|
|
49785
50056
|
scopes?: {
|
|
49786
50057
|
value: string;
|
|
49787
50058
|
description?: string | undefined;
|
|
49788
50059
|
}[] | undefined;
|
|
49789
|
-
is_system?: boolean | undefined;
|
|
49790
50060
|
metadata?: Record<string, any> | undefined;
|
|
49791
50061
|
signing_alg?: string | undefined;
|
|
49792
50062
|
signing_secret?: string | undefined;
|
|
@@ -49810,12 +50080,12 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
49810
50080
|
enable_introspection_endpoint?: boolean | undefined;
|
|
49811
50081
|
} | undefined;
|
|
49812
50082
|
id?: string | undefined;
|
|
50083
|
+
is_system?: boolean | undefined;
|
|
49813
50084
|
scopes?: {
|
|
49814
50085
|
value: string;
|
|
49815
50086
|
description?: string | undefined;
|
|
49816
50087
|
}[] | undefined;
|
|
49817
50088
|
token_lifetime?: number | undefined;
|
|
49818
|
-
is_system?: boolean | undefined;
|
|
49819
50089
|
metadata?: Record<string, any> | undefined;
|
|
49820
50090
|
signing_alg?: string | undefined;
|
|
49821
50091
|
signing_secret?: string | undefined;
|
|
@@ -51010,6 +51280,150 @@ export declare const dailyStatsSchema: z.ZodObject<{
|
|
|
51010
51280
|
export type DailyStats = z.infer<typeof dailyStatsSchema>;
|
|
51011
51281
|
export declare const activeUsersResponseSchema: z.ZodNumber;
|
|
51012
51282
|
export type ActiveUsersResponse = z.infer<typeof activeUsersResponseSchema>;
|
|
51283
|
+
export declare const analyticsResourceSchema: z.ZodEnum<[
|
|
51284
|
+
"active-users",
|
|
51285
|
+
"logins",
|
|
51286
|
+
"signups",
|
|
51287
|
+
"refresh-tokens",
|
|
51288
|
+
"sessions"
|
|
51289
|
+
]>;
|
|
51290
|
+
export type AnalyticsResource = z.infer<typeof analyticsResourceSchema>;
|
|
51291
|
+
export declare const analyticsIntervalSchema: z.ZodEnum<[
|
|
51292
|
+
"hour",
|
|
51293
|
+
"day",
|
|
51294
|
+
"week",
|
|
51295
|
+
"month"
|
|
51296
|
+
]>;
|
|
51297
|
+
export type AnalyticsInterval = z.infer<typeof analyticsIntervalSchema>;
|
|
51298
|
+
export declare const analyticsGroupBySchema: z.ZodEnum<[
|
|
51299
|
+
"time",
|
|
51300
|
+
"connection",
|
|
51301
|
+
"client_id",
|
|
51302
|
+
"user_type",
|
|
51303
|
+
"event"
|
|
51304
|
+
]>;
|
|
51305
|
+
export type AnalyticsGroupBy = z.infer<typeof analyticsGroupBySchema>;
|
|
51306
|
+
export declare const analyticsUserTypeSchema: z.ZodEnum<[
|
|
51307
|
+
"password",
|
|
51308
|
+
"social",
|
|
51309
|
+
"passwordless",
|
|
51310
|
+
"enterprise"
|
|
51311
|
+
]>;
|
|
51312
|
+
export type AnalyticsUserType = z.infer<typeof analyticsUserTypeSchema>;
|
|
51313
|
+
export interface AnalyticsFilters {
|
|
51314
|
+
connection?: string[];
|
|
51315
|
+
client_id?: string[];
|
|
51316
|
+
user_type?: AnalyticsUserType[];
|
|
51317
|
+
user_id?: string[];
|
|
51318
|
+
}
|
|
51319
|
+
export interface AnalyticsQueryParams {
|
|
51320
|
+
/** Inclusive lower bound, ISO 8601 datetime in UTC */
|
|
51321
|
+
from: string;
|
|
51322
|
+
/** Exclusive upper bound, ISO 8601 datetime in UTC */
|
|
51323
|
+
to: string;
|
|
51324
|
+
interval: AnalyticsInterval;
|
|
51325
|
+
/** IANA timezone for bucket boundaries */
|
|
51326
|
+
tz: string;
|
|
51327
|
+
filters: AnalyticsFilters;
|
|
51328
|
+
group_by: AnalyticsGroupBy[];
|
|
51329
|
+
limit: number;
|
|
51330
|
+
offset: number;
|
|
51331
|
+
/** Column name, prefix with `-` for descending */
|
|
51332
|
+
order_by?: string;
|
|
51333
|
+
}
|
|
51334
|
+
export interface AnalyticsColumnMeta {
|
|
51335
|
+
name: string;
|
|
51336
|
+
/** ClickHouse-style type label (e.g. "Date", "String", "UInt64", "DateTime") */
|
|
51337
|
+
type: string;
|
|
51338
|
+
}
|
|
51339
|
+
export interface AnalyticsQueryResponse {
|
|
51340
|
+
meta: AnalyticsColumnMeta[];
|
|
51341
|
+
data: Array<Record<string, unknown>>;
|
|
51342
|
+
rows: number;
|
|
51343
|
+
rows_before_limit_at_least?: number;
|
|
51344
|
+
statistics?: {
|
|
51345
|
+
elapsed: number;
|
|
51346
|
+
rows_read?: number;
|
|
51347
|
+
bytes_read?: number;
|
|
51348
|
+
};
|
|
51349
|
+
}
|
|
51350
|
+
export declare const analyticsColumnMetaSchema: z.ZodObject<{
|
|
51351
|
+
name: z.ZodString;
|
|
51352
|
+
type: z.ZodString;
|
|
51353
|
+
}, "strip", z.ZodTypeAny, {
|
|
51354
|
+
type: string;
|
|
51355
|
+
name: string;
|
|
51356
|
+
}, {
|
|
51357
|
+
type: string;
|
|
51358
|
+
name: string;
|
|
51359
|
+
}>;
|
|
51360
|
+
export declare const analyticsStatisticsSchema: z.ZodObject<{
|
|
51361
|
+
elapsed: z.ZodNumber;
|
|
51362
|
+
rows_read: z.ZodOptional<z.ZodNumber>;
|
|
51363
|
+
bytes_read: z.ZodOptional<z.ZodNumber>;
|
|
51364
|
+
}, "strip", z.ZodTypeAny, {
|
|
51365
|
+
elapsed: number;
|
|
51366
|
+
rows_read?: number | undefined;
|
|
51367
|
+
bytes_read?: number | undefined;
|
|
51368
|
+
}, {
|
|
51369
|
+
elapsed: number;
|
|
51370
|
+
rows_read?: number | undefined;
|
|
51371
|
+
bytes_read?: number | undefined;
|
|
51372
|
+
}>;
|
|
51373
|
+
export declare const analyticsQueryResponseSchema: z.ZodObject<{
|
|
51374
|
+
meta: z.ZodArray<z.ZodObject<{
|
|
51375
|
+
name: z.ZodString;
|
|
51376
|
+
type: z.ZodString;
|
|
51377
|
+
}, "strip", z.ZodTypeAny, {
|
|
51378
|
+
type: string;
|
|
51379
|
+
name: string;
|
|
51380
|
+
}, {
|
|
51381
|
+
type: string;
|
|
51382
|
+
name: string;
|
|
51383
|
+
}>, "many">;
|
|
51384
|
+
data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
|
|
51385
|
+
rows: z.ZodNumber;
|
|
51386
|
+
rows_before_limit_at_least: z.ZodOptional<z.ZodNumber>;
|
|
51387
|
+
statistics: z.ZodOptional<z.ZodObject<{
|
|
51388
|
+
elapsed: z.ZodNumber;
|
|
51389
|
+
rows_read: z.ZodOptional<z.ZodNumber>;
|
|
51390
|
+
bytes_read: z.ZodOptional<z.ZodNumber>;
|
|
51391
|
+
}, "strip", z.ZodTypeAny, {
|
|
51392
|
+
elapsed: number;
|
|
51393
|
+
rows_read?: number | undefined;
|
|
51394
|
+
bytes_read?: number | undefined;
|
|
51395
|
+
}, {
|
|
51396
|
+
elapsed: number;
|
|
51397
|
+
rows_read?: number | undefined;
|
|
51398
|
+
bytes_read?: number | undefined;
|
|
51399
|
+
}>>;
|
|
51400
|
+
}, "strip", z.ZodTypeAny, {
|
|
51401
|
+
meta: {
|
|
51402
|
+
type: string;
|
|
51403
|
+
name: string;
|
|
51404
|
+
}[];
|
|
51405
|
+
data: Record<string, any>[];
|
|
51406
|
+
rows: number;
|
|
51407
|
+
rows_before_limit_at_least?: number | undefined;
|
|
51408
|
+
statistics?: {
|
|
51409
|
+
elapsed: number;
|
|
51410
|
+
rows_read?: number | undefined;
|
|
51411
|
+
bytes_read?: number | undefined;
|
|
51412
|
+
} | undefined;
|
|
51413
|
+
}, {
|
|
51414
|
+
meta: {
|
|
51415
|
+
type: string;
|
|
51416
|
+
name: string;
|
|
51417
|
+
}[];
|
|
51418
|
+
data: Record<string, any>[];
|
|
51419
|
+
rows: number;
|
|
51420
|
+
rows_before_limit_at_least?: number | undefined;
|
|
51421
|
+
statistics?: {
|
|
51422
|
+
elapsed: number;
|
|
51423
|
+
rows_read?: number | undefined;
|
|
51424
|
+
bytes_read?: number | undefined;
|
|
51425
|
+
} | undefined;
|
|
51426
|
+
}>;
|
|
51013
51427
|
/**
|
|
51014
51428
|
* Available prompt screens that can be customized
|
|
51015
51429
|
* Based on Auth0's prompt customization options
|
|
@@ -51113,7 +51527,6 @@ export declare const Strategy: {
|
|
|
51113
51527
|
readonly SAMLP: "samlp";
|
|
51114
51528
|
readonly WAAD: "waad";
|
|
51115
51529
|
readonly ADFS: "adfs";
|
|
51116
|
-
readonly AUTH0: "auth0";
|
|
51117
51530
|
};
|
|
51118
51531
|
export declare const StrategyType: {
|
|
51119
51532
|
readonly DATABASE: "database";
|
|
@@ -51653,6 +52066,13 @@ export interface LogStreamsAdapter {
|
|
|
51653
52066
|
update(tenant_id: string, id: string, params: Partial<LogStream>): Promise<boolean>;
|
|
51654
52067
|
remove(tenant_id: string, id: string): Promise<boolean>;
|
|
51655
52068
|
}
|
|
52069
|
+
export interface MigrationSourcesAdapter {
|
|
52070
|
+
create: (tenant_id: string, migration_source: MigrationSourceInsert) => Promise<MigrationSource>;
|
|
52071
|
+
get: (tenant_id: string, id: string) => Promise<MigrationSource | null>;
|
|
52072
|
+
list: (tenant_id: string) => Promise<MigrationSource[]>;
|
|
52073
|
+
remove: (tenant_id: string, id: string) => Promise<boolean>;
|
|
52074
|
+
update: (tenant_id: string, id: string, migration_source: Partial<MigrationSourceInsert>) => Promise<boolean>;
|
|
52075
|
+
}
|
|
51656
52076
|
export interface ListConnectionsResponse extends Totals {
|
|
51657
52077
|
connections: Connection[];
|
|
51658
52078
|
}
|
|
@@ -51902,6 +52322,14 @@ export interface StatsAdapter {
|
|
|
51902
52322
|
*/
|
|
51903
52323
|
getActiveUsers(tenantId: string): Promise<number>;
|
|
51904
52324
|
}
|
|
52325
|
+
export interface AnalyticsAdapter {
|
|
52326
|
+
/**
|
|
52327
|
+
* Run an analytics query for a tenant. The adapter is responsible for
|
|
52328
|
+
* injecting the tenant_id predicate; the route handler never trusts a
|
|
52329
|
+
* tenant value from a client-controlled source.
|
|
52330
|
+
*/
|
|
52331
|
+
query(tenantId: string, resource: AnalyticsResource, params: AnalyticsQueryParams): Promise<AnalyticsQueryResponse>;
|
|
52332
|
+
}
|
|
51905
52333
|
export interface UniversalLoginTemplate {
|
|
51906
52334
|
body: string;
|
|
51907
52335
|
}
|
|
@@ -52120,6 +52548,12 @@ export interface DataAdapters {
|
|
|
52120
52548
|
loginSessions: LoginSessionsAdapter;
|
|
52121
52549
|
logs: LogsDataAdapter;
|
|
52122
52550
|
logStreams?: LogStreamsAdapter;
|
|
52551
|
+
/**
|
|
52552
|
+
* Optional tenant-level migration sources for lazy refresh-token re-mint
|
|
52553
|
+
* against upstream IdPs (Auth0, Cognito, Okta, generic OIDC). When unset,
|
|
52554
|
+
* unrecognized refresh tokens fail with `invalid_grant` as usual.
|
|
52555
|
+
*/
|
|
52556
|
+
migrationSources?: MigrationSourcesAdapter;
|
|
52123
52557
|
passwords: PasswordsAdapter;
|
|
52124
52558
|
promptSettings: PromptSettingsAdapter;
|
|
52125
52559
|
refreshTokens: RefreshTokensAdapter;
|
|
@@ -52129,6 +52563,12 @@ export interface DataAdapters {
|
|
|
52129
52563
|
roles: RolesAdapter;
|
|
52130
52564
|
sessions: SessionsAdapter;
|
|
52131
52565
|
stats?: StatsAdapter;
|
|
52566
|
+
/**
|
|
52567
|
+
* Optional richer analytics surface, exposed via `/api/v2/analytics/*`.
|
|
52568
|
+
* Returns ClickHouse-style `{ meta, data }` responses with filtering and
|
|
52569
|
+
* grouping. Unlike `stats`, this is not Auth0 wire-compatible.
|
|
52570
|
+
*/
|
|
52571
|
+
analytics?: AnalyticsAdapter;
|
|
52132
52572
|
tenants: TenantsDataAdapter;
|
|
52133
52573
|
themes: ThemesAdapter;
|
|
52134
52574
|
universalLoginTemplates: UniversalLoginTemplatesAdapter;
|
|
@@ -53259,6 +53699,22 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
53259
53699
|
disable_signup: z.ZodOptional<z.ZodBoolean>;
|
|
53260
53700
|
brute_force_protection: z.ZodOptional<z.ZodBoolean>;
|
|
53261
53701
|
import_mode: z.ZodOptional<z.ZodBoolean>;
|
|
53702
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
53703
|
+
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
53704
|
+
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
53705
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
53706
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
53707
|
+
}, "strip", z.ZodTypeAny, {
|
|
53708
|
+
client_id?: string | undefined;
|
|
53709
|
+
client_secret?: string | undefined;
|
|
53710
|
+
token_endpoint?: string | undefined;
|
|
53711
|
+
userinfo_endpoint?: string | undefined;
|
|
53712
|
+
}, {
|
|
53713
|
+
client_id?: string | undefined;
|
|
53714
|
+
client_secret?: string | undefined;
|
|
53715
|
+
token_endpoint?: string | undefined;
|
|
53716
|
+
userinfo_endpoint?: string | undefined;
|
|
53717
|
+
}>>;
|
|
53262
53718
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
53263
53719
|
email: z.ZodOptional<z.ZodObject<{
|
|
53264
53720
|
identifier: z.ZodOptional<z.ZodObject<{
|
|
@@ -53662,6 +54118,12 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
53662
54118
|
disable_signup?: boolean | undefined;
|
|
53663
54119
|
brute_force_protection?: boolean | undefined;
|
|
53664
54120
|
import_mode?: boolean | undefined;
|
|
54121
|
+
configuration?: {
|
|
54122
|
+
client_id?: string | undefined;
|
|
54123
|
+
client_secret?: string | undefined;
|
|
54124
|
+
token_endpoint?: string | undefined;
|
|
54125
|
+
userinfo_endpoint?: string | undefined;
|
|
54126
|
+
} | undefined;
|
|
53665
54127
|
attributes?: {
|
|
53666
54128
|
email?: {
|
|
53667
54129
|
validation?: {
|
|
@@ -53768,6 +54230,12 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
53768
54230
|
disable_signup?: boolean | undefined;
|
|
53769
54231
|
brute_force_protection?: boolean | undefined;
|
|
53770
54232
|
import_mode?: boolean | undefined;
|
|
54233
|
+
configuration?: {
|
|
54234
|
+
client_id?: string | undefined;
|
|
54235
|
+
client_secret?: string | undefined;
|
|
54236
|
+
token_endpoint?: string | undefined;
|
|
54237
|
+
userinfo_endpoint?: string | undefined;
|
|
54238
|
+
} | undefined;
|
|
53771
54239
|
attributes?: {
|
|
53772
54240
|
email?: {
|
|
53773
54241
|
validation?: {
|
|
@@ -53874,6 +54342,12 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
53874
54342
|
disable_signup?: boolean | undefined;
|
|
53875
54343
|
brute_force_protection?: boolean | undefined;
|
|
53876
54344
|
import_mode?: boolean | undefined;
|
|
54345
|
+
configuration?: {
|
|
54346
|
+
client_id?: string | undefined;
|
|
54347
|
+
client_secret?: string | undefined;
|
|
54348
|
+
token_endpoint?: string | undefined;
|
|
54349
|
+
userinfo_endpoint?: string | undefined;
|
|
54350
|
+
} | undefined;
|
|
53877
54351
|
attributes?: {
|
|
53878
54352
|
email?: {
|
|
53879
54353
|
validation?: {
|
|
@@ -53991,6 +54465,12 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
53991
54465
|
disable_signup?: boolean | undefined;
|
|
53992
54466
|
brute_force_protection?: boolean | undefined;
|
|
53993
54467
|
import_mode?: boolean | undefined;
|
|
54468
|
+
configuration?: {
|
|
54469
|
+
client_id?: string | undefined;
|
|
54470
|
+
client_secret?: string | undefined;
|
|
54471
|
+
token_endpoint?: string | undefined;
|
|
54472
|
+
userinfo_endpoint?: string | undefined;
|
|
54473
|
+
} | undefined;
|
|
53994
54474
|
attributes?: {
|
|
53995
54475
|
email?: {
|
|
53996
54476
|
validation?: {
|
|
@@ -54143,7 +54623,6 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
54143
54623
|
"private_key_jwt"
|
|
54144
54624
|
]>>>;
|
|
54145
54625
|
client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
54146
|
-
disable_sign_ups: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
54147
54626
|
hide_sign_up_disabled_error: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
54148
54627
|
mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
54149
54628
|
initiate_login_uri: z.ZodOptional<z.ZodString>;
|
|
@@ -54437,6 +54916,12 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
54437
54916
|
disable_signup?: boolean | undefined;
|
|
54438
54917
|
brute_force_protection?: boolean | undefined;
|
|
54439
54918
|
import_mode?: boolean | undefined;
|
|
54919
|
+
configuration?: {
|
|
54920
|
+
client_id?: string | undefined;
|
|
54921
|
+
client_secret?: string | undefined;
|
|
54922
|
+
token_endpoint?: string | undefined;
|
|
54923
|
+
userinfo_endpoint?: string | undefined;
|
|
54924
|
+
} | undefined;
|
|
54440
54925
|
attributes?: {
|
|
54441
54926
|
email?: {
|
|
54442
54927
|
validation?: {
|
|
@@ -54545,7 +55030,6 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
54545
55030
|
addons?: Record<string, any> | undefined;
|
|
54546
55031
|
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
54547
55032
|
client_metadata?: Record<string, string> | undefined;
|
|
54548
|
-
disable_sign_ups?: boolean | undefined;
|
|
54549
55033
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
54550
55034
|
mobile?: Record<string, any> | undefined;
|
|
54551
55035
|
initiate_login_uri?: string | undefined;
|
|
@@ -54792,7 +55276,6 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
54792
55276
|
addons?: Record<string, any> | undefined;
|
|
54793
55277
|
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
54794
55278
|
client_metadata?: Record<string, string> | undefined;
|
|
54795
|
-
disable_sign_ups?: boolean | undefined;
|
|
54796
55279
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
54797
55280
|
mobile?: Record<string, any> | undefined;
|
|
54798
55281
|
initiate_login_uri?: string | undefined;
|
|
@@ -56743,7 +57226,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
56743
57226
|
status: 200;
|
|
56744
57227
|
};
|
|
56745
57228
|
};
|
|
56746
|
-
}, "/guardian"> & import("hono/types").MergeSchemaPath<{
|
|
57229
|
+
}, "/guardian"> & import("hono/types").MergeSchemaPath<{}, "/analytics"> & import("hono/types").MergeSchemaPath<{
|
|
56747
57230
|
"/daily": {
|
|
56748
57231
|
$get: {
|
|
56749
57232
|
input: {
|
|
@@ -57699,11 +58182,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
57699
58182
|
enable_introspection_endpoint?: boolean | undefined | undefined;
|
|
57700
58183
|
} | undefined;
|
|
57701
58184
|
id?: string | undefined | undefined;
|
|
58185
|
+
is_system?: boolean | undefined | undefined;
|
|
57702
58186
|
scopes?: {
|
|
57703
58187
|
value: string;
|
|
57704
58188
|
description?: string | undefined | undefined;
|
|
57705
58189
|
}[] | undefined;
|
|
57706
|
-
is_system?: boolean | undefined | undefined;
|
|
57707
58190
|
metadata?: {
|
|
57708
58191
|
[x: string]: any;
|
|
57709
58192
|
} | undefined;
|
|
@@ -57735,11 +58218,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
57735
58218
|
enable_introspection_endpoint?: boolean | undefined | undefined;
|
|
57736
58219
|
} | undefined;
|
|
57737
58220
|
id?: string | undefined | undefined;
|
|
58221
|
+
is_system?: boolean | undefined | undefined;
|
|
57738
58222
|
scopes?: {
|
|
57739
58223
|
value: string;
|
|
57740
58224
|
description?: string | undefined | undefined;
|
|
57741
58225
|
}[] | undefined;
|
|
57742
|
-
is_system?: boolean | undefined | undefined;
|
|
57743
58226
|
metadata?: {
|
|
57744
58227
|
[x: string]: any;
|
|
57745
58228
|
} | undefined;
|
|
@@ -57786,11 +58269,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
57786
58269
|
enable_introspection_endpoint?: boolean | undefined | undefined;
|
|
57787
58270
|
} | undefined;
|
|
57788
58271
|
id?: string | undefined | undefined;
|
|
58272
|
+
is_system?: boolean | undefined | undefined;
|
|
57789
58273
|
scopes?: {
|
|
57790
58274
|
value: string;
|
|
57791
58275
|
description?: string | undefined | undefined;
|
|
57792
58276
|
}[] | undefined;
|
|
57793
|
-
is_system?: boolean | undefined | undefined;
|
|
57794
58277
|
metadata?: {
|
|
57795
58278
|
[x: string]: any;
|
|
57796
58279
|
} | undefined;
|
|
@@ -57882,11 +58365,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
57882
58365
|
enable_introspection_endpoint?: boolean | undefined | undefined;
|
|
57883
58366
|
} | undefined;
|
|
57884
58367
|
id?: string | undefined | undefined;
|
|
58368
|
+
is_system?: boolean | undefined | undefined;
|
|
57885
58369
|
scopes?: {
|
|
57886
58370
|
value: string;
|
|
57887
58371
|
description?: string | undefined | undefined;
|
|
57888
58372
|
}[] | undefined;
|
|
57889
|
-
is_system?: boolean | undefined | undefined;
|
|
57890
58373
|
metadata?: {
|
|
57891
58374
|
[x: string]: any;
|
|
57892
58375
|
} | undefined;
|
|
@@ -57957,11 +58440,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
57957
58440
|
enable_introspection_endpoint?: boolean | undefined | undefined;
|
|
57958
58441
|
} | undefined;
|
|
57959
58442
|
id?: string | undefined | undefined;
|
|
58443
|
+
is_system?: boolean | undefined | undefined;
|
|
57960
58444
|
scopes?: {
|
|
57961
58445
|
value: string;
|
|
57962
58446
|
description?: string | undefined | undefined;
|
|
57963
58447
|
}[] | undefined;
|
|
57964
|
-
is_system?: boolean | undefined | undefined;
|
|
57965
58448
|
metadata?: {
|
|
57966
58449
|
[x: string]: any;
|
|
57967
58450
|
} | undefined;
|
|
@@ -63081,6 +63564,12 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
63081
63564
|
disable_signup?: boolean | undefined | undefined;
|
|
63082
63565
|
brute_force_protection?: boolean | undefined | undefined;
|
|
63083
63566
|
import_mode?: boolean | undefined | undefined;
|
|
63567
|
+
configuration?: {
|
|
63568
|
+
client_id?: string | undefined | undefined;
|
|
63569
|
+
client_secret?: string | undefined | undefined;
|
|
63570
|
+
token_endpoint?: string | undefined | undefined;
|
|
63571
|
+
userinfo_endpoint?: string | undefined | undefined;
|
|
63572
|
+
} | undefined;
|
|
63084
63573
|
attributes?: {
|
|
63085
63574
|
email?: {
|
|
63086
63575
|
validation?: {
|
|
@@ -63206,6 +63695,12 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
63206
63695
|
disable_signup?: boolean | undefined | undefined;
|
|
63207
63696
|
brute_force_protection?: boolean | undefined | undefined;
|
|
63208
63697
|
import_mode?: boolean | undefined | undefined;
|
|
63698
|
+
configuration?: {
|
|
63699
|
+
client_id?: string | undefined | undefined;
|
|
63700
|
+
client_secret?: string | undefined | undefined;
|
|
63701
|
+
token_endpoint?: string | undefined | undefined;
|
|
63702
|
+
userinfo_endpoint?: string | undefined | undefined;
|
|
63703
|
+
} | undefined;
|
|
63209
63704
|
attributes?: {
|
|
63210
63705
|
email?: {
|
|
63211
63706
|
validation?: {
|
|
@@ -63350,6 +63845,12 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
63350
63845
|
disable_signup?: boolean | undefined | undefined;
|
|
63351
63846
|
brute_force_protection?: boolean | undefined | undefined;
|
|
63352
63847
|
import_mode?: boolean | undefined | undefined;
|
|
63848
|
+
configuration?: {
|
|
63849
|
+
client_id?: string | undefined | undefined;
|
|
63850
|
+
client_secret?: string | undefined | undefined;
|
|
63851
|
+
token_endpoint?: string | undefined | undefined;
|
|
63852
|
+
userinfo_endpoint?: string | undefined | undefined;
|
|
63853
|
+
} | undefined;
|
|
63353
63854
|
attributes?: {
|
|
63354
63855
|
email?: {
|
|
63355
63856
|
validation?: {
|
|
@@ -63463,9 +63964,9 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
63463
63964
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
63464
63965
|
response_type?: AuthorizationResponseType | undefined;
|
|
63465
63966
|
id?: string | undefined;
|
|
63967
|
+
is_system?: boolean | undefined;
|
|
63466
63968
|
display_name?: string | undefined;
|
|
63467
63969
|
strategy?: string | undefined;
|
|
63468
|
-
is_system?: boolean | undefined;
|
|
63469
63970
|
metadata?: Record<string, any> | undefined;
|
|
63470
63971
|
enabled_clients?: string[] | undefined;
|
|
63471
63972
|
is_domain_connection?: boolean | undefined;
|
|
@@ -63522,6 +64023,12 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
63522
64023
|
disable_signup?: boolean | undefined | undefined;
|
|
63523
64024
|
brute_force_protection?: boolean | undefined | undefined;
|
|
63524
64025
|
import_mode?: boolean | undefined | undefined;
|
|
64026
|
+
configuration?: {
|
|
64027
|
+
client_id?: string | undefined | undefined;
|
|
64028
|
+
client_secret?: string | undefined | undefined;
|
|
64029
|
+
token_endpoint?: string | undefined | undefined;
|
|
64030
|
+
userinfo_endpoint?: string | undefined | undefined;
|
|
64031
|
+
} | undefined;
|
|
63525
64032
|
attributes?: {
|
|
63526
64033
|
email?: {
|
|
63527
64034
|
validation?: {
|
|
@@ -63615,8 +64122,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
63615
64122
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
63616
64123
|
response_type?: AuthorizationResponseType | undefined;
|
|
63617
64124
|
id?: string | undefined;
|
|
63618
|
-
display_name?: string | undefined;
|
|
63619
64125
|
is_system?: boolean | undefined;
|
|
64126
|
+
display_name?: string | undefined;
|
|
63620
64127
|
metadata?: Record<string, any> | undefined;
|
|
63621
64128
|
enabled_clients?: string[] | undefined;
|
|
63622
64129
|
is_domain_connection?: boolean | undefined;
|
|
@@ -63673,6 +64180,12 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
63673
64180
|
disable_signup?: boolean | undefined | undefined;
|
|
63674
64181
|
brute_force_protection?: boolean | undefined | undefined;
|
|
63675
64182
|
import_mode?: boolean | undefined | undefined;
|
|
64183
|
+
configuration?: {
|
|
64184
|
+
client_id?: string | undefined | undefined;
|
|
64185
|
+
client_secret?: string | undefined | undefined;
|
|
64186
|
+
token_endpoint?: string | undefined | undefined;
|
|
64187
|
+
userinfo_endpoint?: string | undefined | undefined;
|
|
64188
|
+
} | undefined;
|
|
63676
64189
|
attributes?: {
|
|
63677
64190
|
email?: {
|
|
63678
64191
|
validation?: {
|
|
@@ -64650,6 +65163,173 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
64650
65163
|
};
|
|
64651
65164
|
};
|
|
64652
65165
|
}, "/attack-protection"> & import("hono/types").MergeSchemaPath<{
|
|
65166
|
+
"/": {
|
|
65167
|
+
$get: {
|
|
65168
|
+
input: {
|
|
65169
|
+
header: {
|
|
65170
|
+
"tenant-id"?: string | undefined;
|
|
65171
|
+
};
|
|
65172
|
+
};
|
|
65173
|
+
output: {
|
|
65174
|
+
name: string;
|
|
65175
|
+
created_at: string;
|
|
65176
|
+
updated_at: string;
|
|
65177
|
+
connection: string;
|
|
65178
|
+
credentials: {
|
|
65179
|
+
client_id: string;
|
|
65180
|
+
client_secret: string;
|
|
65181
|
+
domain: string;
|
|
65182
|
+
scope?: string | undefined;
|
|
65183
|
+
audience?: string | undefined;
|
|
65184
|
+
};
|
|
65185
|
+
provider: "auth0" | "oidc" | "cognito" | "okta";
|
|
65186
|
+
enabled: boolean;
|
|
65187
|
+
id?: string | undefined;
|
|
65188
|
+
}[];
|
|
65189
|
+
outputFormat: "json";
|
|
65190
|
+
status: 200;
|
|
65191
|
+
};
|
|
65192
|
+
};
|
|
65193
|
+
} & {
|
|
65194
|
+
"/:id": {
|
|
65195
|
+
$get: {
|
|
65196
|
+
input: {
|
|
65197
|
+
param: {
|
|
65198
|
+
id: string;
|
|
65199
|
+
};
|
|
65200
|
+
} & {
|
|
65201
|
+
header: {
|
|
65202
|
+
"tenant-id"?: string | undefined;
|
|
65203
|
+
};
|
|
65204
|
+
};
|
|
65205
|
+
output: {
|
|
65206
|
+
name: string;
|
|
65207
|
+
created_at: string;
|
|
65208
|
+
updated_at: string;
|
|
65209
|
+
connection: string;
|
|
65210
|
+
credentials: {
|
|
65211
|
+
client_id: string;
|
|
65212
|
+
client_secret: string;
|
|
65213
|
+
domain: string;
|
|
65214
|
+
scope?: string | undefined;
|
|
65215
|
+
audience?: string | undefined;
|
|
65216
|
+
};
|
|
65217
|
+
provider: "auth0" | "oidc" | "cognito" | "okta";
|
|
65218
|
+
enabled: boolean;
|
|
65219
|
+
id?: string | undefined;
|
|
65220
|
+
};
|
|
65221
|
+
outputFormat: "json";
|
|
65222
|
+
status: 200;
|
|
65223
|
+
};
|
|
65224
|
+
};
|
|
65225
|
+
} & {
|
|
65226
|
+
"/": {
|
|
65227
|
+
$post: {
|
|
65228
|
+
input: {
|
|
65229
|
+
header: {
|
|
65230
|
+
"tenant-id"?: string | undefined;
|
|
65231
|
+
};
|
|
65232
|
+
} & {
|
|
65233
|
+
json: {
|
|
65234
|
+
name: string;
|
|
65235
|
+
connection: string;
|
|
65236
|
+
credentials: {
|
|
65237
|
+
client_id: string;
|
|
65238
|
+
client_secret: string;
|
|
65239
|
+
domain: string;
|
|
65240
|
+
audience?: string | undefined;
|
|
65241
|
+
scope?: string | undefined;
|
|
65242
|
+
};
|
|
65243
|
+
provider: "auth0" | "oidc" | "cognito" | "okta";
|
|
65244
|
+
id?: string | undefined;
|
|
65245
|
+
enabled?: boolean | undefined;
|
|
65246
|
+
};
|
|
65247
|
+
};
|
|
65248
|
+
output: {
|
|
65249
|
+
name: string;
|
|
65250
|
+
created_at: string;
|
|
65251
|
+
updated_at: string;
|
|
65252
|
+
connection: string;
|
|
65253
|
+
credentials: {
|
|
65254
|
+
client_id: string;
|
|
65255
|
+
client_secret: string;
|
|
65256
|
+
domain: string;
|
|
65257
|
+
scope?: string | undefined;
|
|
65258
|
+
audience?: string | undefined;
|
|
65259
|
+
};
|
|
65260
|
+
provider: "auth0" | "oidc" | "cognito" | "okta";
|
|
65261
|
+
enabled: boolean;
|
|
65262
|
+
id?: string | undefined;
|
|
65263
|
+
};
|
|
65264
|
+
outputFormat: "json";
|
|
65265
|
+
status: 201;
|
|
65266
|
+
};
|
|
65267
|
+
};
|
|
65268
|
+
} & {
|
|
65269
|
+
"/:id": {
|
|
65270
|
+
$patch: {
|
|
65271
|
+
input: {
|
|
65272
|
+
param: {
|
|
65273
|
+
id: string;
|
|
65274
|
+
};
|
|
65275
|
+
} & {
|
|
65276
|
+
header: {
|
|
65277
|
+
"tenant-id"?: string | undefined;
|
|
65278
|
+
};
|
|
65279
|
+
} & {
|
|
65280
|
+
json: {
|
|
65281
|
+
name?: string | undefined;
|
|
65282
|
+
connection?: string | undefined;
|
|
65283
|
+
credentials?: {
|
|
65284
|
+
client_id: string;
|
|
65285
|
+
client_secret: string;
|
|
65286
|
+
domain: string;
|
|
65287
|
+
audience?: string | undefined;
|
|
65288
|
+
scope?: string | undefined;
|
|
65289
|
+
} | undefined;
|
|
65290
|
+
id?: string | undefined;
|
|
65291
|
+
provider?: "auth0" | "oidc" | "cognito" | "okta" | undefined;
|
|
65292
|
+
enabled?: boolean | undefined;
|
|
65293
|
+
};
|
|
65294
|
+
};
|
|
65295
|
+
output: {
|
|
65296
|
+
name: string;
|
|
65297
|
+
created_at: string;
|
|
65298
|
+
updated_at: string;
|
|
65299
|
+
connection: string;
|
|
65300
|
+
credentials: {
|
|
65301
|
+
client_id: string;
|
|
65302
|
+
client_secret: string;
|
|
65303
|
+
domain: string;
|
|
65304
|
+
scope?: string | undefined;
|
|
65305
|
+
audience?: string | undefined;
|
|
65306
|
+
};
|
|
65307
|
+
provider: "auth0" | "oidc" | "cognito" | "okta";
|
|
65308
|
+
enabled: boolean;
|
|
65309
|
+
id?: string | undefined;
|
|
65310
|
+
};
|
|
65311
|
+
outputFormat: "json";
|
|
65312
|
+
status: 200;
|
|
65313
|
+
};
|
|
65314
|
+
};
|
|
65315
|
+
} & {
|
|
65316
|
+
"/:id": {
|
|
65317
|
+
$delete: {
|
|
65318
|
+
input: {
|
|
65319
|
+
param: {
|
|
65320
|
+
id: string;
|
|
65321
|
+
};
|
|
65322
|
+
} & {
|
|
65323
|
+
header: {
|
|
65324
|
+
"tenant-id"?: string | undefined;
|
|
65325
|
+
};
|
|
65326
|
+
};
|
|
65327
|
+
output: {};
|
|
65328
|
+
outputFormat: string;
|
|
65329
|
+
status: 204;
|
|
65330
|
+
};
|
|
65331
|
+
};
|
|
65332
|
+
}, "/migration-sources"> & import("hono/types").MergeSchemaPath<{
|
|
64653
65333
|
"/": {
|
|
64654
65334
|
$get: {
|
|
64655
65335
|
input: {
|
|
@@ -65019,10 +65699,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65019
65699
|
audience: string;
|
|
65020
65700
|
created_at?: string | undefined | undefined;
|
|
65021
65701
|
updated_at?: string | undefined | undefined;
|
|
65702
|
+
is_system?: boolean | undefined | undefined;
|
|
65022
65703
|
scope?: string[] | undefined | undefined;
|
|
65023
65704
|
organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
|
|
65024
65705
|
allow_any_organization?: boolean | undefined | undefined;
|
|
65025
|
-
is_system?: boolean | undefined | undefined;
|
|
65026
65706
|
subject_type?: "user" | "client" | undefined | undefined;
|
|
65027
65707
|
authorization_details_types?: string[] | undefined | undefined;
|
|
65028
65708
|
}[] | {
|
|
@@ -65035,10 +65715,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65035
65715
|
audience: string;
|
|
65036
65716
|
created_at?: string | undefined | undefined;
|
|
65037
65717
|
updated_at?: string | undefined | undefined;
|
|
65718
|
+
is_system?: boolean | undefined | undefined;
|
|
65038
65719
|
scope?: string[] | undefined | undefined;
|
|
65039
65720
|
organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
|
|
65040
65721
|
allow_any_organization?: boolean | undefined | undefined;
|
|
65041
|
-
is_system?: boolean | undefined | undefined;
|
|
65042
65722
|
subject_type?: "user" | "client" | undefined | undefined;
|
|
65043
65723
|
authorization_details_types?: string[] | undefined | undefined;
|
|
65044
65724
|
}[];
|
|
@@ -65066,10 +65746,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65066
65746
|
audience: string;
|
|
65067
65747
|
created_at?: string | undefined | undefined;
|
|
65068
65748
|
updated_at?: string | undefined | undefined;
|
|
65749
|
+
is_system?: boolean | undefined | undefined;
|
|
65069
65750
|
scope?: string[] | undefined | undefined;
|
|
65070
65751
|
organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
|
|
65071
65752
|
allow_any_organization?: boolean | undefined | undefined;
|
|
65072
|
-
is_system?: boolean | undefined | undefined;
|
|
65073
65753
|
subject_type?: "user" | "client" | undefined | undefined;
|
|
65074
65754
|
authorization_details_types?: string[] | undefined | undefined;
|
|
65075
65755
|
};
|
|
@@ -65123,10 +65803,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65123
65803
|
audience: string;
|
|
65124
65804
|
created_at?: string | undefined | undefined;
|
|
65125
65805
|
updated_at?: string | undefined | undefined;
|
|
65806
|
+
is_system?: boolean | undefined | undefined;
|
|
65126
65807
|
scope?: string[] | undefined | undefined;
|
|
65127
65808
|
organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
|
|
65128
65809
|
allow_any_organization?: boolean | undefined | undefined;
|
|
65129
|
-
is_system?: boolean | undefined | undefined;
|
|
65130
65810
|
subject_type?: "user" | "client" | undefined | undefined;
|
|
65131
65811
|
authorization_details_types?: string[] | undefined | undefined;
|
|
65132
65812
|
};
|
|
@@ -65159,10 +65839,10 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65159
65839
|
audience: string;
|
|
65160
65840
|
created_at?: string | undefined | undefined;
|
|
65161
65841
|
updated_at?: string | undefined | undefined;
|
|
65842
|
+
is_system?: boolean | undefined | undefined;
|
|
65162
65843
|
scope?: string[] | undefined | undefined;
|
|
65163
65844
|
organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
|
|
65164
65845
|
allow_any_organization?: boolean | undefined | undefined;
|
|
65165
|
-
is_system?: boolean | undefined | undefined;
|
|
65166
65846
|
subject_type?: "user" | "client" | undefined | undefined;
|
|
65167
65847
|
authorization_details_types?: string[] | undefined | undefined;
|
|
65168
65848
|
};
|
|
@@ -65250,7 +65930,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65250
65930
|
client_metadata?: {
|
|
65251
65931
|
[x: string]: string;
|
|
65252
65932
|
} | undefined;
|
|
65253
|
-
disable_sign_ups?: boolean | undefined | undefined;
|
|
65254
65933
|
hide_sign_up_disabled_error?: boolean | undefined | undefined;
|
|
65255
65934
|
mobile?: {
|
|
65256
65935
|
[x: string]: any;
|
|
@@ -65347,7 +66026,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65347
66026
|
client_metadata?: {
|
|
65348
66027
|
[x: string]: string;
|
|
65349
66028
|
} | undefined;
|
|
65350
|
-
disable_sign_ups?: boolean | undefined | undefined;
|
|
65351
66029
|
hide_sign_up_disabled_error?: boolean | undefined | undefined;
|
|
65352
66030
|
mobile?: {
|
|
65353
66031
|
[x: string]: any;
|
|
@@ -65459,7 +66137,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65459
66137
|
client_metadata?: {
|
|
65460
66138
|
[x: string]: string;
|
|
65461
66139
|
} | undefined;
|
|
65462
|
-
disable_sign_ups?: boolean | undefined | undefined;
|
|
65463
66140
|
hide_sign_up_disabled_error?: boolean | undefined | undefined;
|
|
65464
66141
|
mobile?: {
|
|
65465
66142
|
[x: string]: any;
|
|
@@ -65559,7 +66236,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65559
66236
|
addons?: Record<string, any> | undefined;
|
|
65560
66237
|
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
65561
66238
|
client_metadata?: Record<string, string> | undefined;
|
|
65562
|
-
disable_sign_ups?: boolean | undefined;
|
|
65563
66239
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
65564
66240
|
mobile?: Record<string, any> | undefined;
|
|
65565
66241
|
initiate_login_uri?: string | undefined;
|
|
@@ -65651,7 +66327,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65651
66327
|
client_metadata?: {
|
|
65652
66328
|
[x: string]: string;
|
|
65653
66329
|
} | undefined;
|
|
65654
|
-
disable_sign_ups?: boolean | undefined | undefined;
|
|
65655
66330
|
hide_sign_up_disabled_error?: boolean | undefined | undefined;
|
|
65656
66331
|
mobile?: {
|
|
65657
66332
|
[x: string]: any;
|
|
@@ -65730,7 +66405,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65730
66405
|
addons?: Record<string, any> | undefined;
|
|
65731
66406
|
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
65732
66407
|
client_metadata?: Record<string, string> | undefined;
|
|
65733
|
-
disable_sign_ups?: boolean | undefined;
|
|
65734
66408
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
65735
66409
|
mobile?: Record<string, any> | undefined;
|
|
65736
66410
|
initiate_login_uri?: string | undefined;
|
|
@@ -65813,7 +66487,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65813
66487
|
client_metadata?: {
|
|
65814
66488
|
[x: string]: string;
|
|
65815
66489
|
} | undefined;
|
|
65816
|
-
disable_sign_ups?: boolean | undefined;
|
|
65817
66490
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
65818
66491
|
mobile?: {
|
|
65819
66492
|
[x: string]: any;
|
|
@@ -65923,6 +66596,12 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
65923
66596
|
disable_signup?: boolean | undefined | undefined;
|
|
65924
66597
|
brute_force_protection?: boolean | undefined | undefined;
|
|
65925
66598
|
import_mode?: boolean | undefined | undefined;
|
|
66599
|
+
configuration?: {
|
|
66600
|
+
client_id?: string | undefined | undefined;
|
|
66601
|
+
client_secret?: string | undefined | undefined;
|
|
66602
|
+
token_endpoint?: string | undefined | undefined;
|
|
66603
|
+
userinfo_endpoint?: string | undefined | undefined;
|
|
66604
|
+
} | undefined;
|
|
65926
66605
|
attributes?: {
|
|
65927
66606
|
email?: {
|
|
65928
66607
|
validation?: {
|
|
@@ -66070,6 +66749,12 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
66070
66749
|
disable_signup?: boolean | undefined | undefined;
|
|
66071
66750
|
brute_force_protection?: boolean | undefined | undefined;
|
|
66072
66751
|
import_mode?: boolean | undefined | undefined;
|
|
66752
|
+
configuration?: {
|
|
66753
|
+
client_id?: string | undefined | undefined;
|
|
66754
|
+
client_secret?: string | undefined | undefined;
|
|
66755
|
+
token_endpoint?: string | undefined | undefined;
|
|
66756
|
+
userinfo_endpoint?: string | undefined | undefined;
|
|
66757
|
+
} | undefined;
|
|
66073
66758
|
attributes?: {
|
|
66074
66759
|
email?: {
|
|
66075
66760
|
validation?: {
|
|
@@ -68454,6 +69139,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68454
69139
|
name: string;
|
|
68455
69140
|
value?: string | undefined | undefined;
|
|
68456
69141
|
}[] | undefined;
|
|
69142
|
+
is_system?: boolean | undefined | undefined;
|
|
69143
|
+
inherit?: boolean | undefined | undefined;
|
|
68457
69144
|
deployed_at?: string | undefined | undefined;
|
|
68458
69145
|
};
|
|
68459
69146
|
display_name: string;
|
|
@@ -68514,6 +69201,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68514
69201
|
name: string;
|
|
68515
69202
|
value?: string | undefined | undefined;
|
|
68516
69203
|
}[] | undefined;
|
|
69204
|
+
is_system?: boolean | undefined | undefined;
|
|
69205
|
+
inherit?: boolean | undefined | undefined;
|
|
68517
69206
|
deployed_at?: string | undefined | undefined;
|
|
68518
69207
|
};
|
|
68519
69208
|
display_name: string;
|
|
@@ -68646,6 +69335,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68646
69335
|
name: string;
|
|
68647
69336
|
value?: string | undefined | undefined;
|
|
68648
69337
|
}[] | undefined;
|
|
69338
|
+
is_system?: boolean | undefined | undefined;
|
|
69339
|
+
inherit?: boolean | undefined | undefined;
|
|
68649
69340
|
deployed_at?: string | undefined | undefined;
|
|
68650
69341
|
}[] | {
|
|
68651
69342
|
length: number;
|
|
@@ -68672,6 +69363,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68672
69363
|
name: string;
|
|
68673
69364
|
value?: string | undefined | undefined;
|
|
68674
69365
|
}[] | undefined;
|
|
69366
|
+
is_system?: boolean | undefined | undefined;
|
|
69367
|
+
inherit?: boolean | undefined | undefined;
|
|
68675
69368
|
deployed_at?: string | undefined | undefined;
|
|
68676
69369
|
}[];
|
|
68677
69370
|
total?: number | undefined;
|
|
@@ -68704,6 +69397,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68704
69397
|
name: string;
|
|
68705
69398
|
value?: string | undefined;
|
|
68706
69399
|
}[] | undefined;
|
|
69400
|
+
is_system?: boolean | undefined;
|
|
69401
|
+
inherit?: boolean | undefined;
|
|
68707
69402
|
};
|
|
68708
69403
|
};
|
|
68709
69404
|
output: {
|
|
@@ -68727,6 +69422,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68727
69422
|
name: string;
|
|
68728
69423
|
value?: string | undefined | undefined;
|
|
68729
69424
|
}[] | undefined;
|
|
69425
|
+
is_system?: boolean | undefined | undefined;
|
|
69426
|
+
inherit?: boolean | undefined | undefined;
|
|
68730
69427
|
deployed_at?: string | undefined | undefined;
|
|
68731
69428
|
};
|
|
68732
69429
|
outputFormat: "json";
|
|
@@ -68779,6 +69476,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68779
69476
|
name: string;
|
|
68780
69477
|
value?: string | undefined | undefined;
|
|
68781
69478
|
}[] | undefined;
|
|
69479
|
+
is_system?: boolean | undefined | undefined;
|
|
69480
|
+
inherit?: boolean | undefined | undefined;
|
|
68782
69481
|
deployed_at?: string | undefined | undefined;
|
|
68783
69482
|
};
|
|
68784
69483
|
outputFormat: "json";
|
|
@@ -68813,6 +69512,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68813
69512
|
name: string;
|
|
68814
69513
|
value?: string | undefined;
|
|
68815
69514
|
}[] | undefined;
|
|
69515
|
+
is_system?: boolean | undefined;
|
|
69516
|
+
inherit?: boolean | undefined;
|
|
68816
69517
|
};
|
|
68817
69518
|
};
|
|
68818
69519
|
output: {};
|
|
@@ -68844,6 +69545,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68844
69545
|
name: string;
|
|
68845
69546
|
value?: string | undefined;
|
|
68846
69547
|
}[] | undefined;
|
|
69548
|
+
is_system?: boolean | undefined;
|
|
69549
|
+
inherit?: boolean | undefined;
|
|
68847
69550
|
};
|
|
68848
69551
|
};
|
|
68849
69552
|
output: {
|
|
@@ -68867,6 +69570,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68867
69570
|
name: string;
|
|
68868
69571
|
value?: string | undefined | undefined;
|
|
68869
69572
|
}[] | undefined;
|
|
69573
|
+
is_system?: boolean | undefined | undefined;
|
|
69574
|
+
inherit?: boolean | undefined | undefined;
|
|
68870
69575
|
deployed_at?: string | undefined | undefined;
|
|
68871
69576
|
};
|
|
68872
69577
|
outputFormat: "json";
|
|
@@ -68962,6 +69667,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68962
69667
|
name: string;
|
|
68963
69668
|
value?: string | undefined | undefined;
|
|
68964
69669
|
}[] | undefined;
|
|
69670
|
+
is_system?: boolean | undefined | undefined;
|
|
69671
|
+
inherit?: boolean | undefined | undefined;
|
|
68965
69672
|
deployed_at?: string | undefined | undefined;
|
|
68966
69673
|
};
|
|
68967
69674
|
outputFormat: "json";
|
|
@@ -69172,6 +69879,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
69172
69879
|
name: string;
|
|
69173
69880
|
value?: string | undefined | undefined;
|
|
69174
69881
|
}[] | undefined;
|
|
69882
|
+
is_system?: boolean | undefined | undefined;
|
|
69883
|
+
inherit?: boolean | undefined | undefined;
|
|
69175
69884
|
deployed_at?: string | undefined | undefined;
|
|
69176
69885
|
};
|
|
69177
69886
|
outputFormat: "json";
|