@authhero/adapter-interfaces 1.19.0 → 2.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/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +459 -19
- package/dist/adapter-interfaces.mjs +380 -306
- package/package.json +1 -1
|
@@ -66,6 +66,8 @@ export declare const actionInsertSchema: z.ZodObject<{
|
|
|
66
66
|
name: string;
|
|
67
67
|
value?: string | undefined;
|
|
68
68
|
}>, "many">>;
|
|
69
|
+
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
70
|
+
inherit: z.ZodOptional<z.ZodBoolean>;
|
|
69
71
|
}, "strip", z.ZodTypeAny, {
|
|
70
72
|
code: string;
|
|
71
73
|
name: string;
|
|
@@ -82,6 +84,8 @@ export declare const actionInsertSchema: z.ZodObject<{
|
|
|
82
84
|
name: string;
|
|
83
85
|
value?: string | undefined;
|
|
84
86
|
}[] | undefined;
|
|
87
|
+
is_system?: boolean | undefined;
|
|
88
|
+
inherit?: boolean | undefined;
|
|
85
89
|
}, {
|
|
86
90
|
code: string;
|
|
87
91
|
name: string;
|
|
@@ -98,6 +102,8 @@ export declare const actionInsertSchema: z.ZodObject<{
|
|
|
98
102
|
name: string;
|
|
99
103
|
value?: string | undefined;
|
|
100
104
|
}[] | undefined;
|
|
105
|
+
is_system?: boolean | undefined;
|
|
106
|
+
inherit?: boolean | undefined;
|
|
101
107
|
}>;
|
|
102
108
|
export type ActionInsert = z.infer<typeof actionInsertSchema>;
|
|
103
109
|
export declare const actionUpdateSchema: z.ZodObject<{
|
|
@@ -134,6 +140,8 @@ export declare const actionUpdateSchema: z.ZodObject<{
|
|
|
134
140
|
name: string;
|
|
135
141
|
value?: string | undefined;
|
|
136
142
|
}>, "many">>>;
|
|
143
|
+
is_system: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
144
|
+
inherit: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
137
145
|
} & {
|
|
138
146
|
status: z.ZodOptional<z.ZodEnum<[
|
|
139
147
|
"draft",
|
|
@@ -157,6 +165,8 @@ export declare const actionUpdateSchema: z.ZodObject<{
|
|
|
157
165
|
name: string;
|
|
158
166
|
value?: string | undefined;
|
|
159
167
|
}[] | undefined;
|
|
168
|
+
is_system?: boolean | undefined;
|
|
169
|
+
inherit?: boolean | undefined;
|
|
160
170
|
deployed_at?: string | undefined;
|
|
161
171
|
}, {
|
|
162
172
|
code?: string | undefined;
|
|
@@ -175,6 +185,8 @@ export declare const actionUpdateSchema: z.ZodObject<{
|
|
|
175
185
|
name: string;
|
|
176
186
|
value?: string | undefined;
|
|
177
187
|
}[] | undefined;
|
|
188
|
+
is_system?: boolean | undefined;
|
|
189
|
+
inherit?: boolean | undefined;
|
|
178
190
|
deployed_at?: string | undefined;
|
|
179
191
|
}>;
|
|
180
192
|
export type ActionUpdate = z.infer<typeof actionUpdateSchema>;
|
|
@@ -202,6 +214,8 @@ export declare const actionSchema: z.ZodObject<{
|
|
|
202
214
|
version: string;
|
|
203
215
|
name: string;
|
|
204
216
|
}>, "many">>;
|
|
217
|
+
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
218
|
+
inherit: z.ZodOptional<z.ZodBoolean>;
|
|
205
219
|
} & {
|
|
206
220
|
created_at: z.ZodString;
|
|
207
221
|
updated_at: z.ZodString;
|
|
@@ -243,6 +257,8 @@ export declare const actionSchema: z.ZodObject<{
|
|
|
243
257
|
name: string;
|
|
244
258
|
value?: string | undefined;
|
|
245
259
|
}[] | undefined;
|
|
260
|
+
is_system?: boolean | undefined;
|
|
261
|
+
inherit?: boolean | undefined;
|
|
246
262
|
deployed_at?: string | undefined;
|
|
247
263
|
}, {
|
|
248
264
|
created_at: string;
|
|
@@ -265,6 +281,8 @@ export declare const actionSchema: z.ZodObject<{
|
|
|
265
281
|
name: string;
|
|
266
282
|
value?: string | undefined;
|
|
267
283
|
}[] | undefined;
|
|
284
|
+
is_system?: boolean | undefined;
|
|
285
|
+
inherit?: boolean | undefined;
|
|
268
286
|
deployed_at?: string | undefined;
|
|
269
287
|
}>;
|
|
270
288
|
export type Action = z.infer<typeof actionSchema>;
|
|
@@ -3589,7 +3607,6 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3589
3607
|
"private_key_jwt"
|
|
3590
3608
|
]>>>;
|
|
3591
3609
|
client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3592
|
-
disable_sign_ups: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3593
3610
|
hide_sign_up_disabled_error: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3594
3611
|
mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3595
3612
|
initiate_login_uri: z.ZodOptional<z.ZodString>;
|
|
@@ -3706,7 +3723,6 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3706
3723
|
addons?: Record<string, any> | undefined;
|
|
3707
3724
|
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
3708
3725
|
client_metadata?: Record<string, string> | undefined;
|
|
3709
|
-
disable_sign_ups?: boolean | undefined;
|
|
3710
3726
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
3711
3727
|
mobile?: Record<string, any> | undefined;
|
|
3712
3728
|
initiate_login_uri?: string | undefined;
|
|
@@ -3767,7 +3783,6 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3767
3783
|
addons?: Record<string, any> | undefined;
|
|
3768
3784
|
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
3769
3785
|
client_metadata?: Record<string, string> | undefined;
|
|
3770
|
-
disable_sign_ups?: boolean | undefined;
|
|
3771
3786
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
3772
3787
|
mobile?: Record<string, any> | undefined;
|
|
3773
3788
|
initiate_login_uri?: string | undefined;
|
|
@@ -3855,7 +3870,6 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3855
3870
|
"private_key_jwt"
|
|
3856
3871
|
]>>>;
|
|
3857
3872
|
client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3858
|
-
disable_sign_ups: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3859
3873
|
hide_sign_up_disabled_error: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3860
3874
|
mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3861
3875
|
initiate_login_uri: z.ZodOptional<z.ZodString>;
|
|
@@ -3976,7 +3990,6 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3976
3990
|
addons?: Record<string, any> | undefined;
|
|
3977
3991
|
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
3978
3992
|
client_metadata?: Record<string, string> | undefined;
|
|
3979
|
-
disable_sign_ups?: boolean | undefined;
|
|
3980
3993
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
3981
3994
|
mobile?: Record<string, any> | undefined;
|
|
3982
3995
|
initiate_login_uri?: string | undefined;
|
|
@@ -4039,7 +4052,6 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
4039
4052
|
addons?: Record<string, any> | undefined;
|
|
4040
4053
|
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
4041
4054
|
client_metadata?: Record<string, string> | undefined;
|
|
4042
|
-
disable_sign_ups?: boolean | undefined;
|
|
4043
4055
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
4044
4056
|
mobile?: Record<string, any> | undefined;
|
|
4045
4057
|
initiate_login_uri?: string | undefined;
|
|
@@ -4079,19 +4091,19 @@ export declare const clientGrantInsertSchema: z.ZodObject<{
|
|
|
4079
4091
|
}, "strip", z.ZodTypeAny, {
|
|
4080
4092
|
client_id: string;
|
|
4081
4093
|
audience: string;
|
|
4094
|
+
is_system?: boolean | undefined;
|
|
4082
4095
|
scope?: string[] | undefined;
|
|
4083
4096
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
4084
4097
|
allow_any_organization?: boolean | undefined;
|
|
4085
|
-
is_system?: boolean | undefined;
|
|
4086
4098
|
subject_type?: "user" | "client" | undefined;
|
|
4087
4099
|
authorization_details_types?: string[] | undefined;
|
|
4088
4100
|
}, {
|
|
4089
4101
|
client_id: string;
|
|
4090
4102
|
audience: string;
|
|
4103
|
+
is_system?: boolean | undefined;
|
|
4091
4104
|
scope?: string[] | undefined;
|
|
4092
4105
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
4093
4106
|
allow_any_organization?: boolean | undefined;
|
|
4094
|
-
is_system?: boolean | undefined;
|
|
4095
4107
|
subject_type?: "user" | "client" | undefined;
|
|
4096
4108
|
authorization_details_types?: string[] | undefined;
|
|
4097
4109
|
}>;
|
|
@@ -4121,10 +4133,10 @@ export declare const clientGrantSchema: z.ZodObject<{
|
|
|
4121
4133
|
audience: string;
|
|
4122
4134
|
created_at?: string | undefined;
|
|
4123
4135
|
updated_at?: string | undefined;
|
|
4136
|
+
is_system?: boolean | undefined;
|
|
4124
4137
|
scope?: string[] | undefined;
|
|
4125
4138
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
4126
4139
|
allow_any_organization?: boolean | undefined;
|
|
4127
|
-
is_system?: boolean | undefined;
|
|
4128
4140
|
subject_type?: "user" | "client" | undefined;
|
|
4129
4141
|
authorization_details_types?: string[] | undefined;
|
|
4130
4142
|
}, {
|
|
@@ -4133,10 +4145,10 @@ export declare const clientGrantSchema: z.ZodObject<{
|
|
|
4133
4145
|
audience: string;
|
|
4134
4146
|
created_at?: string | undefined;
|
|
4135
4147
|
updated_at?: string | undefined;
|
|
4148
|
+
is_system?: boolean | undefined;
|
|
4136
4149
|
scope?: string[] | undefined;
|
|
4137
4150
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
4138
4151
|
allow_any_organization?: boolean | undefined;
|
|
4139
|
-
is_system?: boolean | undefined;
|
|
4140
4152
|
subject_type?: "user" | "client" | undefined;
|
|
4141
4153
|
authorization_details_types?: string[] | undefined;
|
|
4142
4154
|
}>;
|
|
@@ -4166,10 +4178,10 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
|
|
|
4166
4178
|
audience: string;
|
|
4167
4179
|
created_at?: string | undefined;
|
|
4168
4180
|
updated_at?: string | undefined;
|
|
4181
|
+
is_system?: boolean | undefined;
|
|
4169
4182
|
scope?: string[] | undefined;
|
|
4170
4183
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
4171
4184
|
allow_any_organization?: boolean | undefined;
|
|
4172
|
-
is_system?: boolean | undefined;
|
|
4173
4185
|
subject_type?: "user" | "client" | undefined;
|
|
4174
4186
|
authorization_details_types?: string[] | undefined;
|
|
4175
4187
|
}, {
|
|
@@ -4178,10 +4190,10 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
|
|
|
4178
4190
|
audience: string;
|
|
4179
4191
|
created_at?: string | undefined;
|
|
4180
4192
|
updated_at?: string | undefined;
|
|
4193
|
+
is_system?: boolean | undefined;
|
|
4181
4194
|
scope?: string[] | undefined;
|
|
4182
4195
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
4183
4196
|
allow_any_organization?: boolean | undefined;
|
|
4184
|
-
is_system?: boolean | undefined;
|
|
4185
4197
|
subject_type?: "user" | "client" | undefined;
|
|
4186
4198
|
authorization_details_types?: string[] | undefined;
|
|
4187
4199
|
}>, "many">;
|
|
@@ -12432,6 +12444,22 @@ export declare const connectionOptionsSchema: z.ZodObject<{
|
|
|
12432
12444
|
disable_signup: z.ZodOptional<z.ZodBoolean>;
|
|
12433
12445
|
brute_force_protection: z.ZodOptional<z.ZodBoolean>;
|
|
12434
12446
|
import_mode: z.ZodOptional<z.ZodBoolean>;
|
|
12447
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
12448
|
+
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
12449
|
+
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
12450
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
12451
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
12452
|
+
}, "strip", z.ZodTypeAny, {
|
|
12453
|
+
client_id?: string | undefined;
|
|
12454
|
+
client_secret?: string | undefined;
|
|
12455
|
+
token_endpoint?: string | undefined;
|
|
12456
|
+
userinfo_endpoint?: string | undefined;
|
|
12457
|
+
}, {
|
|
12458
|
+
client_id?: string | undefined;
|
|
12459
|
+
client_secret?: string | undefined;
|
|
12460
|
+
token_endpoint?: string | undefined;
|
|
12461
|
+
userinfo_endpoint?: string | undefined;
|
|
12462
|
+
}>>;
|
|
12435
12463
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
12436
12464
|
email: z.ZodOptional<z.ZodObject<{
|
|
12437
12465
|
identifier: z.ZodOptional<z.ZodObject<{
|
|
@@ -12835,6 +12863,12 @@ export declare const connectionOptionsSchema: z.ZodObject<{
|
|
|
12835
12863
|
disable_signup?: boolean | undefined;
|
|
12836
12864
|
brute_force_protection?: boolean | undefined;
|
|
12837
12865
|
import_mode?: boolean | undefined;
|
|
12866
|
+
configuration?: {
|
|
12867
|
+
client_id?: string | undefined;
|
|
12868
|
+
client_secret?: string | undefined;
|
|
12869
|
+
token_endpoint?: string | undefined;
|
|
12870
|
+
userinfo_endpoint?: string | undefined;
|
|
12871
|
+
} | undefined;
|
|
12838
12872
|
attributes?: {
|
|
12839
12873
|
email?: {
|
|
12840
12874
|
validation?: {
|
|
@@ -12941,6 +12975,12 @@ export declare const connectionOptionsSchema: z.ZodObject<{
|
|
|
12941
12975
|
disable_signup?: boolean | undefined;
|
|
12942
12976
|
brute_force_protection?: boolean | undefined;
|
|
12943
12977
|
import_mode?: boolean | undefined;
|
|
12978
|
+
configuration?: {
|
|
12979
|
+
client_id?: string | undefined;
|
|
12980
|
+
client_secret?: string | undefined;
|
|
12981
|
+
token_endpoint?: string | undefined;
|
|
12982
|
+
userinfo_endpoint?: string | undefined;
|
|
12983
|
+
} | undefined;
|
|
12944
12984
|
attributes?: {
|
|
12945
12985
|
email?: {
|
|
12946
12986
|
validation?: {
|
|
@@ -13076,6 +13116,22 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
13076
13116
|
disable_signup: z.ZodOptional<z.ZodBoolean>;
|
|
13077
13117
|
brute_force_protection: z.ZodOptional<z.ZodBoolean>;
|
|
13078
13118
|
import_mode: z.ZodOptional<z.ZodBoolean>;
|
|
13119
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
13120
|
+
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
13121
|
+
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
13122
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
13123
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
13124
|
+
}, "strip", z.ZodTypeAny, {
|
|
13125
|
+
client_id?: string | undefined;
|
|
13126
|
+
client_secret?: string | undefined;
|
|
13127
|
+
token_endpoint?: string | undefined;
|
|
13128
|
+
userinfo_endpoint?: string | undefined;
|
|
13129
|
+
}, {
|
|
13130
|
+
client_id?: string | undefined;
|
|
13131
|
+
client_secret?: string | undefined;
|
|
13132
|
+
token_endpoint?: string | undefined;
|
|
13133
|
+
userinfo_endpoint?: string | undefined;
|
|
13134
|
+
}>>;
|
|
13079
13135
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
13080
13136
|
email: z.ZodOptional<z.ZodObject<{
|
|
13081
13137
|
identifier: z.ZodOptional<z.ZodObject<{
|
|
@@ -13479,6 +13535,12 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
13479
13535
|
disable_signup?: boolean | undefined;
|
|
13480
13536
|
brute_force_protection?: boolean | undefined;
|
|
13481
13537
|
import_mode?: boolean | undefined;
|
|
13538
|
+
configuration?: {
|
|
13539
|
+
client_id?: string | undefined;
|
|
13540
|
+
client_secret?: string | undefined;
|
|
13541
|
+
token_endpoint?: string | undefined;
|
|
13542
|
+
userinfo_endpoint?: string | undefined;
|
|
13543
|
+
} | undefined;
|
|
13482
13544
|
attributes?: {
|
|
13483
13545
|
email?: {
|
|
13484
13546
|
validation?: {
|
|
@@ -13585,6 +13647,12 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
13585
13647
|
disable_signup?: boolean | undefined;
|
|
13586
13648
|
brute_force_protection?: boolean | undefined;
|
|
13587
13649
|
import_mode?: boolean | undefined;
|
|
13650
|
+
configuration?: {
|
|
13651
|
+
client_id?: string | undefined;
|
|
13652
|
+
client_secret?: string | undefined;
|
|
13653
|
+
token_endpoint?: string | undefined;
|
|
13654
|
+
userinfo_endpoint?: string | undefined;
|
|
13655
|
+
} | undefined;
|
|
13588
13656
|
attributes?: {
|
|
13589
13657
|
email?: {
|
|
13590
13658
|
validation?: {
|
|
@@ -13691,6 +13759,12 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
13691
13759
|
disable_signup?: boolean | undefined;
|
|
13692
13760
|
brute_force_protection?: boolean | undefined;
|
|
13693
13761
|
import_mode?: boolean | undefined;
|
|
13762
|
+
configuration?: {
|
|
13763
|
+
client_id?: string | undefined;
|
|
13764
|
+
client_secret?: string | undefined;
|
|
13765
|
+
token_endpoint?: string | undefined;
|
|
13766
|
+
userinfo_endpoint?: string | undefined;
|
|
13767
|
+
} | undefined;
|
|
13694
13768
|
attributes?: {
|
|
13695
13769
|
email?: {
|
|
13696
13770
|
validation?: {
|
|
@@ -13806,6 +13880,12 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
13806
13880
|
disable_signup?: boolean | undefined;
|
|
13807
13881
|
brute_force_protection?: boolean | undefined;
|
|
13808
13882
|
import_mode?: boolean | undefined;
|
|
13883
|
+
configuration?: {
|
|
13884
|
+
client_id?: string | undefined;
|
|
13885
|
+
client_secret?: string | undefined;
|
|
13886
|
+
token_endpoint?: string | undefined;
|
|
13887
|
+
userinfo_endpoint?: string | undefined;
|
|
13888
|
+
} | undefined;
|
|
13809
13889
|
attributes?: {
|
|
13810
13890
|
email?: {
|
|
13811
13891
|
validation?: {
|
|
@@ -13970,6 +14050,22 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13970
14050
|
disable_signup: z.ZodOptional<z.ZodBoolean>;
|
|
13971
14051
|
brute_force_protection: z.ZodOptional<z.ZodBoolean>;
|
|
13972
14052
|
import_mode: z.ZodOptional<z.ZodBoolean>;
|
|
14053
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
14054
|
+
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
14055
|
+
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
14056
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
14057
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
14058
|
+
}, "strip", z.ZodTypeAny, {
|
|
14059
|
+
client_id?: string | undefined;
|
|
14060
|
+
client_secret?: string | undefined;
|
|
14061
|
+
token_endpoint?: string | undefined;
|
|
14062
|
+
userinfo_endpoint?: string | undefined;
|
|
14063
|
+
}, {
|
|
14064
|
+
client_id?: string | undefined;
|
|
14065
|
+
client_secret?: string | undefined;
|
|
14066
|
+
token_endpoint?: string | undefined;
|
|
14067
|
+
userinfo_endpoint?: string | undefined;
|
|
14068
|
+
}>>;
|
|
13973
14069
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
13974
14070
|
email: z.ZodOptional<z.ZodObject<{
|
|
13975
14071
|
identifier: z.ZodOptional<z.ZodObject<{
|
|
@@ -14373,6 +14469,12 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
14373
14469
|
disable_signup?: boolean | undefined;
|
|
14374
14470
|
brute_force_protection?: boolean | undefined;
|
|
14375
14471
|
import_mode?: boolean | undefined;
|
|
14472
|
+
configuration?: {
|
|
14473
|
+
client_id?: string | undefined;
|
|
14474
|
+
client_secret?: string | undefined;
|
|
14475
|
+
token_endpoint?: string | undefined;
|
|
14476
|
+
userinfo_endpoint?: string | undefined;
|
|
14477
|
+
} | undefined;
|
|
14376
14478
|
attributes?: {
|
|
14377
14479
|
email?: {
|
|
14378
14480
|
validation?: {
|
|
@@ -14479,6 +14581,12 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
14479
14581
|
disable_signup?: boolean | undefined;
|
|
14480
14582
|
brute_force_protection?: boolean | undefined;
|
|
14481
14583
|
import_mode?: boolean | undefined;
|
|
14584
|
+
configuration?: {
|
|
14585
|
+
client_id?: string | undefined;
|
|
14586
|
+
client_secret?: string | undefined;
|
|
14587
|
+
token_endpoint?: string | undefined;
|
|
14588
|
+
userinfo_endpoint?: string | undefined;
|
|
14589
|
+
} | undefined;
|
|
14482
14590
|
attributes?: {
|
|
14483
14591
|
email?: {
|
|
14484
14592
|
validation?: {
|
|
@@ -14585,6 +14693,12 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
14585
14693
|
disable_signup?: boolean | undefined;
|
|
14586
14694
|
brute_force_protection?: boolean | undefined;
|
|
14587
14695
|
import_mode?: boolean | undefined;
|
|
14696
|
+
configuration?: {
|
|
14697
|
+
client_id?: string | undefined;
|
|
14698
|
+
client_secret?: string | undefined;
|
|
14699
|
+
token_endpoint?: string | undefined;
|
|
14700
|
+
userinfo_endpoint?: string | undefined;
|
|
14701
|
+
} | undefined;
|
|
14588
14702
|
attributes?: {
|
|
14589
14703
|
email?: {
|
|
14590
14704
|
validation?: {
|
|
@@ -14702,6 +14816,12 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
14702
14816
|
disable_signup?: boolean | undefined;
|
|
14703
14817
|
brute_force_protection?: boolean | undefined;
|
|
14704
14818
|
import_mode?: boolean | undefined;
|
|
14819
|
+
configuration?: {
|
|
14820
|
+
client_id?: string | undefined;
|
|
14821
|
+
client_secret?: string | undefined;
|
|
14822
|
+
token_endpoint?: string | undefined;
|
|
14823
|
+
userinfo_endpoint?: string | undefined;
|
|
14824
|
+
} | undefined;
|
|
14705
14825
|
attributes?: {
|
|
14706
14826
|
email?: {
|
|
14707
14827
|
validation?: {
|
|
@@ -45330,6 +45450,156 @@ export declare const logStreamSchema: z.ZodObject<{
|
|
|
45330
45450
|
isPriority?: boolean | undefined;
|
|
45331
45451
|
}>;
|
|
45332
45452
|
export type LogStream = z.infer<typeof logStreamSchema>;
|
|
45453
|
+
export declare const migrationProviderTypeSchema: z.ZodEnum<[
|
|
45454
|
+
"auth0",
|
|
45455
|
+
"cognito",
|
|
45456
|
+
"okta",
|
|
45457
|
+
"oidc"
|
|
45458
|
+
]>;
|
|
45459
|
+
export type MigrationProviderType = z.infer<typeof migrationProviderTypeSchema>;
|
|
45460
|
+
export declare const migrationSourceCredentialsSchema: z.ZodObject<{
|
|
45461
|
+
domain: z.ZodString;
|
|
45462
|
+
client_id: z.ZodString;
|
|
45463
|
+
client_secret: z.ZodString;
|
|
45464
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
45465
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
45466
|
+
}, "strip", z.ZodTypeAny, {
|
|
45467
|
+
client_id: string;
|
|
45468
|
+
client_secret: string;
|
|
45469
|
+
domain: string;
|
|
45470
|
+
audience?: string | undefined;
|
|
45471
|
+
scope?: string | undefined;
|
|
45472
|
+
}, {
|
|
45473
|
+
client_id: string;
|
|
45474
|
+
client_secret: string;
|
|
45475
|
+
domain: string;
|
|
45476
|
+
audience?: string | undefined;
|
|
45477
|
+
scope?: string | undefined;
|
|
45478
|
+
}>;
|
|
45479
|
+
export type MigrationSourceCredentials = z.infer<typeof migrationSourceCredentialsSchema>;
|
|
45480
|
+
export declare const migrationSourceInsertSchema: z.ZodObject<{
|
|
45481
|
+
id: z.ZodOptional<z.ZodString>;
|
|
45482
|
+
name: z.ZodString;
|
|
45483
|
+
provider: z.ZodEnum<[
|
|
45484
|
+
"auth0",
|
|
45485
|
+
"cognito",
|
|
45486
|
+
"okta",
|
|
45487
|
+
"oidc"
|
|
45488
|
+
]>;
|
|
45489
|
+
connection: z.ZodString;
|
|
45490
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
45491
|
+
credentials: z.ZodObject<{
|
|
45492
|
+
domain: z.ZodString;
|
|
45493
|
+
client_id: z.ZodString;
|
|
45494
|
+
client_secret: z.ZodString;
|
|
45495
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
45496
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
45497
|
+
}, "strip", z.ZodTypeAny, {
|
|
45498
|
+
client_id: string;
|
|
45499
|
+
client_secret: string;
|
|
45500
|
+
domain: string;
|
|
45501
|
+
audience?: string | undefined;
|
|
45502
|
+
scope?: string | undefined;
|
|
45503
|
+
}, {
|
|
45504
|
+
client_id: string;
|
|
45505
|
+
client_secret: string;
|
|
45506
|
+
domain: string;
|
|
45507
|
+
audience?: string | undefined;
|
|
45508
|
+
scope?: string | undefined;
|
|
45509
|
+
}>;
|
|
45510
|
+
}, "strip", z.ZodTypeAny, {
|
|
45511
|
+
name: string;
|
|
45512
|
+
connection: string;
|
|
45513
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
45514
|
+
enabled: boolean;
|
|
45515
|
+
credentials: {
|
|
45516
|
+
client_id: string;
|
|
45517
|
+
client_secret: string;
|
|
45518
|
+
domain: string;
|
|
45519
|
+
audience?: string | undefined;
|
|
45520
|
+
scope?: string | undefined;
|
|
45521
|
+
};
|
|
45522
|
+
id?: string | undefined;
|
|
45523
|
+
}, {
|
|
45524
|
+
name: string;
|
|
45525
|
+
connection: string;
|
|
45526
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
45527
|
+
credentials: {
|
|
45528
|
+
client_id: string;
|
|
45529
|
+
client_secret: string;
|
|
45530
|
+
domain: string;
|
|
45531
|
+
audience?: string | undefined;
|
|
45532
|
+
scope?: string | undefined;
|
|
45533
|
+
};
|
|
45534
|
+
id?: string | undefined;
|
|
45535
|
+
enabled?: boolean | undefined;
|
|
45536
|
+
}>;
|
|
45537
|
+
export type MigrationSourceInsert = z.infer<typeof migrationSourceInsertSchema>;
|
|
45538
|
+
export declare const migrationSourceSchema: z.ZodObject<{
|
|
45539
|
+
created_at: z.ZodString;
|
|
45540
|
+
updated_at: z.ZodString;
|
|
45541
|
+
} & {
|
|
45542
|
+
id: z.ZodOptional<z.ZodString>;
|
|
45543
|
+
name: z.ZodString;
|
|
45544
|
+
provider: z.ZodEnum<[
|
|
45545
|
+
"auth0",
|
|
45546
|
+
"cognito",
|
|
45547
|
+
"okta",
|
|
45548
|
+
"oidc"
|
|
45549
|
+
]>;
|
|
45550
|
+
connection: z.ZodString;
|
|
45551
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
45552
|
+
credentials: z.ZodObject<{
|
|
45553
|
+
domain: z.ZodString;
|
|
45554
|
+
client_id: z.ZodString;
|
|
45555
|
+
client_secret: z.ZodString;
|
|
45556
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
45557
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
45558
|
+
}, "strip", z.ZodTypeAny, {
|
|
45559
|
+
client_id: string;
|
|
45560
|
+
client_secret: string;
|
|
45561
|
+
domain: string;
|
|
45562
|
+
audience?: string | undefined;
|
|
45563
|
+
scope?: string | undefined;
|
|
45564
|
+
}, {
|
|
45565
|
+
client_id: string;
|
|
45566
|
+
client_secret: string;
|
|
45567
|
+
domain: string;
|
|
45568
|
+
audience?: string | undefined;
|
|
45569
|
+
scope?: string | undefined;
|
|
45570
|
+
}>;
|
|
45571
|
+
}, "strip", z.ZodTypeAny, {
|
|
45572
|
+
created_at: string;
|
|
45573
|
+
updated_at: string;
|
|
45574
|
+
name: string;
|
|
45575
|
+
connection: string;
|
|
45576
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
45577
|
+
enabled: boolean;
|
|
45578
|
+
credentials: {
|
|
45579
|
+
client_id: string;
|
|
45580
|
+
client_secret: string;
|
|
45581
|
+
domain: string;
|
|
45582
|
+
audience?: string | undefined;
|
|
45583
|
+
scope?: string | undefined;
|
|
45584
|
+
};
|
|
45585
|
+
id?: string | undefined;
|
|
45586
|
+
}, {
|
|
45587
|
+
created_at: string;
|
|
45588
|
+
updated_at: string;
|
|
45589
|
+
name: string;
|
|
45590
|
+
connection: string;
|
|
45591
|
+
provider: "auth0" | "cognito" | "okta" | "oidc";
|
|
45592
|
+
credentials: {
|
|
45593
|
+
client_id: string;
|
|
45594
|
+
client_secret: string;
|
|
45595
|
+
domain: string;
|
|
45596
|
+
audience?: string | undefined;
|
|
45597
|
+
scope?: string | undefined;
|
|
45598
|
+
};
|
|
45599
|
+
id?: string | undefined;
|
|
45600
|
+
enabled?: boolean | undefined;
|
|
45601
|
+
}>;
|
|
45602
|
+
export type MigrationSource = z.infer<typeof migrationSourceSchema>;
|
|
45333
45603
|
export declare const breachedPasswordDetectionSchema: z.ZodObject<{
|
|
45334
45604
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
45335
45605
|
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -49531,11 +49801,11 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
|
|
|
49531
49801
|
enable_introspection_endpoint?: boolean | undefined;
|
|
49532
49802
|
} | undefined;
|
|
49533
49803
|
id?: string | undefined;
|
|
49804
|
+
is_system?: boolean | undefined;
|
|
49534
49805
|
scopes?: {
|
|
49535
49806
|
value: string;
|
|
49536
49807
|
description?: string | undefined;
|
|
49537
49808
|
}[] | undefined;
|
|
49538
|
-
is_system?: boolean | undefined;
|
|
49539
49809
|
metadata?: Record<string, any> | undefined;
|
|
49540
49810
|
signing_alg?: string | undefined;
|
|
49541
49811
|
signing_secret?: string | undefined;
|
|
@@ -49557,12 +49827,12 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
|
|
|
49557
49827
|
enable_introspection_endpoint?: boolean | undefined;
|
|
49558
49828
|
} | undefined;
|
|
49559
49829
|
id?: string | undefined;
|
|
49830
|
+
is_system?: boolean | undefined;
|
|
49560
49831
|
scopes?: {
|
|
49561
49832
|
value: string;
|
|
49562
49833
|
description?: string | undefined;
|
|
49563
49834
|
}[] | undefined;
|
|
49564
49835
|
token_lifetime?: number | undefined;
|
|
49565
|
-
is_system?: boolean | undefined;
|
|
49566
49836
|
metadata?: Record<string, any> | undefined;
|
|
49567
49837
|
signing_alg?: string | undefined;
|
|
49568
49838
|
signing_secret?: string | undefined;
|
|
@@ -49654,11 +49924,11 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
49654
49924
|
enable_introspection_endpoint?: boolean | undefined;
|
|
49655
49925
|
} | undefined;
|
|
49656
49926
|
id?: string | undefined;
|
|
49927
|
+
is_system?: boolean | undefined;
|
|
49657
49928
|
scopes?: {
|
|
49658
49929
|
value: string;
|
|
49659
49930
|
description?: string | undefined;
|
|
49660
49931
|
}[] | undefined;
|
|
49661
|
-
is_system?: boolean | undefined;
|
|
49662
49932
|
metadata?: Record<string, any> | undefined;
|
|
49663
49933
|
signing_alg?: string | undefined;
|
|
49664
49934
|
signing_secret?: string | undefined;
|
|
@@ -49682,12 +49952,12 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
49682
49952
|
enable_introspection_endpoint?: boolean | undefined;
|
|
49683
49953
|
} | undefined;
|
|
49684
49954
|
id?: string | undefined;
|
|
49955
|
+
is_system?: boolean | undefined;
|
|
49685
49956
|
scopes?: {
|
|
49686
49957
|
value: string;
|
|
49687
49958
|
description?: string | undefined;
|
|
49688
49959
|
}[] | undefined;
|
|
49689
49960
|
token_lifetime?: number | undefined;
|
|
49690
|
-
is_system?: boolean | undefined;
|
|
49691
49961
|
metadata?: Record<string, any> | undefined;
|
|
49692
49962
|
signing_alg?: string | undefined;
|
|
49693
49963
|
signing_secret?: string | undefined;
|
|
@@ -49779,11 +50049,11 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
49779
50049
|
enable_introspection_endpoint?: boolean | undefined;
|
|
49780
50050
|
} | undefined;
|
|
49781
50051
|
id?: string | undefined;
|
|
50052
|
+
is_system?: boolean | undefined;
|
|
49782
50053
|
scopes?: {
|
|
49783
50054
|
value: string;
|
|
49784
50055
|
description?: string | undefined;
|
|
49785
50056
|
}[] | undefined;
|
|
49786
|
-
is_system?: boolean | undefined;
|
|
49787
50057
|
metadata?: Record<string, any> | undefined;
|
|
49788
50058
|
signing_alg?: string | undefined;
|
|
49789
50059
|
signing_secret?: string | undefined;
|
|
@@ -49807,12 +50077,12 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
49807
50077
|
enable_introspection_endpoint?: boolean | undefined;
|
|
49808
50078
|
} | undefined;
|
|
49809
50079
|
id?: string | undefined;
|
|
50080
|
+
is_system?: boolean | undefined;
|
|
49810
50081
|
scopes?: {
|
|
49811
50082
|
value: string;
|
|
49812
50083
|
description?: string | undefined;
|
|
49813
50084
|
}[] | undefined;
|
|
49814
50085
|
token_lifetime?: number | undefined;
|
|
49815
|
-
is_system?: boolean | undefined;
|
|
49816
50086
|
metadata?: Record<string, any> | undefined;
|
|
49817
50087
|
signing_alg?: string | undefined;
|
|
49818
50088
|
signing_secret?: string | undefined;
|
|
@@ -51007,6 +51277,150 @@ export declare const dailyStatsSchema: z.ZodObject<{
|
|
|
51007
51277
|
export type DailyStats = z.infer<typeof dailyStatsSchema>;
|
|
51008
51278
|
export declare const activeUsersResponseSchema: z.ZodNumber;
|
|
51009
51279
|
export type ActiveUsersResponse = z.infer<typeof activeUsersResponseSchema>;
|
|
51280
|
+
export declare const analyticsResourceSchema: z.ZodEnum<[
|
|
51281
|
+
"active-users",
|
|
51282
|
+
"logins",
|
|
51283
|
+
"signups",
|
|
51284
|
+
"refresh-tokens",
|
|
51285
|
+
"sessions"
|
|
51286
|
+
]>;
|
|
51287
|
+
export type AnalyticsResource = z.infer<typeof analyticsResourceSchema>;
|
|
51288
|
+
export declare const analyticsIntervalSchema: z.ZodEnum<[
|
|
51289
|
+
"hour",
|
|
51290
|
+
"day",
|
|
51291
|
+
"week",
|
|
51292
|
+
"month"
|
|
51293
|
+
]>;
|
|
51294
|
+
export type AnalyticsInterval = z.infer<typeof analyticsIntervalSchema>;
|
|
51295
|
+
export declare const analyticsGroupBySchema: z.ZodEnum<[
|
|
51296
|
+
"time",
|
|
51297
|
+
"connection",
|
|
51298
|
+
"client_id",
|
|
51299
|
+
"user_type",
|
|
51300
|
+
"event"
|
|
51301
|
+
]>;
|
|
51302
|
+
export type AnalyticsGroupBy = z.infer<typeof analyticsGroupBySchema>;
|
|
51303
|
+
export declare const analyticsUserTypeSchema: z.ZodEnum<[
|
|
51304
|
+
"password",
|
|
51305
|
+
"social",
|
|
51306
|
+
"passwordless",
|
|
51307
|
+
"enterprise"
|
|
51308
|
+
]>;
|
|
51309
|
+
export type AnalyticsUserType = z.infer<typeof analyticsUserTypeSchema>;
|
|
51310
|
+
export interface AnalyticsFilters {
|
|
51311
|
+
connection?: string[];
|
|
51312
|
+
client_id?: string[];
|
|
51313
|
+
user_type?: AnalyticsUserType[];
|
|
51314
|
+
user_id?: string[];
|
|
51315
|
+
}
|
|
51316
|
+
export interface AnalyticsQueryParams {
|
|
51317
|
+
/** Inclusive lower bound, ISO 8601 datetime in UTC */
|
|
51318
|
+
from: string;
|
|
51319
|
+
/** Exclusive upper bound, ISO 8601 datetime in UTC */
|
|
51320
|
+
to: string;
|
|
51321
|
+
interval: AnalyticsInterval;
|
|
51322
|
+
/** IANA timezone for bucket boundaries */
|
|
51323
|
+
tz: string;
|
|
51324
|
+
filters: AnalyticsFilters;
|
|
51325
|
+
group_by: AnalyticsGroupBy[];
|
|
51326
|
+
limit: number;
|
|
51327
|
+
offset: number;
|
|
51328
|
+
/** Column name, prefix with `-` for descending */
|
|
51329
|
+
order_by?: string;
|
|
51330
|
+
}
|
|
51331
|
+
export interface AnalyticsColumnMeta {
|
|
51332
|
+
name: string;
|
|
51333
|
+
/** ClickHouse-style type label (e.g. "Date", "String", "UInt64", "DateTime") */
|
|
51334
|
+
type: string;
|
|
51335
|
+
}
|
|
51336
|
+
export interface AnalyticsQueryResponse {
|
|
51337
|
+
meta: AnalyticsColumnMeta[];
|
|
51338
|
+
data: Array<Record<string, unknown>>;
|
|
51339
|
+
rows: number;
|
|
51340
|
+
rows_before_limit_at_least?: number;
|
|
51341
|
+
statistics?: {
|
|
51342
|
+
elapsed: number;
|
|
51343
|
+
rows_read?: number;
|
|
51344
|
+
bytes_read?: number;
|
|
51345
|
+
};
|
|
51346
|
+
}
|
|
51347
|
+
export declare const analyticsColumnMetaSchema: z.ZodObject<{
|
|
51348
|
+
name: z.ZodString;
|
|
51349
|
+
type: z.ZodString;
|
|
51350
|
+
}, "strip", z.ZodTypeAny, {
|
|
51351
|
+
type: string;
|
|
51352
|
+
name: string;
|
|
51353
|
+
}, {
|
|
51354
|
+
type: string;
|
|
51355
|
+
name: string;
|
|
51356
|
+
}>;
|
|
51357
|
+
export declare const analyticsStatisticsSchema: z.ZodObject<{
|
|
51358
|
+
elapsed: z.ZodNumber;
|
|
51359
|
+
rows_read: z.ZodOptional<z.ZodNumber>;
|
|
51360
|
+
bytes_read: z.ZodOptional<z.ZodNumber>;
|
|
51361
|
+
}, "strip", z.ZodTypeAny, {
|
|
51362
|
+
elapsed: number;
|
|
51363
|
+
rows_read?: number | undefined;
|
|
51364
|
+
bytes_read?: number | undefined;
|
|
51365
|
+
}, {
|
|
51366
|
+
elapsed: number;
|
|
51367
|
+
rows_read?: number | undefined;
|
|
51368
|
+
bytes_read?: number | undefined;
|
|
51369
|
+
}>;
|
|
51370
|
+
export declare const analyticsQueryResponseSchema: z.ZodObject<{
|
|
51371
|
+
meta: z.ZodArray<z.ZodObject<{
|
|
51372
|
+
name: z.ZodString;
|
|
51373
|
+
type: z.ZodString;
|
|
51374
|
+
}, "strip", z.ZodTypeAny, {
|
|
51375
|
+
type: string;
|
|
51376
|
+
name: string;
|
|
51377
|
+
}, {
|
|
51378
|
+
type: string;
|
|
51379
|
+
name: string;
|
|
51380
|
+
}>, "many">;
|
|
51381
|
+
data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
|
|
51382
|
+
rows: z.ZodNumber;
|
|
51383
|
+
rows_before_limit_at_least: z.ZodOptional<z.ZodNumber>;
|
|
51384
|
+
statistics: z.ZodOptional<z.ZodObject<{
|
|
51385
|
+
elapsed: z.ZodNumber;
|
|
51386
|
+
rows_read: z.ZodOptional<z.ZodNumber>;
|
|
51387
|
+
bytes_read: z.ZodOptional<z.ZodNumber>;
|
|
51388
|
+
}, "strip", z.ZodTypeAny, {
|
|
51389
|
+
elapsed: number;
|
|
51390
|
+
rows_read?: number | undefined;
|
|
51391
|
+
bytes_read?: number | undefined;
|
|
51392
|
+
}, {
|
|
51393
|
+
elapsed: number;
|
|
51394
|
+
rows_read?: number | undefined;
|
|
51395
|
+
bytes_read?: number | undefined;
|
|
51396
|
+
}>>;
|
|
51397
|
+
}, "strip", z.ZodTypeAny, {
|
|
51398
|
+
meta: {
|
|
51399
|
+
type: string;
|
|
51400
|
+
name: string;
|
|
51401
|
+
}[];
|
|
51402
|
+
data: Record<string, any>[];
|
|
51403
|
+
rows: number;
|
|
51404
|
+
rows_before_limit_at_least?: number | undefined;
|
|
51405
|
+
statistics?: {
|
|
51406
|
+
elapsed: number;
|
|
51407
|
+
rows_read?: number | undefined;
|
|
51408
|
+
bytes_read?: number | undefined;
|
|
51409
|
+
} | undefined;
|
|
51410
|
+
}, {
|
|
51411
|
+
meta: {
|
|
51412
|
+
type: string;
|
|
51413
|
+
name: string;
|
|
51414
|
+
}[];
|
|
51415
|
+
data: Record<string, any>[];
|
|
51416
|
+
rows: number;
|
|
51417
|
+
rows_before_limit_at_least?: number | undefined;
|
|
51418
|
+
statistics?: {
|
|
51419
|
+
elapsed: number;
|
|
51420
|
+
rows_read?: number | undefined;
|
|
51421
|
+
bytes_read?: number | undefined;
|
|
51422
|
+
} | undefined;
|
|
51423
|
+
}>;
|
|
51010
51424
|
/**
|
|
51011
51425
|
* Available prompt screens that can be customized
|
|
51012
51426
|
* Based on Auth0's prompt customization options
|
|
@@ -51110,7 +51524,6 @@ export declare const Strategy: {
|
|
|
51110
51524
|
readonly SAMLP: "samlp";
|
|
51111
51525
|
readonly WAAD: "waad";
|
|
51112
51526
|
readonly ADFS: "adfs";
|
|
51113
|
-
readonly AUTH0: "auth0";
|
|
51114
51527
|
};
|
|
51115
51528
|
export declare const StrategyType: {
|
|
51116
51529
|
readonly DATABASE: "database";
|
|
@@ -51650,6 +52063,13 @@ export interface LogStreamsAdapter {
|
|
|
51650
52063
|
update(tenant_id: string, id: string, params: Partial<LogStream>): Promise<boolean>;
|
|
51651
52064
|
remove(tenant_id: string, id: string): Promise<boolean>;
|
|
51652
52065
|
}
|
|
52066
|
+
export interface MigrationSourcesAdapter {
|
|
52067
|
+
create: (tenant_id: string, migration_source: MigrationSourceInsert) => Promise<MigrationSource>;
|
|
52068
|
+
get: (tenant_id: string, id: string) => Promise<MigrationSource | null>;
|
|
52069
|
+
list: (tenant_id: string) => Promise<MigrationSource[]>;
|
|
52070
|
+
remove: (tenant_id: string, id: string) => Promise<boolean>;
|
|
52071
|
+
update: (tenant_id: string, id: string, migration_source: Partial<MigrationSourceInsert>) => Promise<boolean>;
|
|
52072
|
+
}
|
|
51653
52073
|
export interface ListConnectionsResponse extends Totals {
|
|
51654
52074
|
connections: Connection[];
|
|
51655
52075
|
}
|
|
@@ -51899,6 +52319,14 @@ export interface StatsAdapter {
|
|
|
51899
52319
|
*/
|
|
51900
52320
|
getActiveUsers(tenantId: string): Promise<number>;
|
|
51901
52321
|
}
|
|
52322
|
+
export interface AnalyticsAdapter {
|
|
52323
|
+
/**
|
|
52324
|
+
* Run an analytics query for a tenant. The adapter is responsible for
|
|
52325
|
+
* injecting the tenant_id predicate; the route handler never trusts a
|
|
52326
|
+
* tenant value from a client-controlled source.
|
|
52327
|
+
*/
|
|
52328
|
+
query(tenantId: string, resource: AnalyticsResource, params: AnalyticsQueryParams): Promise<AnalyticsQueryResponse>;
|
|
52329
|
+
}
|
|
51902
52330
|
export interface UniversalLoginTemplate {
|
|
51903
52331
|
body: string;
|
|
51904
52332
|
}
|
|
@@ -52117,6 +52545,12 @@ export interface DataAdapters {
|
|
|
52117
52545
|
loginSessions: LoginSessionsAdapter;
|
|
52118
52546
|
logs: LogsDataAdapter;
|
|
52119
52547
|
logStreams?: LogStreamsAdapter;
|
|
52548
|
+
/**
|
|
52549
|
+
* Optional tenant-level migration sources for lazy refresh-token re-mint
|
|
52550
|
+
* against upstream IdPs (Auth0, Cognito, Okta, generic OIDC). When unset,
|
|
52551
|
+
* unrecognized refresh tokens fail with `invalid_grant` as usual.
|
|
52552
|
+
*/
|
|
52553
|
+
migrationSources?: MigrationSourcesAdapter;
|
|
52120
52554
|
passwords: PasswordsAdapter;
|
|
52121
52555
|
promptSettings: PromptSettingsAdapter;
|
|
52122
52556
|
refreshTokens: RefreshTokensAdapter;
|
|
@@ -52126,6 +52560,12 @@ export interface DataAdapters {
|
|
|
52126
52560
|
roles: RolesAdapter;
|
|
52127
52561
|
sessions: SessionsAdapter;
|
|
52128
52562
|
stats?: StatsAdapter;
|
|
52563
|
+
/**
|
|
52564
|
+
* Optional richer analytics surface, exposed via `/api/v2/analytics/*`.
|
|
52565
|
+
* Returns ClickHouse-style `{ meta, data }` responses with filtering and
|
|
52566
|
+
* grouping. Unlike `stats`, this is not Auth0 wire-compatible.
|
|
52567
|
+
*/
|
|
52568
|
+
analytics?: AnalyticsAdapter;
|
|
52129
52569
|
tenants: TenantsDataAdapter;
|
|
52130
52570
|
themes: ThemesAdapter;
|
|
52131
52571
|
universalLoginTemplates: UniversalLoginTemplatesAdapter;
|