@authhero/kysely-adapter 10.131.5 → 10.132.1
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/kysely-adapter.cjs +14 -14
- package/dist/kysely-adapter.d.ts +1231 -284
- package/dist/kysely-adapter.mjs +2185 -1907
- package/package.json +2 -2
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -29,13 +29,13 @@ declare const actionInsertSchema: z.ZodObject<{
|
|
|
29
29
|
}>, "many">>;
|
|
30
30
|
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
31
31
|
name: z.ZodString;
|
|
32
|
-
value: z.ZodString
|
|
32
|
+
value: z.ZodOptional<z.ZodString>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
value: string;
|
|
35
34
|
name: string;
|
|
35
|
+
value?: string | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
value: string;
|
|
38
37
|
name: string;
|
|
38
|
+
value?: string | undefined;
|
|
39
39
|
}>, "many">>;
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
41
|
code: string;
|
|
@@ -50,8 +50,8 @@ declare const actionInsertSchema: z.ZodObject<{
|
|
|
50
50
|
name: string;
|
|
51
51
|
}[] | undefined;
|
|
52
52
|
secrets?: {
|
|
53
|
-
value: string;
|
|
54
53
|
name: string;
|
|
54
|
+
value?: string | undefined;
|
|
55
55
|
}[] | undefined;
|
|
56
56
|
}, {
|
|
57
57
|
code: string;
|
|
@@ -66,8 +66,8 @@ declare const actionInsertSchema: z.ZodObject<{
|
|
|
66
66
|
name: string;
|
|
67
67
|
}[] | undefined;
|
|
68
68
|
secrets?: {
|
|
69
|
-
value: string;
|
|
70
69
|
name: string;
|
|
70
|
+
value?: string | undefined;
|
|
71
71
|
}[] | undefined;
|
|
72
72
|
}>;
|
|
73
73
|
export type ActionInsert = z.infer<typeof actionInsertSchema>;
|
|
@@ -97,13 +97,13 @@ declare const actionUpdateSchema: z.ZodObject<{
|
|
|
97
97
|
}>, "many">>>;
|
|
98
98
|
secrets: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
99
99
|
name: z.ZodString;
|
|
100
|
-
value: z.ZodString
|
|
100
|
+
value: z.ZodOptional<z.ZodString>;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
|
-
value: string;
|
|
103
102
|
name: string;
|
|
103
|
+
value?: string | undefined;
|
|
104
104
|
}, {
|
|
105
|
-
value: string;
|
|
106
105
|
name: string;
|
|
106
|
+
value?: string | undefined;
|
|
107
107
|
}>, "many">>>;
|
|
108
108
|
} & {
|
|
109
109
|
status: z.ZodOptional<z.ZodEnum<[
|
|
@@ -125,8 +125,8 @@ declare const actionUpdateSchema: z.ZodObject<{
|
|
|
125
125
|
name: string;
|
|
126
126
|
}[] | undefined;
|
|
127
127
|
secrets?: {
|
|
128
|
-
value: string;
|
|
129
128
|
name: string;
|
|
129
|
+
value?: string | undefined;
|
|
130
130
|
}[] | undefined;
|
|
131
131
|
deployed_at?: string | undefined;
|
|
132
132
|
}, {
|
|
@@ -143,8 +143,8 @@ declare const actionUpdateSchema: z.ZodObject<{
|
|
|
143
143
|
name: string;
|
|
144
144
|
}[] | undefined;
|
|
145
145
|
secrets?: {
|
|
146
|
-
value: string;
|
|
147
146
|
name: string;
|
|
147
|
+
value?: string | undefined;
|
|
148
148
|
}[] | undefined;
|
|
149
149
|
deployed_at?: string | undefined;
|
|
150
150
|
}>;
|
|
@@ -1782,7 +1782,7 @@ declare const userSchema: z.ZodObject<{
|
|
|
1782
1782
|
}>;
|
|
1783
1783
|
export type User = z.infer<typeof userSchema>;
|
|
1784
1784
|
declare const clientInsertSchema: z.ZodObject<{
|
|
1785
|
-
client_id: z.ZodString
|
|
1785
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
1786
1786
|
name: z.ZodString;
|
|
1787
1787
|
description: z.ZodOptional<z.ZodString>;
|
|
1788
1788
|
global: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1849,7 +1849,37 @@ declare const clientInsertSchema: z.ZodObject<{
|
|
|
1849
1849
|
mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1850
1850
|
initiate_login_uri: z.ZodOptional<z.ZodString>;
|
|
1851
1851
|
native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1852
|
-
refresh_token: z.ZodOptional<z.ZodDefault<z.
|
|
1852
|
+
refresh_token: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
1853
|
+
rotation_type: z.ZodOptional<z.ZodEnum<[
|
|
1854
|
+
"rotating",
|
|
1855
|
+
"non-rotating"
|
|
1856
|
+
]>>;
|
|
1857
|
+
leeway: z.ZodOptional<z.ZodNumber>;
|
|
1858
|
+
expiration_type: z.ZodOptional<z.ZodEnum<[
|
|
1859
|
+
"expiring",
|
|
1860
|
+
"non-expiring"
|
|
1861
|
+
]>>;
|
|
1862
|
+
token_lifetime: z.ZodOptional<z.ZodNumber>;
|
|
1863
|
+
infinite_token_lifetime: z.ZodOptional<z.ZodBoolean>;
|
|
1864
|
+
idle_token_lifetime: z.ZodOptional<z.ZodNumber>;
|
|
1865
|
+
infinite_idle_token_lifetime: z.ZodOptional<z.ZodBoolean>;
|
|
1866
|
+
}, "strip", z.ZodTypeAny, {
|
|
1867
|
+
rotation_type?: "rotating" | "non-rotating" | undefined;
|
|
1868
|
+
leeway?: number | undefined;
|
|
1869
|
+
expiration_type?: "expiring" | "non-expiring" | undefined;
|
|
1870
|
+
token_lifetime?: number | undefined;
|
|
1871
|
+
infinite_token_lifetime?: boolean | undefined;
|
|
1872
|
+
idle_token_lifetime?: number | undefined;
|
|
1873
|
+
infinite_idle_token_lifetime?: boolean | undefined;
|
|
1874
|
+
}, {
|
|
1875
|
+
rotation_type?: "rotating" | "non-rotating" | undefined;
|
|
1876
|
+
leeway?: number | undefined;
|
|
1877
|
+
expiration_type?: "expiring" | "non-expiring" | undefined;
|
|
1878
|
+
token_lifetime?: number | undefined;
|
|
1879
|
+
infinite_token_lifetime?: boolean | undefined;
|
|
1880
|
+
idle_token_lifetime?: number | undefined;
|
|
1881
|
+
infinite_idle_token_lifetime?: boolean | undefined;
|
|
1882
|
+
}>>>;
|
|
1853
1883
|
default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1854
1884
|
organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
1855
1885
|
"deny",
|
|
@@ -1887,7 +1917,6 @@ declare const clientInsertSchema: z.ZodObject<{
|
|
|
1887
1917
|
]>>;
|
|
1888
1918
|
}, "strip", z.ZodTypeAny, {
|
|
1889
1919
|
name: string;
|
|
1890
|
-
client_id: string;
|
|
1891
1920
|
global: boolean;
|
|
1892
1921
|
is_first_party: boolean;
|
|
1893
1922
|
oidc_conformant: boolean;
|
|
@@ -1899,7 +1928,16 @@ declare const clientInsertSchema: z.ZodObject<{
|
|
|
1899
1928
|
require_pushed_authorization_requests: boolean;
|
|
1900
1929
|
require_proof_of_possession: boolean;
|
|
1901
1930
|
description?: string | undefined;
|
|
1902
|
-
|
|
1931
|
+
client_id?: string | undefined;
|
|
1932
|
+
refresh_token?: {
|
|
1933
|
+
rotation_type?: "rotating" | "non-rotating" | undefined;
|
|
1934
|
+
leeway?: number | undefined;
|
|
1935
|
+
expiration_type?: "expiring" | "non-expiring" | undefined;
|
|
1936
|
+
token_lifetime?: number | undefined;
|
|
1937
|
+
infinite_token_lifetime?: boolean | undefined;
|
|
1938
|
+
idle_token_lifetime?: number | undefined;
|
|
1939
|
+
infinite_idle_token_lifetime?: boolean | undefined;
|
|
1940
|
+
} | undefined;
|
|
1903
1941
|
client_secret?: string | undefined;
|
|
1904
1942
|
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
1905
1943
|
logo_uri?: string | undefined;
|
|
@@ -1940,9 +1978,17 @@ declare const clientInsertSchema: z.ZodObject<{
|
|
|
1940
1978
|
user_linking_mode?: "builtin" | "off" | undefined;
|
|
1941
1979
|
}, {
|
|
1942
1980
|
name: string;
|
|
1943
|
-
client_id: string;
|
|
1944
1981
|
description?: string | undefined;
|
|
1945
|
-
|
|
1982
|
+
client_id?: string | undefined;
|
|
1983
|
+
refresh_token?: {
|
|
1984
|
+
rotation_type?: "rotating" | "non-rotating" | undefined;
|
|
1985
|
+
leeway?: number | undefined;
|
|
1986
|
+
expiration_type?: "expiring" | "non-expiring" | undefined;
|
|
1987
|
+
token_lifetime?: number | undefined;
|
|
1988
|
+
infinite_token_lifetime?: boolean | undefined;
|
|
1989
|
+
idle_token_lifetime?: number | undefined;
|
|
1990
|
+
infinite_idle_token_lifetime?: boolean | undefined;
|
|
1991
|
+
} | undefined;
|
|
1946
1992
|
global?: boolean | undefined;
|
|
1947
1993
|
client_secret?: string | undefined;
|
|
1948
1994
|
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
@@ -2061,7 +2107,37 @@ declare const clientSchema: z.ZodObject<{
|
|
|
2061
2107
|
mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2062
2108
|
initiate_login_uri: z.ZodOptional<z.ZodString>;
|
|
2063
2109
|
native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2064
|
-
refresh_token: z.ZodOptional<z.ZodDefault<z.
|
|
2110
|
+
refresh_token: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
2111
|
+
rotation_type: z.ZodOptional<z.ZodEnum<[
|
|
2112
|
+
"rotating",
|
|
2113
|
+
"non-rotating"
|
|
2114
|
+
]>>;
|
|
2115
|
+
leeway: z.ZodOptional<z.ZodNumber>;
|
|
2116
|
+
expiration_type: z.ZodOptional<z.ZodEnum<[
|
|
2117
|
+
"expiring",
|
|
2118
|
+
"non-expiring"
|
|
2119
|
+
]>>;
|
|
2120
|
+
token_lifetime: z.ZodOptional<z.ZodNumber>;
|
|
2121
|
+
infinite_token_lifetime: z.ZodOptional<z.ZodBoolean>;
|
|
2122
|
+
idle_token_lifetime: z.ZodOptional<z.ZodNumber>;
|
|
2123
|
+
infinite_idle_token_lifetime: z.ZodOptional<z.ZodBoolean>;
|
|
2124
|
+
}, "strip", z.ZodTypeAny, {
|
|
2125
|
+
rotation_type?: "rotating" | "non-rotating" | undefined;
|
|
2126
|
+
leeway?: number | undefined;
|
|
2127
|
+
expiration_type?: "expiring" | "non-expiring" | undefined;
|
|
2128
|
+
token_lifetime?: number | undefined;
|
|
2129
|
+
infinite_token_lifetime?: boolean | undefined;
|
|
2130
|
+
idle_token_lifetime?: number | undefined;
|
|
2131
|
+
infinite_idle_token_lifetime?: boolean | undefined;
|
|
2132
|
+
}, {
|
|
2133
|
+
rotation_type?: "rotating" | "non-rotating" | undefined;
|
|
2134
|
+
leeway?: number | undefined;
|
|
2135
|
+
expiration_type?: "expiring" | "non-expiring" | undefined;
|
|
2136
|
+
token_lifetime?: number | undefined;
|
|
2137
|
+
infinite_token_lifetime?: boolean | undefined;
|
|
2138
|
+
idle_token_lifetime?: number | undefined;
|
|
2139
|
+
infinite_idle_token_lifetime?: boolean | undefined;
|
|
2140
|
+
}>>>;
|
|
2065
2141
|
default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2066
2142
|
organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
2067
2143
|
"deny",
|
|
@@ -2115,7 +2191,15 @@ declare const clientSchema: z.ZodObject<{
|
|
|
2115
2191
|
require_pushed_authorization_requests: boolean;
|
|
2116
2192
|
require_proof_of_possession: boolean;
|
|
2117
2193
|
description?: string | undefined;
|
|
2118
|
-
refresh_token?:
|
|
2194
|
+
refresh_token?: {
|
|
2195
|
+
rotation_type?: "rotating" | "non-rotating" | undefined;
|
|
2196
|
+
leeway?: number | undefined;
|
|
2197
|
+
expiration_type?: "expiring" | "non-expiring" | undefined;
|
|
2198
|
+
token_lifetime?: number | undefined;
|
|
2199
|
+
infinite_token_lifetime?: boolean | undefined;
|
|
2200
|
+
idle_token_lifetime?: number | undefined;
|
|
2201
|
+
infinite_idle_token_lifetime?: boolean | undefined;
|
|
2202
|
+
} | undefined;
|
|
2119
2203
|
client_secret?: string | undefined;
|
|
2120
2204
|
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
2121
2205
|
logo_uri?: string | undefined;
|
|
@@ -2160,7 +2244,15 @@ declare const clientSchema: z.ZodObject<{
|
|
|
2160
2244
|
name: string;
|
|
2161
2245
|
client_id: string;
|
|
2162
2246
|
description?: string | undefined;
|
|
2163
|
-
refresh_token?:
|
|
2247
|
+
refresh_token?: {
|
|
2248
|
+
rotation_type?: "rotating" | "non-rotating" | undefined;
|
|
2249
|
+
leeway?: number | undefined;
|
|
2250
|
+
expiration_type?: "expiring" | "non-expiring" | undefined;
|
|
2251
|
+
token_lifetime?: number | undefined;
|
|
2252
|
+
infinite_token_lifetime?: boolean | undefined;
|
|
2253
|
+
idle_token_lifetime?: number | undefined;
|
|
2254
|
+
infinite_idle_token_lifetime?: boolean | undefined;
|
|
2255
|
+
} | undefined;
|
|
2164
2256
|
global?: boolean | undefined;
|
|
2165
2257
|
client_secret?: string | undefined;
|
|
2166
2258
|
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
@@ -2385,25 +2477,28 @@ declare enum CodeChallengeMethod {
|
|
|
2385
2477
|
declare const brandingSchema: z.ZodObject<{
|
|
2386
2478
|
colors: z.ZodOptional<z.ZodObject<{
|
|
2387
2479
|
primary: z.ZodString;
|
|
2388
|
-
page_background: z.ZodOptional<z.
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2480
|
+
page_background: z.ZodOptional<z.ZodUnion<[
|
|
2481
|
+
z.ZodString,
|
|
2482
|
+
z.ZodObject<{
|
|
2483
|
+
type: z.ZodOptional<z.ZodString>;
|
|
2484
|
+
start: z.ZodOptional<z.ZodString>;
|
|
2485
|
+
end: z.ZodOptional<z.ZodString>;
|
|
2486
|
+
angle_deg: z.ZodOptional<z.ZodNumber>;
|
|
2487
|
+
}, "strip", z.ZodTypeAny, {
|
|
2488
|
+
type?: string | undefined;
|
|
2489
|
+
start?: string | undefined;
|
|
2490
|
+
end?: string | undefined;
|
|
2491
|
+
angle_deg?: number | undefined;
|
|
2492
|
+
}, {
|
|
2493
|
+
type?: string | undefined;
|
|
2494
|
+
start?: string | undefined;
|
|
2495
|
+
end?: string | undefined;
|
|
2496
|
+
angle_deg?: number | undefined;
|
|
2497
|
+
}>
|
|
2498
|
+
]>>;
|
|
2404
2499
|
}, "strip", z.ZodTypeAny, {
|
|
2405
2500
|
primary: string;
|
|
2406
|
-
page_background?: {
|
|
2501
|
+
page_background?: string | {
|
|
2407
2502
|
type?: string | undefined;
|
|
2408
2503
|
start?: string | undefined;
|
|
2409
2504
|
end?: string | undefined;
|
|
@@ -2411,7 +2506,7 @@ declare const brandingSchema: z.ZodObject<{
|
|
|
2411
2506
|
} | undefined;
|
|
2412
2507
|
}, {
|
|
2413
2508
|
primary: string;
|
|
2414
|
-
page_background?: {
|
|
2509
|
+
page_background?: string | {
|
|
2415
2510
|
type?: string | undefined;
|
|
2416
2511
|
start?: string | undefined;
|
|
2417
2512
|
end?: string | undefined;
|
|
@@ -2431,7 +2526,7 @@ declare const brandingSchema: z.ZodObject<{
|
|
|
2431
2526
|
}, "strip", z.ZodTypeAny, {
|
|
2432
2527
|
colors?: {
|
|
2433
2528
|
primary: string;
|
|
2434
|
-
page_background?: {
|
|
2529
|
+
page_background?: string | {
|
|
2435
2530
|
type?: string | undefined;
|
|
2436
2531
|
start?: string | undefined;
|
|
2437
2532
|
end?: string | undefined;
|
|
@@ -2447,7 +2542,7 @@ declare const brandingSchema: z.ZodObject<{
|
|
|
2447
2542
|
}, {
|
|
2448
2543
|
colors?: {
|
|
2449
2544
|
primary: string;
|
|
2450
|
-
page_background?: {
|
|
2545
|
+
page_background?: string | {
|
|
2451
2546
|
type?: string | undefined;
|
|
2452
2547
|
start?: string | undefined;
|
|
2453
2548
|
end?: string | undefined;
|
|
@@ -2596,7 +2691,7 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
2596
2691
|
name: z.ZodString;
|
|
2597
2692
|
display_name: z.ZodOptional<z.ZodString>;
|
|
2598
2693
|
strategy: z.ZodString;
|
|
2599
|
-
options: z.ZodDefault<z.ZodObject<{
|
|
2694
|
+
options: z.ZodDefault<z.ZodEffects<z.ZodObject<{
|
|
2600
2695
|
kid: z.ZodOptional<z.ZodString>;
|
|
2601
2696
|
team_id: z.ZodOptional<z.ZodString>;
|
|
2602
2697
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -3222,16 +3317,7 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
3222
3317
|
} | undefined;
|
|
3223
3318
|
requires_username?: boolean | undefined;
|
|
3224
3319
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
3225
|
-
}
|
|
3226
|
-
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
3227
|
-
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
3228
|
-
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
3229
|
-
is_domain_connection: z.ZodOptional<z.ZodBoolean>;
|
|
3230
|
-
show_as_button: z.ZodOptional<z.ZodBoolean>;
|
|
3231
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3232
|
-
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
3233
|
-
}, "strip", z.ZodTypeAny, {
|
|
3234
|
-
options: {
|
|
3320
|
+
}>, {
|
|
3235
3321
|
validation?: {
|
|
3236
3322
|
username?: {
|
|
3237
3323
|
min?: number | undefined;
|
|
@@ -3334,22 +3420,16 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
3334
3420
|
} | undefined;
|
|
3335
3421
|
requires_username?: boolean | undefined;
|
|
3336
3422
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
3337
|
-
}
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
show_as_button?: boolean | undefined;
|
|
3348
|
-
metadata?: Record<string, any> | undefined;
|
|
3349
|
-
}, {
|
|
3350
|
-
name: string;
|
|
3351
|
-
strategy: string;
|
|
3352
|
-
options?: {
|
|
3423
|
+
}, unknown>>;
|
|
3424
|
+
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
3425
|
+
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
3426
|
+
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
3427
|
+
is_domain_connection: z.ZodOptional<z.ZodBoolean>;
|
|
3428
|
+
show_as_button: z.ZodOptional<z.ZodBoolean>;
|
|
3429
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3430
|
+
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
3431
|
+
}, "strip", z.ZodTypeAny, {
|
|
3432
|
+
options: {
|
|
3353
3433
|
validation?: {
|
|
3354
3434
|
username?: {
|
|
3355
3435
|
min?: number | undefined;
|
|
@@ -3452,7 +3532,22 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
3452
3532
|
} | undefined;
|
|
3453
3533
|
requires_username?: boolean | undefined;
|
|
3454
3534
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
3455
|
-
}
|
|
3535
|
+
};
|
|
3536
|
+
name: string;
|
|
3537
|
+
strategy: string;
|
|
3538
|
+
id?: string | undefined;
|
|
3539
|
+
is_system?: boolean | undefined;
|
|
3540
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
3541
|
+
response_mode?: AuthorizationResponseMode | undefined;
|
|
3542
|
+
display_name?: string | undefined;
|
|
3543
|
+
enabled_clients?: string[] | undefined;
|
|
3544
|
+
is_domain_connection?: boolean | undefined;
|
|
3545
|
+
show_as_button?: boolean | undefined;
|
|
3546
|
+
metadata?: Record<string, any> | undefined;
|
|
3547
|
+
}, {
|
|
3548
|
+
name: string;
|
|
3549
|
+
strategy: string;
|
|
3550
|
+
options?: unknown;
|
|
3456
3551
|
id?: string | undefined;
|
|
3457
3552
|
is_system?: boolean | undefined;
|
|
3458
3553
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -3472,7 +3567,7 @@ declare const connectionSchema: z.ZodObject<{
|
|
|
3472
3567
|
name: z.ZodString;
|
|
3473
3568
|
display_name: z.ZodOptional<z.ZodString>;
|
|
3474
3569
|
strategy: z.ZodString;
|
|
3475
|
-
options: z.ZodDefault<z.ZodObject<{
|
|
3570
|
+
options: z.ZodDefault<z.ZodEffects<z.ZodObject<{
|
|
3476
3571
|
kid: z.ZodOptional<z.ZodString>;
|
|
3477
3572
|
team_id: z.ZodOptional<z.ZodString>;
|
|
3478
3573
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -4098,18 +4193,7 @@ declare const connectionSchema: z.ZodObject<{
|
|
|
4098
4193
|
} | undefined;
|
|
4099
4194
|
requires_username?: boolean | undefined;
|
|
4100
4195
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
4101
|
-
}
|
|
4102
|
-
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
4103
|
-
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
4104
|
-
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
4105
|
-
is_domain_connection: z.ZodOptional<z.ZodBoolean>;
|
|
4106
|
-
show_as_button: z.ZodOptional<z.ZodBoolean>;
|
|
4107
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4108
|
-
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
4109
|
-
}, "strip", z.ZodTypeAny, {
|
|
4110
|
-
created_at: string;
|
|
4111
|
-
updated_at: string;
|
|
4112
|
-
options: {
|
|
4196
|
+
}>, {
|
|
4113
4197
|
validation?: {
|
|
4114
4198
|
username?: {
|
|
4115
4199
|
min?: number | undefined;
|
|
@@ -4212,24 +4296,18 @@ declare const connectionSchema: z.ZodObject<{
|
|
|
4212
4296
|
} | undefined;
|
|
4213
4297
|
requires_username?: boolean | undefined;
|
|
4214
4298
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
4215
|
-
}
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
is_domain_connection?: boolean | undefined;
|
|
4225
|
-
show_as_button?: boolean | undefined;
|
|
4226
|
-
metadata?: Record<string, any> | undefined;
|
|
4227
|
-
}, {
|
|
4299
|
+
}, unknown>>;
|
|
4300
|
+
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
4301
|
+
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
4302
|
+
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
4303
|
+
is_domain_connection: z.ZodOptional<z.ZodBoolean>;
|
|
4304
|
+
show_as_button: z.ZodOptional<z.ZodBoolean>;
|
|
4305
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4306
|
+
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
4307
|
+
}, "strip", z.ZodTypeAny, {
|
|
4228
4308
|
created_at: string;
|
|
4229
4309
|
updated_at: string;
|
|
4230
|
-
|
|
4231
|
-
strategy: string;
|
|
4232
|
-
options?: {
|
|
4310
|
+
options: {
|
|
4233
4311
|
validation?: {
|
|
4234
4312
|
username?: {
|
|
4235
4313
|
min?: number | undefined;
|
|
@@ -4332,7 +4410,24 @@ declare const connectionSchema: z.ZodObject<{
|
|
|
4332
4410
|
} | undefined;
|
|
4333
4411
|
requires_username?: boolean | undefined;
|
|
4334
4412
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
4335
|
-
}
|
|
4413
|
+
};
|
|
4414
|
+
name: string;
|
|
4415
|
+
strategy: string;
|
|
4416
|
+
id?: string | undefined;
|
|
4417
|
+
is_system?: boolean | undefined;
|
|
4418
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
4419
|
+
response_mode?: AuthorizationResponseMode | undefined;
|
|
4420
|
+
display_name?: string | undefined;
|
|
4421
|
+
enabled_clients?: string[] | undefined;
|
|
4422
|
+
is_domain_connection?: boolean | undefined;
|
|
4423
|
+
show_as_button?: boolean | undefined;
|
|
4424
|
+
metadata?: Record<string, any> | undefined;
|
|
4425
|
+
}, {
|
|
4426
|
+
created_at: string;
|
|
4427
|
+
updated_at: string;
|
|
4428
|
+
name: string;
|
|
4429
|
+
strategy: string;
|
|
4430
|
+
options?: unknown;
|
|
4336
4431
|
id?: string | undefined;
|
|
4337
4432
|
is_system?: boolean | undefined;
|
|
4338
4433
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -16256,7 +16351,7 @@ declare const loginSessionSchema: z.ZodObject<{
|
|
|
16256
16351
|
}>;
|
|
16257
16352
|
export type LoginSession = z.infer<typeof loginSessionSchema>;
|
|
16258
16353
|
declare const logInsertSchema: z.ZodObject<{
|
|
16259
|
-
type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
|
|
16354
|
+
type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
|
|
16260
16355
|
date: z.ZodString;
|
|
16261
16356
|
description: z.ZodOptional<z.ZodString>;
|
|
16262
16357
|
ip: z.ZodOptional<z.ZodString>;
|
|
@@ -16321,7 +16416,7 @@ declare const logInsertSchema: z.ZodObject<{
|
|
|
16321
16416
|
continent_code: string;
|
|
16322
16417
|
}>>;
|
|
16323
16418
|
}, "strip", z.ZodTypeAny, {
|
|
16324
|
-
type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
16419
|
+
type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
16325
16420
|
date: string;
|
|
16326
16421
|
isMobile: boolean;
|
|
16327
16422
|
description?: string | undefined;
|
|
@@ -16394,7 +16489,7 @@ declare const logInsertSchema: z.ZodObject<{
|
|
|
16394
16489
|
export type LogInsert = z.infer<typeof logInsertSchema>;
|
|
16395
16490
|
declare const logSchema: z.ZodObject<{
|
|
16396
16491
|
log_id: z.ZodString;
|
|
16397
|
-
type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
|
|
16492
|
+
type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
|
|
16398
16493
|
date: z.ZodString;
|
|
16399
16494
|
description: z.ZodOptional<z.ZodString>;
|
|
16400
16495
|
ip: z.ZodOptional<z.ZodString>;
|
|
@@ -16458,7 +16553,7 @@ declare const logSchema: z.ZodObject<{
|
|
|
16458
16553
|
continent_code: string;
|
|
16459
16554
|
}>>;
|
|
16460
16555
|
}, "strip", z.ZodTypeAny, {
|
|
16461
|
-
type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
16556
|
+
type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
16462
16557
|
date: string;
|
|
16463
16558
|
isMobile: boolean;
|
|
16464
16559
|
log_id: string;
|
|
@@ -16529,6 +16624,114 @@ declare const logSchema: z.ZodObject<{
|
|
|
16529
16624
|
} | undefined;
|
|
16530
16625
|
}>;
|
|
16531
16626
|
export type Log = z.infer<typeof logSchema>;
|
|
16627
|
+
declare const logStreamInsertSchema: z.ZodObject<{
|
|
16628
|
+
name: z.ZodString;
|
|
16629
|
+
type: z.ZodEnum<[
|
|
16630
|
+
"http",
|
|
16631
|
+
"eventbridge",
|
|
16632
|
+
"eventgrid",
|
|
16633
|
+
"splunk",
|
|
16634
|
+
"datadog",
|
|
16635
|
+
"sumo"
|
|
16636
|
+
]>;
|
|
16637
|
+
status: z.ZodOptional<z.ZodEnum<[
|
|
16638
|
+
"active",
|
|
16639
|
+
"paused",
|
|
16640
|
+
"suspended"
|
|
16641
|
+
]>>;
|
|
16642
|
+
sink: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
16643
|
+
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16644
|
+
type: z.ZodString;
|
|
16645
|
+
name: z.ZodString;
|
|
16646
|
+
}, "strip", z.ZodTypeAny, {
|
|
16647
|
+
type: string;
|
|
16648
|
+
name: string;
|
|
16649
|
+
}, {
|
|
16650
|
+
type: string;
|
|
16651
|
+
name: string;
|
|
16652
|
+
}>, "many">>;
|
|
16653
|
+
isPriority: z.ZodOptional<z.ZodBoolean>;
|
|
16654
|
+
}, "strip", z.ZodTypeAny, {
|
|
16655
|
+
type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
|
|
16656
|
+
name: string;
|
|
16657
|
+
sink: Record<string, unknown>;
|
|
16658
|
+
status?: "active" | "paused" | "suspended" | undefined;
|
|
16659
|
+
filters?: {
|
|
16660
|
+
type: string;
|
|
16661
|
+
name: string;
|
|
16662
|
+
}[] | undefined;
|
|
16663
|
+
isPriority?: boolean | undefined;
|
|
16664
|
+
}, {
|
|
16665
|
+
type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
|
|
16666
|
+
name: string;
|
|
16667
|
+
sink: Record<string, unknown>;
|
|
16668
|
+
status?: "active" | "paused" | "suspended" | undefined;
|
|
16669
|
+
filters?: {
|
|
16670
|
+
type: string;
|
|
16671
|
+
name: string;
|
|
16672
|
+
}[] | undefined;
|
|
16673
|
+
isPriority?: boolean | undefined;
|
|
16674
|
+
}>;
|
|
16675
|
+
export type LogStreamInsert = z.infer<typeof logStreamInsertSchema>;
|
|
16676
|
+
declare const logStreamSchema: z.ZodObject<{
|
|
16677
|
+
name: z.ZodString;
|
|
16678
|
+
type: z.ZodEnum<[
|
|
16679
|
+
"http",
|
|
16680
|
+
"eventbridge",
|
|
16681
|
+
"eventgrid",
|
|
16682
|
+
"splunk",
|
|
16683
|
+
"datadog",
|
|
16684
|
+
"sumo"
|
|
16685
|
+
]>;
|
|
16686
|
+
sink: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
16687
|
+
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16688
|
+
type: z.ZodString;
|
|
16689
|
+
name: z.ZodString;
|
|
16690
|
+
}, "strip", z.ZodTypeAny, {
|
|
16691
|
+
type: string;
|
|
16692
|
+
name: string;
|
|
16693
|
+
}, {
|
|
16694
|
+
type: string;
|
|
16695
|
+
name: string;
|
|
16696
|
+
}>, "many">>;
|
|
16697
|
+
isPriority: z.ZodOptional<z.ZodBoolean>;
|
|
16698
|
+
} & {
|
|
16699
|
+
id: z.ZodString;
|
|
16700
|
+
status: z.ZodEnum<[
|
|
16701
|
+
"active",
|
|
16702
|
+
"paused",
|
|
16703
|
+
"suspended"
|
|
16704
|
+
]>;
|
|
16705
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
16706
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
16707
|
+
}, "strip", z.ZodTypeAny, {
|
|
16708
|
+
type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
|
|
16709
|
+
status: "active" | "paused" | "suspended";
|
|
16710
|
+
id: string;
|
|
16711
|
+
name: string;
|
|
16712
|
+
sink: Record<string, unknown>;
|
|
16713
|
+
created_at?: string | undefined;
|
|
16714
|
+
updated_at?: string | undefined;
|
|
16715
|
+
filters?: {
|
|
16716
|
+
type: string;
|
|
16717
|
+
name: string;
|
|
16718
|
+
}[] | undefined;
|
|
16719
|
+
isPriority?: boolean | undefined;
|
|
16720
|
+
}, {
|
|
16721
|
+
type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
|
|
16722
|
+
status: "active" | "paused" | "suspended";
|
|
16723
|
+
id: string;
|
|
16724
|
+
name: string;
|
|
16725
|
+
sink: Record<string, unknown>;
|
|
16726
|
+
created_at?: string | undefined;
|
|
16727
|
+
updated_at?: string | undefined;
|
|
16728
|
+
filters?: {
|
|
16729
|
+
type: string;
|
|
16730
|
+
name: string;
|
|
16731
|
+
}[] | undefined;
|
|
16732
|
+
isPriority?: boolean | undefined;
|
|
16733
|
+
}>;
|
|
16734
|
+
export type LogStream = z.infer<typeof logStreamSchema>;
|
|
16532
16735
|
declare const passwordInsertSchema: z.ZodObject<{
|
|
16533
16736
|
id: z.ZodOptional<z.ZodString>;
|
|
16534
16737
|
user_id: z.ZodString;
|
|
@@ -16803,9 +17006,10 @@ declare const tenantSchema: z.ZodObject<{
|
|
|
16803
17006
|
}>>;
|
|
16804
17007
|
allowed_logout_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16805
17008
|
default_redirection_uri: z.ZodOptional<z.ZodString>;
|
|
17009
|
+
default_client_id: z.ZodOptional<z.ZodString>;
|
|
16806
17010
|
enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16807
17011
|
default_directory: z.ZodOptional<z.ZodString>;
|
|
16808
|
-
error_page: z.ZodOptional<z.ZodObject<{
|
|
17012
|
+
error_page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16809
17013
|
html: z.ZodOptional<z.ZodString>;
|
|
16810
17014
|
show_log_link: z.ZodOptional<z.ZodBoolean>;
|
|
16811
17015
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -16817,7 +17021,7 @@ declare const tenantSchema: z.ZodObject<{
|
|
|
16817
17021
|
url?: string | undefined;
|
|
16818
17022
|
html?: string | undefined;
|
|
16819
17023
|
show_log_link?: boolean | undefined;
|
|
16820
|
-
}
|
|
17024
|
+
}>>>;
|
|
16821
17025
|
flags: z.ZodOptional<z.ZodObject<{
|
|
16822
17026
|
allow_changing_enable_sso: z.ZodOptional<z.ZodBoolean>;
|
|
16823
17027
|
allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -16966,7 +17170,7 @@ declare const tenantSchema: z.ZodObject<{
|
|
|
16966
17170
|
charset?: "base20" | "digits" | undefined;
|
|
16967
17171
|
mask?: string | undefined;
|
|
16968
17172
|
}>>;
|
|
16969
|
-
default_token_quota: z.ZodOptional<z.ZodObject<{
|
|
17173
|
+
default_token_quota: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16970
17174
|
clients: z.ZodOptional<z.ZodObject<{
|
|
16971
17175
|
client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
16972
17176
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -16995,7 +17199,7 @@ declare const tenantSchema: z.ZodObject<{
|
|
|
16995
17199
|
organizations?: {
|
|
16996
17200
|
client_credentials?: Record<string, any> | undefined;
|
|
16997
17201
|
} | undefined;
|
|
16998
|
-
}
|
|
17202
|
+
}>>>;
|
|
16999
17203
|
default_audience: z.ZodOptional<z.ZodString>;
|
|
17000
17204
|
default_organization: z.ZodOptional<z.ZodString>;
|
|
17001
17205
|
sessions: z.ZodOptional<z.ZodObject<{
|
|
@@ -17015,36 +17219,266 @@ declare const tenantSchema: z.ZodObject<{
|
|
|
17015
17219
|
allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodBoolean>;
|
|
17016
17220
|
customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodBoolean>;
|
|
17017
17221
|
acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17018
|
-
mtls: z.ZodOptional<z.ZodObject<{
|
|
17222
|
+
mtls: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17019
17223
|
enable_endpoint_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
17020
17224
|
}, "strip", z.ZodTypeAny, {
|
|
17021
17225
|
enable_endpoint_aliases?: boolean | undefined;
|
|
17022
17226
|
}, {
|
|
17023
17227
|
enable_endpoint_aliases?: boolean | undefined;
|
|
17024
|
-
}
|
|
17228
|
+
}>>>;
|
|
17025
17229
|
pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
|
|
17026
17230
|
authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
|
17027
|
-
|
|
17028
|
-
|
|
17029
|
-
|
|
17030
|
-
"
|
|
17031
|
-
|
|
17032
|
-
|
|
17033
|
-
|
|
17034
|
-
|
|
17035
|
-
|
|
17036
|
-
|
|
17037
|
-
|
|
17038
|
-
|
|
17039
|
-
|
|
17040
|
-
|
|
17231
|
+
attack_protection: z.ZodOptional<z.ZodObject<{
|
|
17232
|
+
breached_password_detection: z.ZodOptional<z.ZodObject<{
|
|
17233
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
17234
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17235
|
+
admin_notification_frequency: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17236
|
+
method: z.ZodOptional<z.ZodString>;
|
|
17237
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
17238
|
+
"pre-user-registration": z.ZodOptional<z.ZodObject<{
|
|
17239
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17240
|
+
}, "strip", z.ZodTypeAny, {
|
|
17241
|
+
shields?: string[] | undefined;
|
|
17242
|
+
}, {
|
|
17243
|
+
shields?: string[] | undefined;
|
|
17244
|
+
}>>;
|
|
17245
|
+
"pre-change-password": z.ZodOptional<z.ZodObject<{
|
|
17246
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17247
|
+
}, "strip", z.ZodTypeAny, {
|
|
17248
|
+
shields?: string[] | undefined;
|
|
17249
|
+
}, {
|
|
17250
|
+
shields?: string[] | undefined;
|
|
17251
|
+
}>>;
|
|
17252
|
+
}, "strip", z.ZodTypeAny, {
|
|
17253
|
+
"pre-user-registration"?: {
|
|
17254
|
+
shields?: string[] | undefined;
|
|
17255
|
+
} | undefined;
|
|
17256
|
+
"pre-change-password"?: {
|
|
17257
|
+
shields?: string[] | undefined;
|
|
17258
|
+
} | undefined;
|
|
17259
|
+
}, {
|
|
17260
|
+
"pre-user-registration"?: {
|
|
17261
|
+
shields?: string[] | undefined;
|
|
17262
|
+
} | undefined;
|
|
17263
|
+
"pre-change-password"?: {
|
|
17264
|
+
shields?: string[] | undefined;
|
|
17265
|
+
} | undefined;
|
|
17266
|
+
}>>;
|
|
17041
17267
|
}, "strip", z.ZodTypeAny, {
|
|
17042
|
-
|
|
17043
|
-
|
|
17044
|
-
|
|
17045
|
-
|
|
17046
|
-
|
|
17047
|
-
|
|
17268
|
+
method?: string | undefined;
|
|
17269
|
+
enabled?: boolean | undefined;
|
|
17270
|
+
shields?: string[] | undefined;
|
|
17271
|
+
admin_notification_frequency?: string[] | undefined;
|
|
17272
|
+
stage?: {
|
|
17273
|
+
"pre-user-registration"?: {
|
|
17274
|
+
shields?: string[] | undefined;
|
|
17275
|
+
} | undefined;
|
|
17276
|
+
"pre-change-password"?: {
|
|
17277
|
+
shields?: string[] | undefined;
|
|
17278
|
+
} | undefined;
|
|
17279
|
+
} | undefined;
|
|
17280
|
+
}, {
|
|
17281
|
+
method?: string | undefined;
|
|
17282
|
+
enabled?: boolean | undefined;
|
|
17283
|
+
shields?: string[] | undefined;
|
|
17284
|
+
admin_notification_frequency?: string[] | undefined;
|
|
17285
|
+
stage?: {
|
|
17286
|
+
"pre-user-registration"?: {
|
|
17287
|
+
shields?: string[] | undefined;
|
|
17288
|
+
} | undefined;
|
|
17289
|
+
"pre-change-password"?: {
|
|
17290
|
+
shields?: string[] | undefined;
|
|
17291
|
+
} | undefined;
|
|
17292
|
+
} | undefined;
|
|
17293
|
+
}>>;
|
|
17294
|
+
brute_force_protection: z.ZodOptional<z.ZodObject<{
|
|
17295
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
17296
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17297
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17298
|
+
mode: z.ZodOptional<z.ZodString>;
|
|
17299
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
17300
|
+
}, "strip", z.ZodTypeAny, {
|
|
17301
|
+
allowlist?: string[] | undefined;
|
|
17302
|
+
enabled?: boolean | undefined;
|
|
17303
|
+
shields?: string[] | undefined;
|
|
17304
|
+
mode?: string | undefined;
|
|
17305
|
+
max_attempts?: number | undefined;
|
|
17306
|
+
}, {
|
|
17307
|
+
allowlist?: string[] | undefined;
|
|
17308
|
+
enabled?: boolean | undefined;
|
|
17309
|
+
shields?: string[] | undefined;
|
|
17310
|
+
mode?: string | undefined;
|
|
17311
|
+
max_attempts?: number | undefined;
|
|
17312
|
+
}>>;
|
|
17313
|
+
suspicious_ip_throttling: z.ZodOptional<z.ZodObject<{
|
|
17314
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
17315
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17316
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17317
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
17318
|
+
"pre-login": z.ZodOptional<z.ZodObject<{
|
|
17319
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
17320
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
17321
|
+
}, "strip", z.ZodTypeAny, {
|
|
17322
|
+
max_attempts?: number | undefined;
|
|
17323
|
+
rate?: number | undefined;
|
|
17324
|
+
}, {
|
|
17325
|
+
max_attempts?: number | undefined;
|
|
17326
|
+
rate?: number | undefined;
|
|
17327
|
+
}>>;
|
|
17328
|
+
"pre-user-registration": z.ZodOptional<z.ZodObject<{
|
|
17329
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
17330
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
17331
|
+
}, "strip", z.ZodTypeAny, {
|
|
17332
|
+
max_attempts?: number | undefined;
|
|
17333
|
+
rate?: number | undefined;
|
|
17334
|
+
}, {
|
|
17335
|
+
max_attempts?: number | undefined;
|
|
17336
|
+
rate?: number | undefined;
|
|
17337
|
+
}>>;
|
|
17338
|
+
}, "strip", z.ZodTypeAny, {
|
|
17339
|
+
"pre-user-registration"?: {
|
|
17340
|
+
max_attempts?: number | undefined;
|
|
17341
|
+
rate?: number | undefined;
|
|
17342
|
+
} | undefined;
|
|
17343
|
+
"pre-login"?: {
|
|
17344
|
+
max_attempts?: number | undefined;
|
|
17345
|
+
rate?: number | undefined;
|
|
17346
|
+
} | undefined;
|
|
17347
|
+
}, {
|
|
17348
|
+
"pre-user-registration"?: {
|
|
17349
|
+
max_attempts?: number | undefined;
|
|
17350
|
+
rate?: number | undefined;
|
|
17351
|
+
} | undefined;
|
|
17352
|
+
"pre-login"?: {
|
|
17353
|
+
max_attempts?: number | undefined;
|
|
17354
|
+
rate?: number | undefined;
|
|
17355
|
+
} | undefined;
|
|
17356
|
+
}>>;
|
|
17357
|
+
}, "strip", z.ZodTypeAny, {
|
|
17358
|
+
allowlist?: string[] | undefined;
|
|
17359
|
+
enabled?: boolean | undefined;
|
|
17360
|
+
shields?: string[] | undefined;
|
|
17361
|
+
stage?: {
|
|
17362
|
+
"pre-user-registration"?: {
|
|
17363
|
+
max_attempts?: number | undefined;
|
|
17364
|
+
rate?: number | undefined;
|
|
17365
|
+
} | undefined;
|
|
17366
|
+
"pre-login"?: {
|
|
17367
|
+
max_attempts?: number | undefined;
|
|
17368
|
+
rate?: number | undefined;
|
|
17369
|
+
} | undefined;
|
|
17370
|
+
} | undefined;
|
|
17371
|
+
}, {
|
|
17372
|
+
allowlist?: string[] | undefined;
|
|
17373
|
+
enabled?: boolean | undefined;
|
|
17374
|
+
shields?: string[] | undefined;
|
|
17375
|
+
stage?: {
|
|
17376
|
+
"pre-user-registration"?: {
|
|
17377
|
+
max_attempts?: number | undefined;
|
|
17378
|
+
rate?: number | undefined;
|
|
17379
|
+
} | undefined;
|
|
17380
|
+
"pre-login"?: {
|
|
17381
|
+
max_attempts?: number | undefined;
|
|
17382
|
+
rate?: number | undefined;
|
|
17383
|
+
} | undefined;
|
|
17384
|
+
} | undefined;
|
|
17385
|
+
}>>;
|
|
17386
|
+
}, "strip", z.ZodTypeAny, {
|
|
17387
|
+
brute_force_protection?: {
|
|
17388
|
+
allowlist?: string[] | undefined;
|
|
17389
|
+
enabled?: boolean | undefined;
|
|
17390
|
+
shields?: string[] | undefined;
|
|
17391
|
+
mode?: string | undefined;
|
|
17392
|
+
max_attempts?: number | undefined;
|
|
17393
|
+
} | undefined;
|
|
17394
|
+
breached_password_detection?: {
|
|
17395
|
+
method?: string | undefined;
|
|
17396
|
+
enabled?: boolean | undefined;
|
|
17397
|
+
shields?: string[] | undefined;
|
|
17398
|
+
admin_notification_frequency?: string[] | undefined;
|
|
17399
|
+
stage?: {
|
|
17400
|
+
"pre-user-registration"?: {
|
|
17401
|
+
shields?: string[] | undefined;
|
|
17402
|
+
} | undefined;
|
|
17403
|
+
"pre-change-password"?: {
|
|
17404
|
+
shields?: string[] | undefined;
|
|
17405
|
+
} | undefined;
|
|
17406
|
+
} | undefined;
|
|
17407
|
+
} | undefined;
|
|
17408
|
+
suspicious_ip_throttling?: {
|
|
17409
|
+
allowlist?: string[] | undefined;
|
|
17410
|
+
enabled?: boolean | undefined;
|
|
17411
|
+
shields?: string[] | undefined;
|
|
17412
|
+
stage?: {
|
|
17413
|
+
"pre-user-registration"?: {
|
|
17414
|
+
max_attempts?: number | undefined;
|
|
17415
|
+
rate?: number | undefined;
|
|
17416
|
+
} | undefined;
|
|
17417
|
+
"pre-login"?: {
|
|
17418
|
+
max_attempts?: number | undefined;
|
|
17419
|
+
rate?: number | undefined;
|
|
17420
|
+
} | undefined;
|
|
17421
|
+
} | undefined;
|
|
17422
|
+
} | undefined;
|
|
17423
|
+
}, {
|
|
17424
|
+
brute_force_protection?: {
|
|
17425
|
+
allowlist?: string[] | undefined;
|
|
17426
|
+
enabled?: boolean | undefined;
|
|
17427
|
+
shields?: string[] | undefined;
|
|
17428
|
+
mode?: string | undefined;
|
|
17429
|
+
max_attempts?: number | undefined;
|
|
17430
|
+
} | undefined;
|
|
17431
|
+
breached_password_detection?: {
|
|
17432
|
+
method?: string | undefined;
|
|
17433
|
+
enabled?: boolean | undefined;
|
|
17434
|
+
shields?: string[] | undefined;
|
|
17435
|
+
admin_notification_frequency?: string[] | undefined;
|
|
17436
|
+
stage?: {
|
|
17437
|
+
"pre-user-registration"?: {
|
|
17438
|
+
shields?: string[] | undefined;
|
|
17439
|
+
} | undefined;
|
|
17440
|
+
"pre-change-password"?: {
|
|
17441
|
+
shields?: string[] | undefined;
|
|
17442
|
+
} | undefined;
|
|
17443
|
+
} | undefined;
|
|
17444
|
+
} | undefined;
|
|
17445
|
+
suspicious_ip_throttling?: {
|
|
17446
|
+
allowlist?: string[] | undefined;
|
|
17447
|
+
enabled?: boolean | undefined;
|
|
17448
|
+
shields?: string[] | undefined;
|
|
17449
|
+
stage?: {
|
|
17450
|
+
"pre-user-registration"?: {
|
|
17451
|
+
max_attempts?: number | undefined;
|
|
17452
|
+
rate?: number | undefined;
|
|
17453
|
+
} | undefined;
|
|
17454
|
+
"pre-login"?: {
|
|
17455
|
+
max_attempts?: number | undefined;
|
|
17456
|
+
rate?: number | undefined;
|
|
17457
|
+
} | undefined;
|
|
17458
|
+
} | undefined;
|
|
17459
|
+
} | undefined;
|
|
17460
|
+
}>>;
|
|
17461
|
+
mfa: z.ZodOptional<z.ZodObject<{
|
|
17462
|
+
policy: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
17463
|
+
"never",
|
|
17464
|
+
"always"
|
|
17465
|
+
]>>>;
|
|
17466
|
+
factors: z.ZodOptional<z.ZodObject<{
|
|
17467
|
+
sms: z.ZodDefault<z.ZodBoolean>;
|
|
17468
|
+
otp: z.ZodDefault<z.ZodBoolean>;
|
|
17469
|
+
email: z.ZodDefault<z.ZodBoolean>;
|
|
17470
|
+
push_notification: z.ZodDefault<z.ZodBoolean>;
|
|
17471
|
+
webauthn_roaming: z.ZodDefault<z.ZodBoolean>;
|
|
17472
|
+
webauthn_platform: z.ZodDefault<z.ZodBoolean>;
|
|
17473
|
+
recovery_code: z.ZodDefault<z.ZodBoolean>;
|
|
17474
|
+
duo: z.ZodDefault<z.ZodBoolean>;
|
|
17475
|
+
}, "strip", z.ZodTypeAny, {
|
|
17476
|
+
email: boolean;
|
|
17477
|
+
otp: boolean;
|
|
17478
|
+
sms: boolean;
|
|
17479
|
+
push_notification: boolean;
|
|
17480
|
+
webauthn_roaming: boolean;
|
|
17481
|
+
webauthn_platform: boolean;
|
|
17048
17482
|
recovery_code: boolean;
|
|
17049
17483
|
duo: boolean;
|
|
17050
17484
|
}, {
|
|
@@ -17167,13 +17601,14 @@ declare const tenantSchema: z.ZodObject<{
|
|
|
17167
17601
|
mode?: "persistent" | "non-persistent" | undefined;
|
|
17168
17602
|
} | undefined;
|
|
17169
17603
|
default_redirection_uri?: string | undefined;
|
|
17604
|
+
default_client_id?: string | undefined;
|
|
17170
17605
|
enabled_locales?: string[] | undefined;
|
|
17171
17606
|
default_directory?: string | undefined;
|
|
17172
17607
|
error_page?: {
|
|
17173
17608
|
url?: string | undefined;
|
|
17174
17609
|
html?: string | undefined;
|
|
17175
17610
|
show_log_link?: boolean | undefined;
|
|
17176
|
-
} | undefined;
|
|
17611
|
+
} | null | undefined;
|
|
17177
17612
|
flags?: {
|
|
17178
17613
|
allow_changing_enable_sso?: boolean | undefined;
|
|
17179
17614
|
allow_legacy_delegation_grant_types?: boolean | undefined;
|
|
@@ -17234,7 +17669,7 @@ declare const tenantSchema: z.ZodObject<{
|
|
|
17234
17669
|
organizations?: {
|
|
17235
17670
|
client_credentials?: Record<string, any> | undefined;
|
|
17236
17671
|
} | undefined;
|
|
17237
|
-
} | undefined;
|
|
17672
|
+
} | null | undefined;
|
|
17238
17673
|
default_audience?: string | undefined;
|
|
17239
17674
|
sessions?: {
|
|
17240
17675
|
oidc_logout_prompt_enabled?: boolean | undefined;
|
|
@@ -17244,9 +17679,47 @@ declare const tenantSchema: z.ZodObject<{
|
|
|
17244
17679
|
acr_values_supported?: string[] | undefined;
|
|
17245
17680
|
mtls?: {
|
|
17246
17681
|
enable_endpoint_aliases?: boolean | undefined;
|
|
17247
|
-
} | undefined;
|
|
17682
|
+
} | null | undefined;
|
|
17248
17683
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
17249
17684
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
17685
|
+
attack_protection?: {
|
|
17686
|
+
brute_force_protection?: {
|
|
17687
|
+
allowlist?: string[] | undefined;
|
|
17688
|
+
enabled?: boolean | undefined;
|
|
17689
|
+
shields?: string[] | undefined;
|
|
17690
|
+
mode?: string | undefined;
|
|
17691
|
+
max_attempts?: number | undefined;
|
|
17692
|
+
} | undefined;
|
|
17693
|
+
breached_password_detection?: {
|
|
17694
|
+
method?: string | undefined;
|
|
17695
|
+
enabled?: boolean | undefined;
|
|
17696
|
+
shields?: string[] | undefined;
|
|
17697
|
+
admin_notification_frequency?: string[] | undefined;
|
|
17698
|
+
stage?: {
|
|
17699
|
+
"pre-user-registration"?: {
|
|
17700
|
+
shields?: string[] | undefined;
|
|
17701
|
+
} | undefined;
|
|
17702
|
+
"pre-change-password"?: {
|
|
17703
|
+
shields?: string[] | undefined;
|
|
17704
|
+
} | undefined;
|
|
17705
|
+
} | undefined;
|
|
17706
|
+
} | undefined;
|
|
17707
|
+
suspicious_ip_throttling?: {
|
|
17708
|
+
allowlist?: string[] | undefined;
|
|
17709
|
+
enabled?: boolean | undefined;
|
|
17710
|
+
shields?: string[] | undefined;
|
|
17711
|
+
stage?: {
|
|
17712
|
+
"pre-user-registration"?: {
|
|
17713
|
+
max_attempts?: number | undefined;
|
|
17714
|
+
rate?: number | undefined;
|
|
17715
|
+
} | undefined;
|
|
17716
|
+
"pre-login"?: {
|
|
17717
|
+
max_attempts?: number | undefined;
|
|
17718
|
+
rate?: number | undefined;
|
|
17719
|
+
} | undefined;
|
|
17720
|
+
} | undefined;
|
|
17721
|
+
} | undefined;
|
|
17722
|
+
} | undefined;
|
|
17250
17723
|
mfa?: {
|
|
17251
17724
|
policy?: "never" | "always" | undefined;
|
|
17252
17725
|
factors?: {
|
|
@@ -17296,13 +17769,14 @@ declare const tenantSchema: z.ZodObject<{
|
|
|
17296
17769
|
mode?: "persistent" | "non-persistent" | undefined;
|
|
17297
17770
|
} | undefined;
|
|
17298
17771
|
default_redirection_uri?: string | undefined;
|
|
17772
|
+
default_client_id?: string | undefined;
|
|
17299
17773
|
enabled_locales?: string[] | undefined;
|
|
17300
17774
|
default_directory?: string | undefined;
|
|
17301
17775
|
error_page?: {
|
|
17302
17776
|
url?: string | undefined;
|
|
17303
17777
|
html?: string | undefined;
|
|
17304
17778
|
show_log_link?: boolean | undefined;
|
|
17305
|
-
} | undefined;
|
|
17779
|
+
} | null | undefined;
|
|
17306
17780
|
flags?: {
|
|
17307
17781
|
allow_changing_enable_sso?: boolean | undefined;
|
|
17308
17782
|
allow_legacy_delegation_grant_types?: boolean | undefined;
|
|
@@ -17363,7 +17837,7 @@ declare const tenantSchema: z.ZodObject<{
|
|
|
17363
17837
|
organizations?: {
|
|
17364
17838
|
client_credentials?: Record<string, any> | undefined;
|
|
17365
17839
|
} | undefined;
|
|
17366
|
-
} | undefined;
|
|
17840
|
+
} | null | undefined;
|
|
17367
17841
|
default_audience?: string | undefined;
|
|
17368
17842
|
sessions?: {
|
|
17369
17843
|
oidc_logout_prompt_enabled?: boolean | undefined;
|
|
@@ -17373,9 +17847,47 @@ declare const tenantSchema: z.ZodObject<{
|
|
|
17373
17847
|
acr_values_supported?: string[] | undefined;
|
|
17374
17848
|
mtls?: {
|
|
17375
17849
|
enable_endpoint_aliases?: boolean | undefined;
|
|
17376
|
-
} | undefined;
|
|
17850
|
+
} | null | undefined;
|
|
17377
17851
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
17378
17852
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
17853
|
+
attack_protection?: {
|
|
17854
|
+
brute_force_protection?: {
|
|
17855
|
+
allowlist?: string[] | undefined;
|
|
17856
|
+
enabled?: boolean | undefined;
|
|
17857
|
+
shields?: string[] | undefined;
|
|
17858
|
+
mode?: string | undefined;
|
|
17859
|
+
max_attempts?: number | undefined;
|
|
17860
|
+
} | undefined;
|
|
17861
|
+
breached_password_detection?: {
|
|
17862
|
+
method?: string | undefined;
|
|
17863
|
+
enabled?: boolean | undefined;
|
|
17864
|
+
shields?: string[] | undefined;
|
|
17865
|
+
admin_notification_frequency?: string[] | undefined;
|
|
17866
|
+
stage?: {
|
|
17867
|
+
"pre-user-registration"?: {
|
|
17868
|
+
shields?: string[] | undefined;
|
|
17869
|
+
} | undefined;
|
|
17870
|
+
"pre-change-password"?: {
|
|
17871
|
+
shields?: string[] | undefined;
|
|
17872
|
+
} | undefined;
|
|
17873
|
+
} | undefined;
|
|
17874
|
+
} | undefined;
|
|
17875
|
+
suspicious_ip_throttling?: {
|
|
17876
|
+
allowlist?: string[] | undefined;
|
|
17877
|
+
enabled?: boolean | undefined;
|
|
17878
|
+
shields?: string[] | undefined;
|
|
17879
|
+
stage?: {
|
|
17880
|
+
"pre-user-registration"?: {
|
|
17881
|
+
max_attempts?: number | undefined;
|
|
17882
|
+
rate?: number | undefined;
|
|
17883
|
+
} | undefined;
|
|
17884
|
+
"pre-login"?: {
|
|
17885
|
+
max_attempts?: number | undefined;
|
|
17886
|
+
rate?: number | undefined;
|
|
17887
|
+
} | undefined;
|
|
17888
|
+
} | undefined;
|
|
17889
|
+
} | undefined;
|
|
17890
|
+
} | undefined;
|
|
17379
17891
|
mfa?: {
|
|
17380
17892
|
policy?: "never" | "always" | undefined;
|
|
17381
17893
|
factors?: {
|
|
@@ -17641,14 +18153,29 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
17641
18153
|
"left",
|
|
17642
18154
|
"right"
|
|
17643
18155
|
]>;
|
|
18156
|
+
/**
|
|
18157
|
+
* Where the tenant logo renders on the page.
|
|
18158
|
+
* - "widget" (default): inside the widget card via the widget's own header.
|
|
18159
|
+
* - "chip": as a floating pill in the top-left page corner. The widget's
|
|
18160
|
+
* internal logo is suppressed when this is selected.
|
|
18161
|
+
* - "none": no logo on the page or in the widget.
|
|
18162
|
+
* Optional for backwards compatibility; absent values mean "widget".
|
|
18163
|
+
*/
|
|
18164
|
+
logo_placement: z.ZodOptional<z.ZodEnum<[
|
|
18165
|
+
"widget",
|
|
18166
|
+
"chip",
|
|
18167
|
+
"none"
|
|
18168
|
+
]>>;
|
|
17644
18169
|
}, "strip", z.ZodTypeAny, {
|
|
17645
18170
|
background_color: string;
|
|
17646
18171
|
background_image_url: string;
|
|
17647
18172
|
page_layout: "center" | "left" | "right";
|
|
18173
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
17648
18174
|
}, {
|
|
17649
18175
|
background_color: string;
|
|
17650
18176
|
background_image_url: string;
|
|
17651
18177
|
page_layout: "center" | "left" | "right";
|
|
18178
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
17652
18179
|
}>;
|
|
17653
18180
|
widget: z.ZodObject<{
|
|
17654
18181
|
header_text_alignment: z.ZodEnum<[
|
|
@@ -17686,6 +18213,7 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
17686
18213
|
background_color: string;
|
|
17687
18214
|
background_image_url: string;
|
|
17688
18215
|
page_layout: "center" | "left" | "right";
|
|
18216
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
17689
18217
|
};
|
|
17690
18218
|
colors: {
|
|
17691
18219
|
error: string;
|
|
@@ -17708,6 +18236,13 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
17708
18236
|
widget_background: string;
|
|
17709
18237
|
widget_border: string;
|
|
17710
18238
|
};
|
|
18239
|
+
widget: {
|
|
18240
|
+
logo_url: string;
|
|
18241
|
+
header_text_alignment: "center" | "left" | "right";
|
|
18242
|
+
logo_height: number;
|
|
18243
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
18244
|
+
social_buttons_layout: "bottom" | "top";
|
|
18245
|
+
};
|
|
17711
18246
|
borders: {
|
|
17712
18247
|
button_border_radius: number;
|
|
17713
18248
|
button_border_weight: number;
|
|
@@ -17749,18 +18284,12 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
17749
18284
|
bold: boolean;
|
|
17750
18285
|
};
|
|
17751
18286
|
};
|
|
17752
|
-
widget: {
|
|
17753
|
-
logo_url: string;
|
|
17754
|
-
header_text_alignment: "center" | "left" | "right";
|
|
17755
|
-
logo_height: number;
|
|
17756
|
-
logo_position: "none" | "center" | "left" | "right";
|
|
17757
|
-
social_buttons_layout: "bottom" | "top";
|
|
17758
|
-
};
|
|
17759
18287
|
}, {
|
|
17760
18288
|
page_background: {
|
|
17761
18289
|
background_color: string;
|
|
17762
18290
|
background_image_url: string;
|
|
17763
18291
|
page_layout: "center" | "left" | "right";
|
|
18292
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
17764
18293
|
};
|
|
17765
18294
|
colors: {
|
|
17766
18295
|
error: string;
|
|
@@ -17783,6 +18312,13 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
17783
18312
|
widget_background: string;
|
|
17784
18313
|
widget_border: string;
|
|
17785
18314
|
};
|
|
18315
|
+
widget: {
|
|
18316
|
+
logo_url: string;
|
|
18317
|
+
header_text_alignment: "center" | "left" | "right";
|
|
18318
|
+
logo_height: number;
|
|
18319
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
18320
|
+
social_buttons_layout: "bottom" | "top";
|
|
18321
|
+
};
|
|
17786
18322
|
borders: {
|
|
17787
18323
|
button_border_radius: number;
|
|
17788
18324
|
button_border_weight: number;
|
|
@@ -17824,13 +18360,6 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
17824
18360
|
bold: boolean;
|
|
17825
18361
|
};
|
|
17826
18362
|
};
|
|
17827
|
-
widget: {
|
|
17828
|
-
logo_url: string;
|
|
17829
|
-
header_text_alignment: "center" | "left" | "right";
|
|
17830
|
-
logo_height: number;
|
|
17831
|
-
logo_position: "none" | "center" | "left" | "right";
|
|
17832
|
-
social_buttons_layout: "bottom" | "top";
|
|
17833
|
-
};
|
|
17834
18363
|
}>;
|
|
17835
18364
|
export type ThemeInsert = z.input<typeof themeInsertSchema>;
|
|
17836
18365
|
declare const themeSchema: z.ZodObject<{
|
|
@@ -18071,14 +18600,29 @@ declare const themeSchema: z.ZodObject<{
|
|
|
18071
18600
|
"left",
|
|
18072
18601
|
"right"
|
|
18073
18602
|
]>;
|
|
18603
|
+
/**
|
|
18604
|
+
* Where the tenant logo renders on the page.
|
|
18605
|
+
* - "widget" (default): inside the widget card via the widget's own header.
|
|
18606
|
+
* - "chip": as a floating pill in the top-left page corner. The widget's
|
|
18607
|
+
* internal logo is suppressed when this is selected.
|
|
18608
|
+
* - "none": no logo on the page or in the widget.
|
|
18609
|
+
* Optional for backwards compatibility; absent values mean "widget".
|
|
18610
|
+
*/
|
|
18611
|
+
logo_placement: z.ZodOptional<z.ZodEnum<[
|
|
18612
|
+
"widget",
|
|
18613
|
+
"chip",
|
|
18614
|
+
"none"
|
|
18615
|
+
]>>;
|
|
18074
18616
|
}, "strip", z.ZodTypeAny, {
|
|
18075
18617
|
background_color: string;
|
|
18076
18618
|
background_image_url: string;
|
|
18077
18619
|
page_layout: "center" | "left" | "right";
|
|
18620
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
18078
18621
|
}, {
|
|
18079
18622
|
background_color: string;
|
|
18080
18623
|
background_image_url: string;
|
|
18081
18624
|
page_layout: "center" | "left" | "right";
|
|
18625
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
18082
18626
|
}>;
|
|
18083
18627
|
widget: z.ZodObject<{
|
|
18084
18628
|
header_text_alignment: z.ZodEnum<[
|
|
@@ -18118,6 +18662,7 @@ declare const themeSchema: z.ZodObject<{
|
|
|
18118
18662
|
background_color: string;
|
|
18119
18663
|
background_image_url: string;
|
|
18120
18664
|
page_layout: "center" | "left" | "right";
|
|
18665
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
18121
18666
|
};
|
|
18122
18667
|
colors: {
|
|
18123
18668
|
error: string;
|
|
@@ -18140,6 +18685,13 @@ declare const themeSchema: z.ZodObject<{
|
|
|
18140
18685
|
widget_background: string;
|
|
18141
18686
|
widget_border: string;
|
|
18142
18687
|
};
|
|
18688
|
+
widget: {
|
|
18689
|
+
logo_url: string;
|
|
18690
|
+
header_text_alignment: "center" | "left" | "right";
|
|
18691
|
+
logo_height: number;
|
|
18692
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
18693
|
+
social_buttons_layout: "bottom" | "top";
|
|
18694
|
+
};
|
|
18143
18695
|
borders: {
|
|
18144
18696
|
button_border_radius: number;
|
|
18145
18697
|
button_border_weight: number;
|
|
@@ -18181,19 +18733,13 @@ declare const themeSchema: z.ZodObject<{
|
|
|
18181
18733
|
bold: boolean;
|
|
18182
18734
|
};
|
|
18183
18735
|
};
|
|
18184
|
-
widget: {
|
|
18185
|
-
logo_url: string;
|
|
18186
|
-
header_text_alignment: "center" | "left" | "right";
|
|
18187
|
-
logo_height: number;
|
|
18188
|
-
logo_position: "none" | "center" | "left" | "right";
|
|
18189
|
-
social_buttons_layout: "bottom" | "top";
|
|
18190
|
-
};
|
|
18191
18736
|
themeId: string;
|
|
18192
18737
|
}, {
|
|
18193
18738
|
page_background: {
|
|
18194
18739
|
background_color: string;
|
|
18195
18740
|
background_image_url: string;
|
|
18196
18741
|
page_layout: "center" | "left" | "right";
|
|
18742
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
18197
18743
|
};
|
|
18198
18744
|
colors: {
|
|
18199
18745
|
error: string;
|
|
@@ -18216,6 +18762,13 @@ declare const themeSchema: z.ZodObject<{
|
|
|
18216
18762
|
widget_background: string;
|
|
18217
18763
|
widget_border: string;
|
|
18218
18764
|
};
|
|
18765
|
+
widget: {
|
|
18766
|
+
logo_url: string;
|
|
18767
|
+
header_text_alignment: "center" | "left" | "right";
|
|
18768
|
+
logo_height: number;
|
|
18769
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
18770
|
+
social_buttons_layout: "bottom" | "top";
|
|
18771
|
+
};
|
|
18219
18772
|
borders: {
|
|
18220
18773
|
button_border_radius: number;
|
|
18221
18774
|
button_border_weight: number;
|
|
@@ -18257,13 +18810,6 @@ declare const themeSchema: z.ZodObject<{
|
|
|
18257
18810
|
bold: boolean;
|
|
18258
18811
|
};
|
|
18259
18812
|
};
|
|
18260
|
-
widget: {
|
|
18261
|
-
logo_url: string;
|
|
18262
|
-
header_text_alignment: "center" | "left" | "right";
|
|
18263
|
-
logo_height: number;
|
|
18264
|
-
logo_position: "none" | "center" | "left" | "right";
|
|
18265
|
-
social_buttons_layout: "bottom" | "top";
|
|
18266
|
-
};
|
|
18267
18813
|
themeId: string;
|
|
18268
18814
|
}>;
|
|
18269
18815
|
export type Theme = z.infer<typeof themeSchema>;
|
|
@@ -18291,113 +18837,17 @@ declare const emailProviderSchema: z.ZodObject<{
|
|
|
18291
18837
|
name: z.ZodString;
|
|
18292
18838
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
18293
18839
|
default_from_address: z.ZodOptional<z.ZodString>;
|
|
18294
|
-
credentials: z.
|
|
18295
|
-
z.ZodObject<{
|
|
18296
|
-
accessKeyId: z.ZodString;
|
|
18297
|
-
secretAccessKey: z.ZodString;
|
|
18298
|
-
region: z.ZodString;
|
|
18299
|
-
}, "strip", z.ZodTypeAny, {
|
|
18300
|
-
region: string;
|
|
18301
|
-
accessKeyId: string;
|
|
18302
|
-
secretAccessKey: string;
|
|
18303
|
-
}, {
|
|
18304
|
-
region: string;
|
|
18305
|
-
accessKeyId: string;
|
|
18306
|
-
secretAccessKey: string;
|
|
18307
|
-
}>,
|
|
18308
|
-
z.ZodObject<{
|
|
18309
|
-
smtp_host: z.ZodArray<z.ZodString, "many">;
|
|
18310
|
-
smtp_port: z.ZodNumber;
|
|
18311
|
-
smtp_user: z.ZodString;
|
|
18312
|
-
smtp_pass: z.ZodString;
|
|
18313
|
-
}, "strip", z.ZodTypeAny, {
|
|
18314
|
-
smtp_host: string[];
|
|
18315
|
-
smtp_port: number;
|
|
18316
|
-
smtp_user: string;
|
|
18317
|
-
smtp_pass: string;
|
|
18318
|
-
}, {
|
|
18319
|
-
smtp_host: string[];
|
|
18320
|
-
smtp_port: number;
|
|
18321
|
-
smtp_user: string;
|
|
18322
|
-
smtp_pass: string;
|
|
18323
|
-
}>,
|
|
18324
|
-
z.ZodObject<{
|
|
18325
|
-
api_key: z.ZodString;
|
|
18326
|
-
domain: z.ZodOptional<z.ZodString>;
|
|
18327
|
-
}, "strip", z.ZodTypeAny, {
|
|
18328
|
-
api_key: string;
|
|
18329
|
-
domain?: string | undefined;
|
|
18330
|
-
}, {
|
|
18331
|
-
api_key: string;
|
|
18332
|
-
domain?: string | undefined;
|
|
18333
|
-
}>,
|
|
18334
|
-
z.ZodObject<{
|
|
18335
|
-
connectionString: z.ZodString;
|
|
18336
|
-
}, "strip", z.ZodTypeAny, {
|
|
18337
|
-
connectionString: string;
|
|
18338
|
-
}, {
|
|
18339
|
-
connectionString: string;
|
|
18340
|
-
}>,
|
|
18341
|
-
z.ZodObject<{
|
|
18342
|
-
tenantId: z.ZodString;
|
|
18343
|
-
clientId: z.ZodString;
|
|
18344
|
-
clientSecret: z.ZodString;
|
|
18345
|
-
}, "strip", z.ZodTypeAny, {
|
|
18346
|
-
tenantId: string;
|
|
18347
|
-
clientId: string;
|
|
18348
|
-
clientSecret: string;
|
|
18349
|
-
}, {
|
|
18350
|
-
tenantId: string;
|
|
18351
|
-
clientId: string;
|
|
18352
|
-
clientSecret: string;
|
|
18353
|
-
}>
|
|
18354
|
-
]>;
|
|
18840
|
+
credentials: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
18355
18841
|
settings: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
18356
18842
|
}, "strip", z.ZodTypeAny, {
|
|
18357
18843
|
name: string;
|
|
18358
18844
|
enabled: boolean;
|
|
18359
|
-
credentials:
|
|
18360
|
-
region: string;
|
|
18361
|
-
accessKeyId: string;
|
|
18362
|
-
secretAccessKey: string;
|
|
18363
|
-
} | {
|
|
18364
|
-
smtp_host: string[];
|
|
18365
|
-
smtp_port: number;
|
|
18366
|
-
smtp_user: string;
|
|
18367
|
-
smtp_pass: string;
|
|
18368
|
-
} | {
|
|
18369
|
-
api_key: string;
|
|
18370
|
-
domain?: string | undefined;
|
|
18371
|
-
} | {
|
|
18372
|
-
connectionString: string;
|
|
18373
|
-
} | {
|
|
18374
|
-
tenantId: string;
|
|
18375
|
-
clientId: string;
|
|
18376
|
-
clientSecret: string;
|
|
18377
|
-
};
|
|
18845
|
+
credentials: Record<string, unknown>;
|
|
18378
18846
|
default_from_address?: string | undefined;
|
|
18379
18847
|
settings?: {} | undefined;
|
|
18380
18848
|
}, {
|
|
18381
18849
|
name: string;
|
|
18382
|
-
credentials:
|
|
18383
|
-
region: string;
|
|
18384
|
-
accessKeyId: string;
|
|
18385
|
-
secretAccessKey: string;
|
|
18386
|
-
} | {
|
|
18387
|
-
smtp_host: string[];
|
|
18388
|
-
smtp_port: number;
|
|
18389
|
-
smtp_user: string;
|
|
18390
|
-
smtp_pass: string;
|
|
18391
|
-
} | {
|
|
18392
|
-
api_key: string;
|
|
18393
|
-
domain?: string | undefined;
|
|
18394
|
-
} | {
|
|
18395
|
-
connectionString: string;
|
|
18396
|
-
} | {
|
|
18397
|
-
tenantId: string;
|
|
18398
|
-
clientId: string;
|
|
18399
|
-
clientSecret: string;
|
|
18400
|
-
};
|
|
18850
|
+
credentials: Record<string, unknown>;
|
|
18401
18851
|
enabled?: boolean | undefined;
|
|
18402
18852
|
default_from_address?: string | undefined;
|
|
18403
18853
|
settings?: {} | undefined;
|
|
@@ -18444,10 +18894,16 @@ declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
|
18444
18894
|
audience: string;
|
|
18445
18895
|
}>, "many">;
|
|
18446
18896
|
rotating: z.ZodBoolean;
|
|
18897
|
+
token_lookup: z.ZodOptional<z.ZodString>;
|
|
18898
|
+
token_hash: z.ZodOptional<z.ZodString>;
|
|
18899
|
+
family_id: z.ZodOptional<z.ZodString>;
|
|
18900
|
+
rotated_to: z.ZodOptional<z.ZodString>;
|
|
18901
|
+
rotated_at: z.ZodOptional<z.ZodString>;
|
|
18447
18902
|
}, "strip", z.ZodTypeAny, {
|
|
18448
18903
|
id: string;
|
|
18449
18904
|
client_id: string;
|
|
18450
18905
|
user_id: string;
|
|
18906
|
+
rotating: boolean;
|
|
18451
18907
|
login_id: string;
|
|
18452
18908
|
device: {
|
|
18453
18909
|
last_ip: string;
|
|
@@ -18461,14 +18917,19 @@ declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
|
18461
18917
|
scopes: string;
|
|
18462
18918
|
audience: string;
|
|
18463
18919
|
}[];
|
|
18464
|
-
|
|
18920
|
+
token_hash?: string | undefined;
|
|
18465
18921
|
expires_at?: string | undefined;
|
|
18466
18922
|
idle_expires_at?: string | undefined;
|
|
18467
18923
|
last_exchanged_at?: string | undefined;
|
|
18924
|
+
token_lookup?: string | undefined;
|
|
18925
|
+
family_id?: string | undefined;
|
|
18926
|
+
rotated_to?: string | undefined;
|
|
18927
|
+
rotated_at?: string | undefined;
|
|
18468
18928
|
}, {
|
|
18469
18929
|
id: string;
|
|
18470
18930
|
client_id: string;
|
|
18471
18931
|
user_id: string;
|
|
18932
|
+
rotating: boolean;
|
|
18472
18933
|
login_id: string;
|
|
18473
18934
|
device: {
|
|
18474
18935
|
last_ip: string;
|
|
@@ -18482,10 +18943,14 @@ declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
|
18482
18943
|
scopes: string;
|
|
18483
18944
|
audience: string;
|
|
18484
18945
|
}[];
|
|
18485
|
-
|
|
18946
|
+
token_hash?: string | undefined;
|
|
18486
18947
|
expires_at?: string | undefined;
|
|
18487
18948
|
idle_expires_at?: string | undefined;
|
|
18488
18949
|
last_exchanged_at?: string | undefined;
|
|
18950
|
+
token_lookup?: string | undefined;
|
|
18951
|
+
family_id?: string | undefined;
|
|
18952
|
+
rotated_to?: string | undefined;
|
|
18953
|
+
rotated_at?: string | undefined;
|
|
18489
18954
|
}>;
|
|
18490
18955
|
export type RefreshTokenInsert = z.infer<typeof refreshTokenInsertSchema>;
|
|
18491
18956
|
declare const refreshTokenSchema: z.ZodObject<{
|
|
@@ -18529,6 +18994,11 @@ declare const refreshTokenSchema: z.ZodObject<{
|
|
|
18529
18994
|
audience: string;
|
|
18530
18995
|
}>, "many">;
|
|
18531
18996
|
rotating: z.ZodBoolean;
|
|
18997
|
+
token_lookup: z.ZodOptional<z.ZodString>;
|
|
18998
|
+
token_hash: z.ZodOptional<z.ZodString>;
|
|
18999
|
+
family_id: z.ZodOptional<z.ZodString>;
|
|
19000
|
+
rotated_to: z.ZodOptional<z.ZodString>;
|
|
19001
|
+
rotated_at: z.ZodOptional<z.ZodString>;
|
|
18532
19002
|
created_at: z.ZodString;
|
|
18533
19003
|
revoked_at: z.ZodOptional<z.ZodString>;
|
|
18534
19004
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -18536,6 +19006,7 @@ declare const refreshTokenSchema: z.ZodObject<{
|
|
|
18536
19006
|
id: string;
|
|
18537
19007
|
client_id: string;
|
|
18538
19008
|
user_id: string;
|
|
19009
|
+
rotating: boolean;
|
|
18539
19010
|
login_id: string;
|
|
18540
19011
|
device: {
|
|
18541
19012
|
last_ip: string;
|
|
@@ -18549,16 +19020,21 @@ declare const refreshTokenSchema: z.ZodObject<{
|
|
|
18549
19020
|
scopes: string;
|
|
18550
19021
|
audience: string;
|
|
18551
19022
|
}[];
|
|
18552
|
-
|
|
19023
|
+
token_hash?: string | undefined;
|
|
18553
19024
|
expires_at?: string | undefined;
|
|
18554
19025
|
revoked_at?: string | undefined;
|
|
18555
19026
|
idle_expires_at?: string | undefined;
|
|
18556
19027
|
last_exchanged_at?: string | undefined;
|
|
19028
|
+
token_lookup?: string | undefined;
|
|
19029
|
+
family_id?: string | undefined;
|
|
19030
|
+
rotated_to?: string | undefined;
|
|
19031
|
+
rotated_at?: string | undefined;
|
|
18557
19032
|
}, {
|
|
18558
19033
|
created_at: string;
|
|
18559
19034
|
id: string;
|
|
18560
19035
|
client_id: string;
|
|
18561
19036
|
user_id: string;
|
|
19037
|
+
rotating: boolean;
|
|
18562
19038
|
login_id: string;
|
|
18563
19039
|
device: {
|
|
18564
19040
|
last_ip: string;
|
|
@@ -18572,11 +19048,15 @@ declare const refreshTokenSchema: z.ZodObject<{
|
|
|
18572
19048
|
scopes: string;
|
|
18573
19049
|
audience: string;
|
|
18574
19050
|
}[];
|
|
18575
|
-
|
|
19051
|
+
token_hash?: string | undefined;
|
|
18576
19052
|
expires_at?: string | undefined;
|
|
18577
19053
|
revoked_at?: string | undefined;
|
|
18578
19054
|
idle_expires_at?: string | undefined;
|
|
18579
19055
|
last_exchanged_at?: string | undefined;
|
|
19056
|
+
token_lookup?: string | undefined;
|
|
19057
|
+
family_id?: string | undefined;
|
|
19058
|
+
rotated_to?: string | undefined;
|
|
19059
|
+
rotated_at?: string | undefined;
|
|
18580
19060
|
}>;
|
|
18581
19061
|
export type RefreshToken = z.infer<typeof refreshTokenSchema>;
|
|
18582
19062
|
declare const resourceServerInsertSchema: z.ZodObject<{
|
|
@@ -18642,8 +19122,8 @@ declare const resourceServerInsertSchema: z.ZodObject<{
|
|
|
18642
19122
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
18643
19123
|
}, "strip", z.ZodTypeAny, {
|
|
18644
19124
|
name: string;
|
|
18645
|
-
identifier: string;
|
|
18646
19125
|
token_lifetime: number;
|
|
19126
|
+
identifier: string;
|
|
18647
19127
|
token_lifetime_for_web: number;
|
|
18648
19128
|
options?: {
|
|
18649
19129
|
mtls?: {
|
|
@@ -18687,11 +19167,11 @@ declare const resourceServerInsertSchema: z.ZodObject<{
|
|
|
18687
19167
|
value: string;
|
|
18688
19168
|
description?: string | undefined;
|
|
18689
19169
|
}[] | undefined;
|
|
19170
|
+
token_lifetime?: number | undefined;
|
|
18690
19171
|
is_system?: boolean | undefined;
|
|
18691
19172
|
metadata?: Record<string, any> | undefined;
|
|
18692
19173
|
signing_alg?: string | undefined;
|
|
18693
19174
|
signing_secret?: string | undefined;
|
|
18694
|
-
token_lifetime?: number | undefined;
|
|
18695
19175
|
token_lifetime_for_web?: number | undefined;
|
|
18696
19176
|
skip_consent_for_verifiable_first_party_clients?: boolean | undefined;
|
|
18697
19177
|
allow_offline_access?: boolean | undefined;
|
|
@@ -18763,8 +19243,8 @@ declare const resourceServerSchema: z.ZodObject<{
|
|
|
18763
19243
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
18764
19244
|
}, "strip", z.ZodTypeAny, {
|
|
18765
19245
|
name: string;
|
|
18766
|
-
identifier: string;
|
|
18767
19246
|
token_lifetime: number;
|
|
19247
|
+
identifier: string;
|
|
18768
19248
|
token_lifetime_for_web: number;
|
|
18769
19249
|
created_at?: string | undefined;
|
|
18770
19250
|
updated_at?: string | undefined;
|
|
@@ -18812,11 +19292,11 @@ declare const resourceServerSchema: z.ZodObject<{
|
|
|
18812
19292
|
value: string;
|
|
18813
19293
|
description?: string | undefined;
|
|
18814
19294
|
}[] | undefined;
|
|
19295
|
+
token_lifetime?: number | undefined;
|
|
18815
19296
|
is_system?: boolean | undefined;
|
|
18816
19297
|
metadata?: Record<string, any> | undefined;
|
|
18817
19298
|
signing_alg?: string | undefined;
|
|
18818
19299
|
signing_secret?: string | undefined;
|
|
18819
|
-
token_lifetime?: number | undefined;
|
|
18820
19300
|
token_lifetime_for_web?: number | undefined;
|
|
18821
19301
|
skip_consent_for_verifiable_first_party_clients?: boolean | undefined;
|
|
18822
19302
|
allow_offline_access?: boolean | undefined;
|
|
@@ -19200,6 +19680,64 @@ declare const organizationSchema: z.ZodObject<{
|
|
|
19200
19680
|
}[] | undefined;
|
|
19201
19681
|
}>;
|
|
19202
19682
|
export type Organization = z.infer<typeof organizationSchema>;
|
|
19683
|
+
declare const organizationConnectionInsertSchema: z.ZodObject<{
|
|
19684
|
+
connection_id: z.ZodString;
|
|
19685
|
+
assign_membership_on_login: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
19686
|
+
show_as_button: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
19687
|
+
is_signup_enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
19688
|
+
}, "strip", z.ZodTypeAny, {
|
|
19689
|
+
connection_id: string;
|
|
19690
|
+
show_as_button: boolean;
|
|
19691
|
+
assign_membership_on_login: boolean;
|
|
19692
|
+
is_signup_enabled: boolean;
|
|
19693
|
+
}, {
|
|
19694
|
+
connection_id: string;
|
|
19695
|
+
show_as_button?: boolean | undefined;
|
|
19696
|
+
assign_membership_on_login?: boolean | undefined;
|
|
19697
|
+
is_signup_enabled?: boolean | undefined;
|
|
19698
|
+
}>;
|
|
19699
|
+
export type OrganizationConnectionInsert = z.input<typeof organizationConnectionInsertSchema>;
|
|
19700
|
+
declare const organizationConnectionSchema: z.ZodObject<{
|
|
19701
|
+
connection: z.ZodOptional<z.ZodObject<{
|
|
19702
|
+
name: z.ZodOptional<z.ZodString>;
|
|
19703
|
+
strategy: z.ZodOptional<z.ZodString>;
|
|
19704
|
+
}, "strip", z.ZodTypeAny, {
|
|
19705
|
+
name?: string | undefined;
|
|
19706
|
+
strategy?: string | undefined;
|
|
19707
|
+
}, {
|
|
19708
|
+
name?: string | undefined;
|
|
19709
|
+
strategy?: string | undefined;
|
|
19710
|
+
}>>;
|
|
19711
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
19712
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
19713
|
+
connection_id: z.ZodString;
|
|
19714
|
+
assign_membership_on_login: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
19715
|
+
show_as_button: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
19716
|
+
is_signup_enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
19717
|
+
}, "strip", z.ZodTypeAny, {
|
|
19718
|
+
connection_id: string;
|
|
19719
|
+
show_as_button: boolean;
|
|
19720
|
+
assign_membership_on_login: boolean;
|
|
19721
|
+
is_signup_enabled: boolean;
|
|
19722
|
+
created_at?: string | undefined;
|
|
19723
|
+
updated_at?: string | undefined;
|
|
19724
|
+
connection?: {
|
|
19725
|
+
name?: string | undefined;
|
|
19726
|
+
strategy?: string | undefined;
|
|
19727
|
+
} | undefined;
|
|
19728
|
+
}, {
|
|
19729
|
+
connection_id: string;
|
|
19730
|
+
created_at?: string | undefined;
|
|
19731
|
+
updated_at?: string | undefined;
|
|
19732
|
+
connection?: {
|
|
19733
|
+
name?: string | undefined;
|
|
19734
|
+
strategy?: string | undefined;
|
|
19735
|
+
} | undefined;
|
|
19736
|
+
show_as_button?: boolean | undefined;
|
|
19737
|
+
assign_membership_on_login?: boolean | undefined;
|
|
19738
|
+
is_signup_enabled?: boolean | undefined;
|
|
19739
|
+
}>;
|
|
19740
|
+
export type OrganizationConnection = z.infer<typeof organizationConnectionSchema>;
|
|
19203
19741
|
declare const userOrganizationInsertSchema: z.ZodObject<{
|
|
19204
19742
|
user_id: z.ZodString;
|
|
19205
19743
|
organization_id: z.ZodString;
|
|
@@ -19638,6 +20176,13 @@ export interface LogsDataAdapter {
|
|
|
19638
20176
|
list(tenantId: string, params?: ListParams): Promise<ListLogsResponse>;
|
|
19639
20177
|
get(tenantId: string, logId: string): Promise<Log | null>;
|
|
19640
20178
|
}
|
|
20179
|
+
export interface LogStreamsAdapter {
|
|
20180
|
+
create(tenant_id: string, params: LogStreamInsert): Promise<LogStream>;
|
|
20181
|
+
get(tenant_id: string, id: string): Promise<LogStream | null>;
|
|
20182
|
+
list(tenant_id: string): Promise<LogStream[]>;
|
|
20183
|
+
update(tenant_id: string, id: string, params: Partial<LogStream>): Promise<boolean>;
|
|
20184
|
+
remove(tenant_id: string, id: string): Promise<boolean>;
|
|
20185
|
+
}
|
|
19641
20186
|
export interface ListConnectionsResponse extends Totals {
|
|
19642
20187
|
connections: Connection[];
|
|
19643
20188
|
}
|
|
@@ -19724,10 +20269,22 @@ export interface UpdateRefreshTokenOptions {
|
|
|
19724
20269
|
export interface RefreshTokensAdapter {
|
|
19725
20270
|
create: (tenant_id: string, refresh_token: RefreshTokenInsert) => Promise<RefreshToken>;
|
|
19726
20271
|
get: (tenant_id: string, id: string) => Promise<RefreshToken | null>;
|
|
20272
|
+
/**
|
|
20273
|
+
* Look up a refresh token by its plaintext `token_lookup` slice (extracted
|
|
20274
|
+
* from the wire format `rt_<lookup>.<secret>`). Returns null if no row
|
|
20275
|
+
* matches. Callers must verify the secret hash before trusting the row.
|
|
20276
|
+
*/
|
|
20277
|
+
getByLookup: (tenant_id: string, token_lookup: string) => Promise<RefreshToken | null>;
|
|
19727
20278
|
list(tenant_id: string, params?: ListParams): Promise<ListRefreshTokenResponse>;
|
|
19728
20279
|
update: (tenant_id: string, id: string, refresh_token: Partial<RefreshToken>, options?: UpdateRefreshTokenOptions) => Promise<boolean>;
|
|
19729
20280
|
remove: (tenant_id: string, id: string) => Promise<boolean>;
|
|
19730
20281
|
revokeByLoginSession: (tenant_id: string, login_session_id: string, revoked_at: string) => Promise<number>;
|
|
20282
|
+
/**
|
|
20283
|
+
* Soft-revoke every refresh token that shares `family_id` and isn't already
|
|
20284
|
+
* revoked. Used for reuse detection (entire rotation chain torched) and for
|
|
20285
|
+
* admin revocations that should propagate to descendants.
|
|
20286
|
+
*/
|
|
20287
|
+
revokeFamily: (tenant_id: string, family_id: string, revoked_at: string) => Promise<number>;
|
|
19731
20288
|
}
|
|
19732
20289
|
export interface ListFormsResponse extends Totals {
|
|
19733
20290
|
forms: Form[];
|
|
@@ -19784,6 +20341,13 @@ export interface OrganizationsAdapter {
|
|
|
19784
20341
|
list(tenant_id: string, params?: ListParams): Promise<ListOrganizationsResponse>;
|
|
19785
20342
|
update(tenant_id: string, id: string, params: Partial<OrganizationInsert>): Promise<boolean>;
|
|
19786
20343
|
}
|
|
20344
|
+
export interface OrganizationConnectionsAdapter {
|
|
20345
|
+
create(tenant_id: string, organization_id: string, params: OrganizationConnectionInsert): Promise<OrganizationConnection>;
|
|
20346
|
+
list(tenant_id: string, organization_id: string): Promise<OrganizationConnection[]>;
|
|
20347
|
+
get(tenant_id: string, organization_id: string, connection_id: string): Promise<OrganizationConnection | null>;
|
|
20348
|
+
update(tenant_id: string, organization_id: string, connection_id: string, params: Partial<Omit<OrganizationConnectionInsert, "connection_id">>): Promise<OrganizationConnection | null>;
|
|
20349
|
+
remove(tenant_id: string, organization_id: string, connection_id: string): Promise<boolean>;
|
|
20350
|
+
}
|
|
19787
20351
|
export interface UserOrganizationsAdapter {
|
|
19788
20352
|
create(tenantId: string, params: UserOrganizationInsert): Promise<UserOrganization>;
|
|
19789
20353
|
get(tenantId: string, id: string): Promise<UserOrganization | null>;
|
|
@@ -19965,6 +20529,33 @@ export interface OutboxAdapter {
|
|
|
19965
20529
|
/** Delete processed events older than the given ISO date. Returns count deleted. */
|
|
19966
20530
|
cleanup(olderThan: string): Promise<number>;
|
|
19967
20531
|
}
|
|
20532
|
+
/**
|
|
20533
|
+
* Logical buckets that consumers can rate-limit against. Backends decide
|
|
20534
|
+
* how each scope is enforced (e.g. mapping to a separate Cloudflare Workers
|
|
20535
|
+
* Rate Limiter binding with its own deploy-time limit/period).
|
|
20536
|
+
*/
|
|
20537
|
+
export type RateLimitScope = "pre-login" | "pre-user-registration" | "brute-force";
|
|
20538
|
+
export interface RateLimitDecision {
|
|
20539
|
+
/** True if the request is allowed; false if the limit was exceeded. */
|
|
20540
|
+
allowed: boolean;
|
|
20541
|
+
/** Optional retry-after hint in seconds (omitted if the backend can't tell). */
|
|
20542
|
+
retryAfterSeconds?: number;
|
|
20543
|
+
}
|
|
20544
|
+
export interface RateLimitAdapter {
|
|
20545
|
+
/**
|
|
20546
|
+
* Consume one unit of quota for the given scope and key.
|
|
20547
|
+
*
|
|
20548
|
+
* The numeric threshold and window are backend-specific; the
|
|
20549
|
+
* Cloudflare Workers Rate Limiter binding bakes them in at deploy
|
|
20550
|
+
* time and cannot honor a per-tenant override. Callers that need
|
|
20551
|
+
* per-tenant `max_attempts` should layer their own counter on top.
|
|
20552
|
+
*
|
|
20553
|
+
* Returns `{ allowed: true }` if the scope is not configured, so
|
|
20554
|
+
* callers can opt in by configuring backends without changing call
|
|
20555
|
+
* sites.
|
|
20556
|
+
*/
|
|
20557
|
+
consume(scope: RateLimitScope, key: string): Promise<RateLimitDecision>;
|
|
20558
|
+
}
|
|
19968
20559
|
/**
|
|
19969
20560
|
* Parameters for cleaning up expired sessions
|
|
19970
20561
|
*/
|
|
@@ -19995,6 +20586,7 @@ export interface DataAdapters {
|
|
|
19995
20586
|
keys: KeysAdapter;
|
|
19996
20587
|
loginSessions: LoginSessionsAdapter;
|
|
19997
20588
|
logs: LogsDataAdapter;
|
|
20589
|
+
logStreams?: LogStreamsAdapter;
|
|
19998
20590
|
passwords: PasswordsAdapter;
|
|
19999
20591
|
promptSettings: PromptSettingsAdapter;
|
|
20000
20592
|
refreshTokens: RefreshTokensAdapter;
|
|
@@ -20011,12 +20603,20 @@ export interface DataAdapters {
|
|
|
20011
20603
|
users: UserDataAdapter;
|
|
20012
20604
|
userRoles: UserRolesAdapter;
|
|
20013
20605
|
organizations: OrganizationsAdapter;
|
|
20606
|
+
organizationConnections: OrganizationConnectionsAdapter;
|
|
20014
20607
|
authenticationMethods: AuthenticationMethodsAdapter;
|
|
20015
20608
|
userOrganizations: UserOrganizationsAdapter;
|
|
20016
20609
|
emailService?: EmailServiceAdapter;
|
|
20017
20610
|
smsService?: SmsServiceAdapter;
|
|
20018
20611
|
/** Optional outbox adapter for transactional audit event capture */
|
|
20019
20612
|
outbox?: OutboxAdapter;
|
|
20613
|
+
/**
|
|
20614
|
+
* Optional rate-limit adapter for short-window abuse protection
|
|
20615
|
+
* (e.g. backed by the Cloudflare Workers Rate Limiter binding).
|
|
20616
|
+
* Auth flows treat this as opt-in: when undefined, no extra
|
|
20617
|
+
* throttling is applied.
|
|
20618
|
+
*/
|
|
20619
|
+
rateLimit?: RateLimitAdapter;
|
|
20020
20620
|
/**
|
|
20021
20621
|
* Execute a callback within a database transaction.
|
|
20022
20622
|
* The callback receives a set of adapters scoped to the transaction.
|
|
@@ -20715,9 +21315,14 @@ declare const sqlRefreshTokensSchema: z.ZodObject<Omit<{
|
|
|
20715
21315
|
audience: string;
|
|
20716
21316
|
}>, "many">;
|
|
20717
21317
|
rotating: z.ZodBoolean;
|
|
21318
|
+
token_lookup: z.ZodOptional<z.ZodString>;
|
|
21319
|
+
token_hash: z.ZodOptional<z.ZodString>;
|
|
21320
|
+
family_id: z.ZodOptional<z.ZodString>;
|
|
21321
|
+
rotated_to: z.ZodOptional<z.ZodString>;
|
|
21322
|
+
rotated_at: z.ZodOptional<z.ZodString>;
|
|
20718
21323
|
created_at: z.ZodString;
|
|
20719
21324
|
revoked_at: z.ZodOptional<z.ZodString>;
|
|
20720
|
-
}, "created_at" | "expires_at" | "revoked_at" | "idle_expires_at" | "device" | "last_exchanged_at" | "resource_servers" | "rotating"> & {
|
|
21325
|
+
}, "created_at" | "expires_at" | "revoked_at" | "idle_expires_at" | "device" | "last_exchanged_at" | "resource_servers" | "rotating" | "rotated_at"> & {
|
|
20721
21326
|
tenant_id: z.ZodString;
|
|
20722
21327
|
device: z.ZodString;
|
|
20723
21328
|
resource_servers: z.ZodString;
|
|
@@ -20727,6 +21332,7 @@ declare const sqlRefreshTokensSchema: z.ZodObject<Omit<{
|
|
|
20727
21332
|
idle_expires_at_ts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20728
21333
|
last_exchanged_at_ts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20729
21334
|
revoked_at_ts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21335
|
+
rotated_at_ts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20730
21336
|
}, "strip", z.ZodTypeAny, {
|
|
20731
21337
|
tenant_id: string;
|
|
20732
21338
|
user_id: string;
|
|
@@ -20740,7 +21346,12 @@ declare const sqlRefreshTokensSchema: z.ZodObject<Omit<{
|
|
|
20740
21346
|
expires_at_ts?: number | null | undefined;
|
|
20741
21347
|
idle_expires_at_ts?: number | null | undefined;
|
|
20742
21348
|
revoked_at_ts?: number | null | undefined;
|
|
21349
|
+
token_lookup?: string | undefined;
|
|
21350
|
+
token_hash?: string | undefined;
|
|
21351
|
+
family_id?: string | undefined;
|
|
21352
|
+
rotated_to?: string | undefined;
|
|
20743
21353
|
last_exchanged_at_ts?: number | null | undefined;
|
|
21354
|
+
rotated_at_ts?: number | null | undefined;
|
|
20744
21355
|
}, {
|
|
20745
21356
|
tenant_id: string;
|
|
20746
21357
|
user_id: string;
|
|
@@ -20754,7 +21365,12 @@ declare const sqlRefreshTokensSchema: z.ZodObject<Omit<{
|
|
|
20754
21365
|
expires_at_ts?: number | null | undefined;
|
|
20755
21366
|
idle_expires_at_ts?: number | null | undefined;
|
|
20756
21367
|
revoked_at_ts?: number | null | undefined;
|
|
21368
|
+
token_lookup?: string | undefined;
|
|
21369
|
+
token_hash?: string | undefined;
|
|
21370
|
+
family_id?: string | undefined;
|
|
21371
|
+
rotated_to?: string | undefined;
|
|
20757
21372
|
last_exchanged_at_ts?: number | null | undefined;
|
|
21373
|
+
rotated_at_ts?: number | null | undefined;
|
|
20758
21374
|
}>;
|
|
20759
21375
|
declare const sqlCustomDomainSchema: z.ZodObject<{
|
|
20760
21376
|
primary: z.ZodNumber;
|
|
@@ -21022,7 +21638,7 @@ declare const sqlLogSchema: z.ZodObject<{
|
|
|
21022
21638
|
time_zone: z.ZodOptional<z.ZodString>;
|
|
21023
21639
|
continent_code: z.ZodOptional<z.ZodString>;
|
|
21024
21640
|
log_id: z.ZodString;
|
|
21025
|
-
type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
|
|
21641
|
+
type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
|
|
21026
21642
|
date: z.ZodString;
|
|
21027
21643
|
description: z.ZodOptional<z.ZodString>;
|
|
21028
21644
|
ip: z.ZodOptional<z.ZodString>;
|
|
@@ -21060,7 +21676,7 @@ declare const sqlLogSchema: z.ZodObject<{
|
|
|
21060
21676
|
continent_code: string;
|
|
21061
21677
|
}>>;
|
|
21062
21678
|
}, "strip", z.ZodTypeAny, {
|
|
21063
|
-
type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
21679
|
+
type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
21064
21680
|
date: string;
|
|
21065
21681
|
tenant_id: string;
|
|
21066
21682
|
log_id: string;
|
|
@@ -21245,9 +21861,10 @@ declare const sqlTenantSchema: z.ZodObject<{
|
|
|
21245
21861
|
}>>;
|
|
21246
21862
|
allowed_logout_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
21247
21863
|
default_redirection_uri: z.ZodOptional<z.ZodString>;
|
|
21864
|
+
default_client_id: z.ZodOptional<z.ZodString>;
|
|
21248
21865
|
enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
21249
21866
|
default_directory: z.ZodOptional<z.ZodString>;
|
|
21250
|
-
error_page: z.ZodOptional<z.ZodObject<{
|
|
21867
|
+
error_page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
21251
21868
|
html: z.ZodOptional<z.ZodString>;
|
|
21252
21869
|
show_log_link: z.ZodOptional<z.ZodBoolean>;
|
|
21253
21870
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -21259,7 +21876,7 @@ declare const sqlTenantSchema: z.ZodObject<{
|
|
|
21259
21876
|
url?: string | undefined;
|
|
21260
21877
|
html?: string | undefined;
|
|
21261
21878
|
show_log_link?: boolean | undefined;
|
|
21262
|
-
}
|
|
21879
|
+
}>>>;
|
|
21263
21880
|
flags: z.ZodOptional<z.ZodObject<{
|
|
21264
21881
|
allow_changing_enable_sso: z.ZodOptional<z.ZodBoolean>;
|
|
21265
21882
|
allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -21408,7 +22025,7 @@ declare const sqlTenantSchema: z.ZodObject<{
|
|
|
21408
22025
|
charset?: "base20" | "digits" | undefined;
|
|
21409
22026
|
mask?: string | undefined;
|
|
21410
22027
|
}>>;
|
|
21411
|
-
default_token_quota: z.ZodOptional<z.ZodObject<{
|
|
22028
|
+
default_token_quota: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
21412
22029
|
clients: z.ZodOptional<z.ZodObject<{
|
|
21413
22030
|
client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
21414
22031
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -21437,7 +22054,7 @@ declare const sqlTenantSchema: z.ZodObject<{
|
|
|
21437
22054
|
organizations?: {
|
|
21438
22055
|
client_credentials?: Record<string, any> | undefined;
|
|
21439
22056
|
} | undefined;
|
|
21440
|
-
}
|
|
22057
|
+
}>>>;
|
|
21441
22058
|
default_audience: z.ZodOptional<z.ZodString>;
|
|
21442
22059
|
default_organization: z.ZodOptional<z.ZodString>;
|
|
21443
22060
|
sessions: z.ZodOptional<z.ZodObject<{
|
|
@@ -21457,15 +22074,245 @@ declare const sqlTenantSchema: z.ZodObject<{
|
|
|
21457
22074
|
allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodBoolean>;
|
|
21458
22075
|
customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodBoolean>;
|
|
21459
22076
|
acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
21460
|
-
mtls: z.ZodOptional<z.ZodObject<{
|
|
22077
|
+
mtls: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
21461
22078
|
enable_endpoint_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
21462
22079
|
}, "strip", z.ZodTypeAny, {
|
|
21463
22080
|
enable_endpoint_aliases?: boolean | undefined;
|
|
21464
22081
|
}, {
|
|
21465
22082
|
enable_endpoint_aliases?: boolean | undefined;
|
|
21466
|
-
}
|
|
22083
|
+
}>>>;
|
|
21467
22084
|
pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
|
|
21468
22085
|
authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
|
22086
|
+
attack_protection: z.ZodOptional<z.ZodObject<{
|
|
22087
|
+
breached_password_detection: z.ZodOptional<z.ZodObject<{
|
|
22088
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
22089
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
22090
|
+
admin_notification_frequency: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
22091
|
+
method: z.ZodOptional<z.ZodString>;
|
|
22092
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
22093
|
+
"pre-user-registration": z.ZodOptional<z.ZodObject<{
|
|
22094
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
22095
|
+
}, "strip", z.ZodTypeAny, {
|
|
22096
|
+
shields?: string[] | undefined;
|
|
22097
|
+
}, {
|
|
22098
|
+
shields?: string[] | undefined;
|
|
22099
|
+
}>>;
|
|
22100
|
+
"pre-change-password": z.ZodOptional<z.ZodObject<{
|
|
22101
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
22102
|
+
}, "strip", z.ZodTypeAny, {
|
|
22103
|
+
shields?: string[] | undefined;
|
|
22104
|
+
}, {
|
|
22105
|
+
shields?: string[] | undefined;
|
|
22106
|
+
}>>;
|
|
22107
|
+
}, "strip", z.ZodTypeAny, {
|
|
22108
|
+
"pre-user-registration"?: {
|
|
22109
|
+
shields?: string[] | undefined;
|
|
22110
|
+
} | undefined;
|
|
22111
|
+
"pre-change-password"?: {
|
|
22112
|
+
shields?: string[] | undefined;
|
|
22113
|
+
} | undefined;
|
|
22114
|
+
}, {
|
|
22115
|
+
"pre-user-registration"?: {
|
|
22116
|
+
shields?: string[] | undefined;
|
|
22117
|
+
} | undefined;
|
|
22118
|
+
"pre-change-password"?: {
|
|
22119
|
+
shields?: string[] | undefined;
|
|
22120
|
+
} | undefined;
|
|
22121
|
+
}>>;
|
|
22122
|
+
}, "strip", z.ZodTypeAny, {
|
|
22123
|
+
method?: string | undefined;
|
|
22124
|
+
enabled?: boolean | undefined;
|
|
22125
|
+
shields?: string[] | undefined;
|
|
22126
|
+
admin_notification_frequency?: string[] | undefined;
|
|
22127
|
+
stage?: {
|
|
22128
|
+
"pre-user-registration"?: {
|
|
22129
|
+
shields?: string[] | undefined;
|
|
22130
|
+
} | undefined;
|
|
22131
|
+
"pre-change-password"?: {
|
|
22132
|
+
shields?: string[] | undefined;
|
|
22133
|
+
} | undefined;
|
|
22134
|
+
} | undefined;
|
|
22135
|
+
}, {
|
|
22136
|
+
method?: string | undefined;
|
|
22137
|
+
enabled?: boolean | undefined;
|
|
22138
|
+
shields?: string[] | undefined;
|
|
22139
|
+
admin_notification_frequency?: string[] | undefined;
|
|
22140
|
+
stage?: {
|
|
22141
|
+
"pre-user-registration"?: {
|
|
22142
|
+
shields?: string[] | undefined;
|
|
22143
|
+
} | undefined;
|
|
22144
|
+
"pre-change-password"?: {
|
|
22145
|
+
shields?: string[] | undefined;
|
|
22146
|
+
} | undefined;
|
|
22147
|
+
} | undefined;
|
|
22148
|
+
}>>;
|
|
22149
|
+
brute_force_protection: z.ZodOptional<z.ZodObject<{
|
|
22150
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
22151
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
22152
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
22153
|
+
mode: z.ZodOptional<z.ZodString>;
|
|
22154
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
22155
|
+
}, "strip", z.ZodTypeAny, {
|
|
22156
|
+
allowlist?: string[] | undefined;
|
|
22157
|
+
enabled?: boolean | undefined;
|
|
22158
|
+
shields?: string[] | undefined;
|
|
22159
|
+
mode?: string | undefined;
|
|
22160
|
+
max_attempts?: number | undefined;
|
|
22161
|
+
}, {
|
|
22162
|
+
allowlist?: string[] | undefined;
|
|
22163
|
+
enabled?: boolean | undefined;
|
|
22164
|
+
shields?: string[] | undefined;
|
|
22165
|
+
mode?: string | undefined;
|
|
22166
|
+
max_attempts?: number | undefined;
|
|
22167
|
+
}>>;
|
|
22168
|
+
suspicious_ip_throttling: z.ZodOptional<z.ZodObject<{
|
|
22169
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
22170
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
22171
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
22172
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
22173
|
+
"pre-login": z.ZodOptional<z.ZodObject<{
|
|
22174
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
22175
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
22176
|
+
}, "strip", z.ZodTypeAny, {
|
|
22177
|
+
max_attempts?: number | undefined;
|
|
22178
|
+
rate?: number | undefined;
|
|
22179
|
+
}, {
|
|
22180
|
+
max_attempts?: number | undefined;
|
|
22181
|
+
rate?: number | undefined;
|
|
22182
|
+
}>>;
|
|
22183
|
+
"pre-user-registration": z.ZodOptional<z.ZodObject<{
|
|
22184
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
22185
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
22186
|
+
}, "strip", z.ZodTypeAny, {
|
|
22187
|
+
max_attempts?: number | undefined;
|
|
22188
|
+
rate?: number | undefined;
|
|
22189
|
+
}, {
|
|
22190
|
+
max_attempts?: number | undefined;
|
|
22191
|
+
rate?: number | undefined;
|
|
22192
|
+
}>>;
|
|
22193
|
+
}, "strip", z.ZodTypeAny, {
|
|
22194
|
+
"pre-user-registration"?: {
|
|
22195
|
+
max_attempts?: number | undefined;
|
|
22196
|
+
rate?: number | undefined;
|
|
22197
|
+
} | undefined;
|
|
22198
|
+
"pre-login"?: {
|
|
22199
|
+
max_attempts?: number | undefined;
|
|
22200
|
+
rate?: number | undefined;
|
|
22201
|
+
} | undefined;
|
|
22202
|
+
}, {
|
|
22203
|
+
"pre-user-registration"?: {
|
|
22204
|
+
max_attempts?: number | undefined;
|
|
22205
|
+
rate?: number | undefined;
|
|
22206
|
+
} | undefined;
|
|
22207
|
+
"pre-login"?: {
|
|
22208
|
+
max_attempts?: number | undefined;
|
|
22209
|
+
rate?: number | undefined;
|
|
22210
|
+
} | undefined;
|
|
22211
|
+
}>>;
|
|
22212
|
+
}, "strip", z.ZodTypeAny, {
|
|
22213
|
+
allowlist?: string[] | undefined;
|
|
22214
|
+
enabled?: boolean | undefined;
|
|
22215
|
+
shields?: string[] | undefined;
|
|
22216
|
+
stage?: {
|
|
22217
|
+
"pre-user-registration"?: {
|
|
22218
|
+
max_attempts?: number | undefined;
|
|
22219
|
+
rate?: number | undefined;
|
|
22220
|
+
} | undefined;
|
|
22221
|
+
"pre-login"?: {
|
|
22222
|
+
max_attempts?: number | undefined;
|
|
22223
|
+
rate?: number | undefined;
|
|
22224
|
+
} | undefined;
|
|
22225
|
+
} | undefined;
|
|
22226
|
+
}, {
|
|
22227
|
+
allowlist?: string[] | undefined;
|
|
22228
|
+
enabled?: boolean | undefined;
|
|
22229
|
+
shields?: string[] | undefined;
|
|
22230
|
+
stage?: {
|
|
22231
|
+
"pre-user-registration"?: {
|
|
22232
|
+
max_attempts?: number | undefined;
|
|
22233
|
+
rate?: number | undefined;
|
|
22234
|
+
} | undefined;
|
|
22235
|
+
"pre-login"?: {
|
|
22236
|
+
max_attempts?: number | undefined;
|
|
22237
|
+
rate?: number | undefined;
|
|
22238
|
+
} | undefined;
|
|
22239
|
+
} | undefined;
|
|
22240
|
+
}>>;
|
|
22241
|
+
}, "strip", z.ZodTypeAny, {
|
|
22242
|
+
brute_force_protection?: {
|
|
22243
|
+
allowlist?: string[] | undefined;
|
|
22244
|
+
enabled?: boolean | undefined;
|
|
22245
|
+
shields?: string[] | undefined;
|
|
22246
|
+
mode?: string | undefined;
|
|
22247
|
+
max_attempts?: number | undefined;
|
|
22248
|
+
} | undefined;
|
|
22249
|
+
breached_password_detection?: {
|
|
22250
|
+
method?: string | undefined;
|
|
22251
|
+
enabled?: boolean | undefined;
|
|
22252
|
+
shields?: string[] | undefined;
|
|
22253
|
+
admin_notification_frequency?: string[] | undefined;
|
|
22254
|
+
stage?: {
|
|
22255
|
+
"pre-user-registration"?: {
|
|
22256
|
+
shields?: string[] | undefined;
|
|
22257
|
+
} | undefined;
|
|
22258
|
+
"pre-change-password"?: {
|
|
22259
|
+
shields?: string[] | undefined;
|
|
22260
|
+
} | undefined;
|
|
22261
|
+
} | undefined;
|
|
22262
|
+
} | undefined;
|
|
22263
|
+
suspicious_ip_throttling?: {
|
|
22264
|
+
allowlist?: string[] | undefined;
|
|
22265
|
+
enabled?: boolean | undefined;
|
|
22266
|
+
shields?: string[] | undefined;
|
|
22267
|
+
stage?: {
|
|
22268
|
+
"pre-user-registration"?: {
|
|
22269
|
+
max_attempts?: number | undefined;
|
|
22270
|
+
rate?: number | undefined;
|
|
22271
|
+
} | undefined;
|
|
22272
|
+
"pre-login"?: {
|
|
22273
|
+
max_attempts?: number | undefined;
|
|
22274
|
+
rate?: number | undefined;
|
|
22275
|
+
} | undefined;
|
|
22276
|
+
} | undefined;
|
|
22277
|
+
} | undefined;
|
|
22278
|
+
}, {
|
|
22279
|
+
brute_force_protection?: {
|
|
22280
|
+
allowlist?: string[] | undefined;
|
|
22281
|
+
enabled?: boolean | undefined;
|
|
22282
|
+
shields?: string[] | undefined;
|
|
22283
|
+
mode?: string | undefined;
|
|
22284
|
+
max_attempts?: number | undefined;
|
|
22285
|
+
} | undefined;
|
|
22286
|
+
breached_password_detection?: {
|
|
22287
|
+
method?: string | undefined;
|
|
22288
|
+
enabled?: boolean | undefined;
|
|
22289
|
+
shields?: string[] | undefined;
|
|
22290
|
+
admin_notification_frequency?: string[] | undefined;
|
|
22291
|
+
stage?: {
|
|
22292
|
+
"pre-user-registration"?: {
|
|
22293
|
+
shields?: string[] | undefined;
|
|
22294
|
+
} | undefined;
|
|
22295
|
+
"pre-change-password"?: {
|
|
22296
|
+
shields?: string[] | undefined;
|
|
22297
|
+
} | undefined;
|
|
22298
|
+
} | undefined;
|
|
22299
|
+
} | undefined;
|
|
22300
|
+
suspicious_ip_throttling?: {
|
|
22301
|
+
allowlist?: string[] | undefined;
|
|
22302
|
+
enabled?: boolean | undefined;
|
|
22303
|
+
shields?: string[] | undefined;
|
|
22304
|
+
stage?: {
|
|
22305
|
+
"pre-user-registration"?: {
|
|
22306
|
+
max_attempts?: number | undefined;
|
|
22307
|
+
rate?: number | undefined;
|
|
22308
|
+
} | undefined;
|
|
22309
|
+
"pre-login"?: {
|
|
22310
|
+
max_attempts?: number | undefined;
|
|
22311
|
+
rate?: number | undefined;
|
|
22312
|
+
} | undefined;
|
|
22313
|
+
} | undefined;
|
|
22314
|
+
} | undefined;
|
|
22315
|
+
}>>;
|
|
21469
22316
|
mfa: z.ZodOptional<z.ZodObject<{
|
|
21470
22317
|
policy: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
21471
22318
|
"never",
|
|
@@ -21605,13 +22452,14 @@ declare const sqlTenantSchema: z.ZodObject<{
|
|
|
21605
22452
|
} | undefined;
|
|
21606
22453
|
allowed_logout_urls?: string[] | undefined;
|
|
21607
22454
|
default_redirection_uri?: string | undefined;
|
|
22455
|
+
default_client_id?: string | undefined;
|
|
21608
22456
|
enabled_locales?: string[] | undefined;
|
|
21609
22457
|
default_directory?: string | undefined;
|
|
21610
22458
|
error_page?: {
|
|
21611
22459
|
url?: string | undefined;
|
|
21612
22460
|
html?: string | undefined;
|
|
21613
22461
|
show_log_link?: boolean | undefined;
|
|
21614
|
-
} | undefined;
|
|
22462
|
+
} | null | undefined;
|
|
21615
22463
|
flags?: {
|
|
21616
22464
|
allow_changing_enable_sso?: boolean | undefined;
|
|
21617
22465
|
allow_legacy_delegation_grant_types?: boolean | undefined;
|
|
@@ -21672,7 +22520,7 @@ declare const sqlTenantSchema: z.ZodObject<{
|
|
|
21672
22520
|
organizations?: {
|
|
21673
22521
|
client_credentials?: Record<string, any> | undefined;
|
|
21674
22522
|
} | undefined;
|
|
21675
|
-
} | undefined;
|
|
22523
|
+
} | null | undefined;
|
|
21676
22524
|
default_audience?: string | undefined;
|
|
21677
22525
|
default_organization?: string | undefined;
|
|
21678
22526
|
sessions?: {
|
|
@@ -21686,9 +22534,47 @@ declare const sqlTenantSchema: z.ZodObject<{
|
|
|
21686
22534
|
acr_values_supported?: string[] | undefined;
|
|
21687
22535
|
mtls?: {
|
|
21688
22536
|
enable_endpoint_aliases?: boolean | undefined;
|
|
21689
|
-
} | undefined;
|
|
22537
|
+
} | null | undefined;
|
|
21690
22538
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
21691
22539
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
22540
|
+
attack_protection?: {
|
|
22541
|
+
brute_force_protection?: {
|
|
22542
|
+
allowlist?: string[] | undefined;
|
|
22543
|
+
enabled?: boolean | undefined;
|
|
22544
|
+
shields?: string[] | undefined;
|
|
22545
|
+
mode?: string | undefined;
|
|
22546
|
+
max_attempts?: number | undefined;
|
|
22547
|
+
} | undefined;
|
|
22548
|
+
breached_password_detection?: {
|
|
22549
|
+
method?: string | undefined;
|
|
22550
|
+
enabled?: boolean | undefined;
|
|
22551
|
+
shields?: string[] | undefined;
|
|
22552
|
+
admin_notification_frequency?: string[] | undefined;
|
|
22553
|
+
stage?: {
|
|
22554
|
+
"pre-user-registration"?: {
|
|
22555
|
+
shields?: string[] | undefined;
|
|
22556
|
+
} | undefined;
|
|
22557
|
+
"pre-change-password"?: {
|
|
22558
|
+
shields?: string[] | undefined;
|
|
22559
|
+
} | undefined;
|
|
22560
|
+
} | undefined;
|
|
22561
|
+
} | undefined;
|
|
22562
|
+
suspicious_ip_throttling?: {
|
|
22563
|
+
allowlist?: string[] | undefined;
|
|
22564
|
+
enabled?: boolean | undefined;
|
|
22565
|
+
shields?: string[] | undefined;
|
|
22566
|
+
stage?: {
|
|
22567
|
+
"pre-user-registration"?: {
|
|
22568
|
+
max_attempts?: number | undefined;
|
|
22569
|
+
rate?: number | undefined;
|
|
22570
|
+
} | undefined;
|
|
22571
|
+
"pre-login"?: {
|
|
22572
|
+
max_attempts?: number | undefined;
|
|
22573
|
+
rate?: number | undefined;
|
|
22574
|
+
} | undefined;
|
|
22575
|
+
} | undefined;
|
|
22576
|
+
} | undefined;
|
|
22577
|
+
} | undefined;
|
|
21692
22578
|
mfa?: {
|
|
21693
22579
|
policy?: "never" | "always" | undefined;
|
|
21694
22580
|
factors?: {
|
|
@@ -21734,13 +22620,14 @@ declare const sqlTenantSchema: z.ZodObject<{
|
|
|
21734
22620
|
} | undefined;
|
|
21735
22621
|
allowed_logout_urls?: string[] | undefined;
|
|
21736
22622
|
default_redirection_uri?: string | undefined;
|
|
22623
|
+
default_client_id?: string | undefined;
|
|
21737
22624
|
enabled_locales?: string[] | undefined;
|
|
21738
22625
|
default_directory?: string | undefined;
|
|
21739
22626
|
error_page?: {
|
|
21740
22627
|
url?: string | undefined;
|
|
21741
22628
|
html?: string | undefined;
|
|
21742
22629
|
show_log_link?: boolean | undefined;
|
|
21743
|
-
} | undefined;
|
|
22630
|
+
} | null | undefined;
|
|
21744
22631
|
flags?: {
|
|
21745
22632
|
allow_changing_enable_sso?: boolean | undefined;
|
|
21746
22633
|
allow_legacy_delegation_grant_types?: boolean | undefined;
|
|
@@ -21801,7 +22688,7 @@ declare const sqlTenantSchema: z.ZodObject<{
|
|
|
21801
22688
|
organizations?: {
|
|
21802
22689
|
client_credentials?: Record<string, any> | undefined;
|
|
21803
22690
|
} | undefined;
|
|
21804
|
-
} | undefined;
|
|
22691
|
+
} | null | undefined;
|
|
21805
22692
|
default_audience?: string | undefined;
|
|
21806
22693
|
default_organization?: string | undefined;
|
|
21807
22694
|
sessions?: {
|
|
@@ -21815,9 +22702,47 @@ declare const sqlTenantSchema: z.ZodObject<{
|
|
|
21815
22702
|
acr_values_supported?: string[] | undefined;
|
|
21816
22703
|
mtls?: {
|
|
21817
22704
|
enable_endpoint_aliases?: boolean | undefined;
|
|
21818
|
-
} | undefined;
|
|
22705
|
+
} | null | undefined;
|
|
21819
22706
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
21820
22707
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
22708
|
+
attack_protection?: {
|
|
22709
|
+
brute_force_protection?: {
|
|
22710
|
+
allowlist?: string[] | undefined;
|
|
22711
|
+
enabled?: boolean | undefined;
|
|
22712
|
+
shields?: string[] | undefined;
|
|
22713
|
+
mode?: string | undefined;
|
|
22714
|
+
max_attempts?: number | undefined;
|
|
22715
|
+
} | undefined;
|
|
22716
|
+
breached_password_detection?: {
|
|
22717
|
+
method?: string | undefined;
|
|
22718
|
+
enabled?: boolean | undefined;
|
|
22719
|
+
shields?: string[] | undefined;
|
|
22720
|
+
admin_notification_frequency?: string[] | undefined;
|
|
22721
|
+
stage?: {
|
|
22722
|
+
"pre-user-registration"?: {
|
|
22723
|
+
shields?: string[] | undefined;
|
|
22724
|
+
} | undefined;
|
|
22725
|
+
"pre-change-password"?: {
|
|
22726
|
+
shields?: string[] | undefined;
|
|
22727
|
+
} | undefined;
|
|
22728
|
+
} | undefined;
|
|
22729
|
+
} | undefined;
|
|
22730
|
+
suspicious_ip_throttling?: {
|
|
22731
|
+
allowlist?: string[] | undefined;
|
|
22732
|
+
enabled?: boolean | undefined;
|
|
22733
|
+
shields?: string[] | undefined;
|
|
22734
|
+
stage?: {
|
|
22735
|
+
"pre-user-registration"?: {
|
|
22736
|
+
max_attempts?: number | undefined;
|
|
22737
|
+
rate?: number | undefined;
|
|
22738
|
+
} | undefined;
|
|
22739
|
+
"pre-login"?: {
|
|
22740
|
+
max_attempts?: number | undefined;
|
|
22741
|
+
rate?: number | undefined;
|
|
22742
|
+
} | undefined;
|
|
22743
|
+
} | undefined;
|
|
22744
|
+
} | undefined;
|
|
22745
|
+
} | undefined;
|
|
21821
22746
|
mfa?: {
|
|
21822
22747
|
policy?: "never" | "always" | undefined;
|
|
21823
22748
|
factors?: {
|
|
@@ -22053,6 +22978,7 @@ declare const sqlInviteSchema: z.ZodObject<{
|
|
|
22053
22978
|
send_invitation_email?: number | undefined;
|
|
22054
22979
|
}>;
|
|
22055
22980
|
declare const sqlClientSchema: z.ZodObject<{
|
|
22981
|
+
client_id: z.ZodString;
|
|
22056
22982
|
tenant_id: z.ZodString;
|
|
22057
22983
|
global: z.ZodNumber;
|
|
22058
22984
|
is_first_party: z.ZodNumber;
|
|
@@ -22089,7 +23015,6 @@ declare const sqlClientSchema: z.ZodObject<{
|
|
|
22089
23015
|
owner_user_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22090
23016
|
registration_type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22091
23017
|
registration_metadata: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22092
|
-
client_id: z.ZodString;
|
|
22093
23018
|
name: z.ZodString;
|
|
22094
23019
|
description: z.ZodOptional<z.ZodString>;
|
|
22095
23020
|
client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
@@ -22391,11 +23316,33 @@ export interface Database {
|
|
|
22391
23316
|
user_roles: z.infer<typeof sqlUserRoleSchema>;
|
|
22392
23317
|
roles: z.infer<typeof sqlRoleSchema>;
|
|
22393
23318
|
organizations: z.infer<typeof sqlOrganizationSchema>;
|
|
23319
|
+
organization_connections: {
|
|
23320
|
+
tenant_id: string;
|
|
23321
|
+
organization_id: string;
|
|
23322
|
+
connection_id: string;
|
|
23323
|
+
assign_membership_on_login: number;
|
|
23324
|
+
show_as_button: number;
|
|
23325
|
+
is_signup_enabled: number;
|
|
23326
|
+
created_at: string;
|
|
23327
|
+
updated_at: string;
|
|
23328
|
+
};
|
|
22394
23329
|
user_organizations: z.infer<typeof sqlUserOrganizationSchema>;
|
|
22395
23330
|
invites: z.infer<typeof sqlInviteSchema>;
|
|
22396
23331
|
universal_login_templates: z.infer<typeof sqlUniversalLoginTemplateSchema>;
|
|
22397
23332
|
custom_text: z.infer<typeof sqlCustomTextSchema>;
|
|
22398
23333
|
authentication_methods: z.infer<typeof sqlAuthenticationMethodSchema>;
|
|
23334
|
+
log_streams: {
|
|
23335
|
+
id: string;
|
|
23336
|
+
tenant_id: string;
|
|
23337
|
+
name: string;
|
|
23338
|
+
type: string;
|
|
23339
|
+
status: string;
|
|
23340
|
+
sink: string;
|
|
23341
|
+
filters: string | null;
|
|
23342
|
+
is_priority: number | null;
|
|
23343
|
+
created_at: string;
|
|
23344
|
+
updated_at: string;
|
|
23345
|
+
};
|
|
22399
23346
|
outbox_events: {
|
|
22400
23347
|
id: string;
|
|
22401
23348
|
tenant_id: string;
|