@authhero/adapter-interfaces 4.21.0 → 4.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +382 -13
- package/dist/adapter-interfaces.mjs +527 -482
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/adapters/Rollouts.d.ts +6 -2
- package/dist/types/adapters/Tenants.d.ts +2 -0
- package/dist/types/types/Action.d.ts +48 -4
- package/dist/types/types/AuditEvent.d.ts +55 -0
- package/dist/types/types/Branding.d.ts +11 -0
- package/dist/types/types/ConfigInheritance.d.ts +39 -0
- package/dist/types/types/Connection.d.ts +22 -0
- package/dist/types/types/EmailProvider.d.ts +11 -0
- package/dist/types/types/Hook.d.ts +110 -0
- package/dist/types/types/Logs.d.ts +4 -2
- package/dist/types/types/PromptSetting.d.ts +11 -0
- package/dist/types/types/ResourceServer.d.ts +36 -3
- package/dist/types/types/Rollout.d.ts +8 -0
- package/dist/types/types/Tenant.d.ts +14 -0
- package/dist/types/types/TenantOperation.d.ts +3 -0
- package/dist/types/types/User.d.ts +1 -1
- package/dist/types/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Rollout, RolloutInsert, RolloutUpdate } from "../types/Rollout";
|
|
1
|
+
import { Rollout, RolloutInsert, RolloutKind, RolloutStatus, RolloutUpdate } from "../types/Rollout";
|
|
2
2
|
import { ListParams } from "../types/ListParams";
|
|
3
3
|
export interface ListRolloutsResult {
|
|
4
4
|
rollouts: Rollout[];
|
|
@@ -6,12 +6,16 @@ export interface ListRolloutsResult {
|
|
|
6
6
|
limit: number;
|
|
7
7
|
length: number;
|
|
8
8
|
}
|
|
9
|
+
export interface ListRolloutsParams extends ListParams {
|
|
10
|
+
status?: RolloutStatus | RolloutStatus[];
|
|
11
|
+
kind?: RolloutKind;
|
|
12
|
+
}
|
|
9
13
|
export interface RolloutsAdapter {
|
|
10
14
|
/** Generates the `rol_<nanoid>` id and inserts with status `pending`. */
|
|
11
15
|
create(rollout: RolloutInsert): Promise<Rollout>;
|
|
12
16
|
get(id: string): Promise<Rollout | null>;
|
|
13
17
|
/** Default sort: `created_at` descending. */
|
|
14
|
-
list(params?:
|
|
18
|
+
list(params?: ListRolloutsParams): Promise<ListRolloutsResult>;
|
|
15
19
|
/** Always bumps `updated_at`. */
|
|
16
20
|
update(id: string, rollout: RolloutUpdate): Promise<boolean>;
|
|
17
21
|
remove(id: string): Promise<boolean>;
|
|
@@ -9,6 +9,8 @@ export interface CreateTenantParams {
|
|
|
9
9
|
id?: string;
|
|
10
10
|
session_lifetime?: number;
|
|
11
11
|
idle_session_lifetime?: number;
|
|
12
|
+
parent_tenant_id?: string | null;
|
|
13
|
+
config_sync?: "inherit-on-read" | "synced" | null;
|
|
12
14
|
deployment_type?: "shared" | "wfp";
|
|
13
15
|
provisioning_state?: "pending" | "ready" | "failed";
|
|
14
16
|
provisioning_error?: string;
|
|
@@ -12,6 +12,18 @@ export declare const actionSecretSchema: z.ZodObject<{
|
|
|
12
12
|
value: z.ZodOptional<z.ZodString>;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
export declare const actionInsertSchema: z.ZodObject<{
|
|
15
|
+
inherit: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
local: "local";
|
|
18
|
+
shared: "shared";
|
|
19
|
+
platform: "platform";
|
|
20
|
+
}>>;
|
|
21
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
22
|
+
none: "none";
|
|
23
|
+
secrets: "secrets";
|
|
24
|
+
fields: "fields";
|
|
25
|
+
}>>;
|
|
26
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
15
27
|
name: z.ZodString;
|
|
16
28
|
code: z.ZodString;
|
|
17
29
|
supported_triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -28,10 +40,21 @@ export declare const actionInsertSchema: z.ZodObject<{
|
|
|
28
40
|
value: z.ZodOptional<z.ZodString>;
|
|
29
41
|
}, z.core.$strip>>>;
|
|
30
42
|
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
-
inherit: z.ZodOptional<z.ZodBoolean>;
|
|
32
43
|
}, z.core.$strip>;
|
|
33
44
|
export type ActionInsert = z.infer<typeof actionInsertSchema>;
|
|
34
45
|
export declare const actionUpdateSchema: z.ZodObject<{
|
|
46
|
+
inherit: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
47
|
+
scope: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
48
|
+
local: "local";
|
|
49
|
+
shared: "shared";
|
|
50
|
+
platform: "platform";
|
|
51
|
+
}>>>;
|
|
52
|
+
override: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
53
|
+
none: "none";
|
|
54
|
+
secrets: "secrets";
|
|
55
|
+
fields: "fields";
|
|
56
|
+
}>>>;
|
|
57
|
+
enforce: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
35
58
|
name: z.ZodOptional<z.ZodString>;
|
|
36
59
|
code: z.ZodOptional<z.ZodString>;
|
|
37
60
|
supported_triggers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -48,7 +71,6 @@ export declare const actionUpdateSchema: z.ZodObject<{
|
|
|
48
71
|
value: z.ZodOptional<z.ZodString>;
|
|
49
72
|
}, z.core.$strip>>>>;
|
|
50
73
|
is_system: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
51
|
-
inherit: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
52
74
|
status: z.ZodOptional<z.ZodEnum<{
|
|
53
75
|
draft: "draft";
|
|
54
76
|
built: "built";
|
|
@@ -57,6 +79,18 @@ export declare const actionUpdateSchema: z.ZodObject<{
|
|
|
57
79
|
}, z.core.$strip>;
|
|
58
80
|
export type ActionUpdate = z.infer<typeof actionUpdateSchema>;
|
|
59
81
|
export declare const actionSchema: z.ZodObject<{
|
|
82
|
+
inherit: z.ZodOptional<z.ZodBoolean>;
|
|
83
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
84
|
+
local: "local";
|
|
85
|
+
shared: "shared";
|
|
86
|
+
platform: "platform";
|
|
87
|
+
}>>;
|
|
88
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
89
|
+
none: "none";
|
|
90
|
+
secrets: "secrets";
|
|
91
|
+
fields: "fields";
|
|
92
|
+
}>>;
|
|
93
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
60
94
|
name: z.ZodString;
|
|
61
95
|
code: z.ZodString;
|
|
62
96
|
supported_triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -69,7 +103,6 @@ export declare const actionSchema: z.ZodObject<{
|
|
|
69
103
|
version: z.ZodString;
|
|
70
104
|
}, z.core.$strip>>>;
|
|
71
105
|
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
72
|
-
inherit: z.ZodOptional<z.ZodBoolean>;
|
|
73
106
|
id: z.ZodString;
|
|
74
107
|
tenant_id: z.ZodString;
|
|
75
108
|
status: z.ZodDefault<z.ZodEnum<{
|
|
@@ -98,6 +131,18 @@ export declare const actionSecretNameSchema: z.ZodObject<{
|
|
|
98
131
|
* system enforce it rather than relying on every handler remembering.
|
|
99
132
|
*/
|
|
100
133
|
export declare const actionResponseSchema: z.ZodObject<{
|
|
134
|
+
inherit: z.ZodOptional<z.ZodBoolean>;
|
|
135
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
136
|
+
local: "local";
|
|
137
|
+
shared: "shared";
|
|
138
|
+
platform: "platform";
|
|
139
|
+
}>>;
|
|
140
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
141
|
+
none: "none";
|
|
142
|
+
secrets: "secrets";
|
|
143
|
+
fields: "fields";
|
|
144
|
+
}>>;
|
|
145
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
101
146
|
name: z.ZodString;
|
|
102
147
|
code: z.ZodString;
|
|
103
148
|
supported_triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -110,7 +155,6 @@ export declare const actionResponseSchema: z.ZodObject<{
|
|
|
110
155
|
version: z.ZodString;
|
|
111
156
|
}, z.core.$strip>>>;
|
|
112
157
|
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
113
|
-
inherit: z.ZodOptional<z.ZodBoolean>;
|
|
114
158
|
id: z.ZodString;
|
|
115
159
|
tenant_id: z.ZodString;
|
|
116
160
|
status: z.ZodDefault<z.ZodEnum<{
|
|
@@ -33,6 +33,25 @@ export declare const targetSchema: z.ZodObject<{
|
|
|
33
33
|
}, z.core.$strip>>>;
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
export type Target = z.infer<typeof targetSchema>;
|
|
36
|
+
/**
|
|
37
|
+
* The authenticated caller of a bearer-token request, mirroring Auth0's
|
|
38
|
+
* `details.request.auth` on `sapi` logs. `user` is set when the token was
|
|
39
|
+
* issued to a user and omitted for client-credentials tokens. Absent on
|
|
40
|
+
* requests that carry no bearer token, such as login flows.
|
|
41
|
+
*/
|
|
42
|
+
export declare const requestAuthSchema: z.ZodObject<{
|
|
43
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
44
|
+
user_id: z.ZodString;
|
|
45
|
+
name: z.ZodOptional<z.ZodString>;
|
|
46
|
+
email: z.ZodOptional<z.ZodString>;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
strategy: z.ZodString;
|
|
49
|
+
credentials: z.ZodOptional<z.ZodObject<{
|
|
50
|
+
jti: z.ZodOptional<z.ZodString>;
|
|
51
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
52
|
+
}, z.core.$strip>>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
export type RequestAuth = z.infer<typeof requestAuthSchema>;
|
|
36
55
|
export declare const requestContextSchema: z.ZodObject<{
|
|
37
56
|
method: z.ZodString;
|
|
38
57
|
path: z.ZodString;
|
|
@@ -43,6 +62,18 @@ export declare const requestContextSchema: z.ZodObject<{
|
|
|
43
62
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
44
63
|
redirect_uri: z.ZodOptional<z.ZodString>;
|
|
45
64
|
authorization_url: z.ZodOptional<z.ZodString>;
|
|
65
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
66
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
67
|
+
user_id: z.ZodString;
|
|
68
|
+
name: z.ZodOptional<z.ZodString>;
|
|
69
|
+
email: z.ZodOptional<z.ZodString>;
|
|
70
|
+
}, z.core.$strip>>;
|
|
71
|
+
strategy: z.ZodString;
|
|
72
|
+
credentials: z.ZodOptional<z.ZodObject<{
|
|
73
|
+
jti: z.ZodOptional<z.ZodString>;
|
|
74
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
75
|
+
}, z.core.$strip>>;
|
|
76
|
+
}, z.core.$strip>>;
|
|
46
77
|
}, z.core.$strip>;
|
|
47
78
|
export type RequestContext = z.infer<typeof requestContextSchema>;
|
|
48
79
|
export declare const responseContextSchema: z.ZodObject<{
|
|
@@ -109,6 +140,18 @@ export declare const auditEventInsertSchema: z.ZodObject<{
|
|
|
109
140
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
110
141
|
redirect_uri: z.ZodOptional<z.ZodString>;
|
|
111
142
|
authorization_url: z.ZodOptional<z.ZodString>;
|
|
143
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
144
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
145
|
+
user_id: z.ZodString;
|
|
146
|
+
name: z.ZodOptional<z.ZodString>;
|
|
147
|
+
email: z.ZodOptional<z.ZodString>;
|
|
148
|
+
}, z.core.$strip>>;
|
|
149
|
+
strategy: z.ZodString;
|
|
150
|
+
credentials: z.ZodOptional<z.ZodObject<{
|
|
151
|
+
jti: z.ZodOptional<z.ZodString>;
|
|
152
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
153
|
+
}, z.core.$strip>>;
|
|
154
|
+
}, z.core.$strip>>;
|
|
112
155
|
}, z.core.$strip>;
|
|
113
156
|
response: z.ZodOptional<z.ZodObject<{
|
|
114
157
|
status_code: z.ZodNumber;
|
|
@@ -188,6 +231,18 @@ export declare const auditEventSchema: z.ZodObject<{
|
|
|
188
231
|
correlation_id: z.ZodOptional<z.ZodString>;
|
|
189
232
|
redirect_uri: z.ZodOptional<z.ZodString>;
|
|
190
233
|
authorization_url: z.ZodOptional<z.ZodString>;
|
|
234
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
235
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
236
|
+
user_id: z.ZodString;
|
|
237
|
+
name: z.ZodOptional<z.ZodString>;
|
|
238
|
+
email: z.ZodOptional<z.ZodString>;
|
|
239
|
+
}, z.core.$strip>>;
|
|
240
|
+
strategy: z.ZodString;
|
|
241
|
+
credentials: z.ZodOptional<z.ZodObject<{
|
|
242
|
+
jti: z.ZodOptional<z.ZodString>;
|
|
243
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
244
|
+
}, z.core.$strip>>;
|
|
245
|
+
}, z.core.$strip>>;
|
|
191
246
|
}, z.core.$strip>;
|
|
192
247
|
response: z.ZodOptional<z.ZodObject<{
|
|
193
248
|
status_code: z.ZodNumber;
|
|
@@ -20,5 +20,16 @@ export declare const brandingSchema: z.ZodObject<{
|
|
|
20
20
|
light: "light";
|
|
21
21
|
auto: "auto";
|
|
22
22
|
}>>;
|
|
23
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
24
|
+
local: "local";
|
|
25
|
+
shared: "shared";
|
|
26
|
+
platform: "platform";
|
|
27
|
+
}>>;
|
|
28
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
29
|
+
none: "none";
|
|
30
|
+
secrets: "secrets";
|
|
31
|
+
fields: "fields";
|
|
32
|
+
}>>;
|
|
33
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
23
34
|
}, z.core.$strip>;
|
|
24
35
|
export type Branding = z.infer<typeof brandingSchema>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { z } from "@hono/zod-openapi";
|
|
2
|
+
/**
|
|
3
|
+
* Publishing properties for tenant config inheritance
|
|
4
|
+
* (docs/design/tenant-config-inheritance.md, section 3.2).
|
|
5
|
+
*
|
|
6
|
+
* Unset (null/undefined) reads as `scope: "local"`, `override: "none"`,
|
|
7
|
+
* `enforce: false`, which is today's behaviour.
|
|
8
|
+
*/
|
|
9
|
+
export declare const configScopeSchema: z.ZodEnum<{
|
|
10
|
+
local: "local";
|
|
11
|
+
shared: "shared";
|
|
12
|
+
platform: "platform";
|
|
13
|
+
}>;
|
|
14
|
+
export type ConfigScope = z.infer<typeof configScopeSchema>;
|
|
15
|
+
export declare const configOverrideSchema: z.ZodEnum<{
|
|
16
|
+
none: "none";
|
|
17
|
+
secrets: "secrets";
|
|
18
|
+
fields: "fields";
|
|
19
|
+
}>;
|
|
20
|
+
export type ConfigOverride = z.infer<typeof configOverrideSchema>;
|
|
21
|
+
export declare const configInheritanceShape: {
|
|
22
|
+
/**
|
|
23
|
+
* `local`: not published. `shared`: visible to child tenants, who may copy
|
|
24
|
+
* or override it. `platform`: hidden from and locked for children, run only.
|
|
25
|
+
*/
|
|
26
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
27
|
+
local: "local";
|
|
28
|
+
shared: "shared";
|
|
29
|
+
platform: "platform";
|
|
30
|
+
}>>;
|
|
31
|
+
/** What a child may change on a `shared` row. */
|
|
32
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
33
|
+
none: "none";
|
|
34
|
+
secrets: "secrets";
|
|
35
|
+
fields: "fields";
|
|
36
|
+
}>>;
|
|
37
|
+
/** A child cannot disable or delete the row. */
|
|
38
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
+
};
|
|
@@ -151,6 +151,17 @@ export declare const connectionOptionsSchema: z.ZodObject<{
|
|
|
151
151
|
}>>;
|
|
152
152
|
}, z.core.$strip>;
|
|
153
153
|
export declare const connectionInsertSchema: z.ZodObject<{
|
|
154
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
155
|
+
local: "local";
|
|
156
|
+
shared: "shared";
|
|
157
|
+
platform: "platform";
|
|
158
|
+
}>>;
|
|
159
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
160
|
+
none: "none";
|
|
161
|
+
secrets: "secrets";
|
|
162
|
+
fields: "fields";
|
|
163
|
+
}>>;
|
|
164
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
154
165
|
id: z.ZodOptional<z.ZodString>;
|
|
155
166
|
name: z.ZodString;
|
|
156
167
|
display_name: z.ZodOptional<z.ZodString>;
|
|
@@ -317,6 +328,17 @@ export type ConnectionInsert = z.infer<typeof connectionInsertSchema>;
|
|
|
317
328
|
export declare const connectionSchema: z.ZodObject<{
|
|
318
329
|
created_at: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
319
330
|
updated_at: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
331
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
332
|
+
local: "local";
|
|
333
|
+
shared: "shared";
|
|
334
|
+
platform: "platform";
|
|
335
|
+
}>>;
|
|
336
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
337
|
+
none: "none";
|
|
338
|
+
secrets: "secrets";
|
|
339
|
+
fields: "fields";
|
|
340
|
+
}>>;
|
|
341
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
320
342
|
id: z.ZodOptional<z.ZodString>;
|
|
321
343
|
name: z.ZodString;
|
|
322
344
|
display_name: z.ZodOptional<z.ZodString>;
|
|
@@ -5,5 +5,16 @@ export declare const emailProviderSchema: z.ZodObject<{
|
|
|
5
5
|
default_from_address: z.ZodOptional<z.ZodString>;
|
|
6
6
|
credentials: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
7
|
settings: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
8
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
local: "local";
|
|
10
|
+
shared: "shared";
|
|
11
|
+
platform: "platform";
|
|
12
|
+
}>>;
|
|
13
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
none: "none";
|
|
15
|
+
secrets: "secrets";
|
|
16
|
+
fields: "fields";
|
|
17
|
+
}>>;
|
|
18
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
8
19
|
}, z.core.$strip>;
|
|
9
20
|
export type EmailProvider = z.infer<typeof emailProviderSchema>;
|
|
@@ -48,6 +48,17 @@ export declare const hookInsertSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
48
48
|
"post-user-deletion": "post-user-deletion";
|
|
49
49
|
}>;
|
|
50
50
|
url: z.ZodString;
|
|
51
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
52
|
+
local: "local";
|
|
53
|
+
shared: "shared";
|
|
54
|
+
platform: "platform";
|
|
55
|
+
}>>;
|
|
56
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
57
|
+
none: "none";
|
|
58
|
+
secrets: "secrets";
|
|
59
|
+
fields: "fields";
|
|
60
|
+
}>>;
|
|
61
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
51
62
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
52
63
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
53
64
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
@@ -58,6 +69,17 @@ export declare const hookInsertSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
58
69
|
"post-user-login": "post-user-login";
|
|
59
70
|
}>;
|
|
60
71
|
form_id: z.ZodString;
|
|
72
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
73
|
+
local: "local";
|
|
74
|
+
shared: "shared";
|
|
75
|
+
platform: "platform";
|
|
76
|
+
}>>;
|
|
77
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
78
|
+
none: "none";
|
|
79
|
+
secrets: "secrets";
|
|
80
|
+
fields: "fields";
|
|
81
|
+
}>>;
|
|
82
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
61
83
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
62
84
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
63
85
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
@@ -75,6 +97,17 @@ export declare const hookInsertSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
75
97
|
"set-preferred-username": "set-preferred-username";
|
|
76
98
|
"account-linking": "account-linking";
|
|
77
99
|
}>;
|
|
100
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
101
|
+
local: "local";
|
|
102
|
+
shared: "shared";
|
|
103
|
+
platform: "platform";
|
|
104
|
+
}>>;
|
|
105
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
106
|
+
none: "none";
|
|
107
|
+
secrets: "secrets";
|
|
108
|
+
fields: "fields";
|
|
109
|
+
}>>;
|
|
110
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
78
111
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
79
112
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
80
113
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
@@ -88,6 +121,17 @@ export declare const hookInsertSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
88
121
|
"credentials-exchange": "credentials-exchange";
|
|
89
122
|
}>;
|
|
90
123
|
code_id: z.ZodString;
|
|
124
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
125
|
+
local: "local";
|
|
126
|
+
shared: "shared";
|
|
127
|
+
platform: "platform";
|
|
128
|
+
}>>;
|
|
129
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
130
|
+
none: "none";
|
|
131
|
+
secrets: "secrets";
|
|
132
|
+
fields: "fields";
|
|
133
|
+
}>>;
|
|
134
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
91
135
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
92
136
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
93
137
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
@@ -101,6 +145,17 @@ export declare const hookInsertSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
101
145
|
impersonate: "impersonate";
|
|
102
146
|
}>;
|
|
103
147
|
permission_required: z.ZodOptional<z.ZodString>;
|
|
148
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
149
|
+
local: "local";
|
|
150
|
+
shared: "shared";
|
|
151
|
+
platform: "platform";
|
|
152
|
+
}>>;
|
|
153
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
154
|
+
none: "none";
|
|
155
|
+
secrets: "secrets";
|
|
156
|
+
fields: "fields";
|
|
157
|
+
}>>;
|
|
158
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
104
159
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
105
160
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
106
161
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
@@ -118,6 +173,17 @@ export declare const hookSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
118
173
|
"pre-user-deletion": "pre-user-deletion";
|
|
119
174
|
"post-user-deletion": "post-user-deletion";
|
|
120
175
|
}>;
|
|
176
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
177
|
+
local: "local";
|
|
178
|
+
shared: "shared";
|
|
179
|
+
platform: "platform";
|
|
180
|
+
}>>;
|
|
181
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
182
|
+
none: "none";
|
|
183
|
+
secrets: "secrets";
|
|
184
|
+
fields: "fields";
|
|
185
|
+
}>>;
|
|
186
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
121
187
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
122
188
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
123
189
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
@@ -130,6 +196,17 @@ export declare const hookSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
130
196
|
trigger_id: z.ZodEnum<{
|
|
131
197
|
"post-user-login": "post-user-login";
|
|
132
198
|
}>;
|
|
199
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
200
|
+
local: "local";
|
|
201
|
+
shared: "shared";
|
|
202
|
+
platform: "platform";
|
|
203
|
+
}>>;
|
|
204
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
205
|
+
none: "none";
|
|
206
|
+
secrets: "secrets";
|
|
207
|
+
fields: "fields";
|
|
208
|
+
}>>;
|
|
209
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
133
210
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
134
211
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
135
212
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
@@ -145,6 +222,17 @@ export declare const hookSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
145
222
|
"post-user-update": "post-user-update";
|
|
146
223
|
"credentials-exchange": "credentials-exchange";
|
|
147
224
|
}>;
|
|
225
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
226
|
+
local: "local";
|
|
227
|
+
shared: "shared";
|
|
228
|
+
platform: "platform";
|
|
229
|
+
}>>;
|
|
230
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
231
|
+
none: "none";
|
|
232
|
+
secrets: "secrets";
|
|
233
|
+
fields: "fields";
|
|
234
|
+
}>>;
|
|
235
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
148
236
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
149
237
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
150
238
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
@@ -164,6 +252,17 @@ export declare const hookSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
164
252
|
"post-user-login": "post-user-login";
|
|
165
253
|
"credentials-exchange": "credentials-exchange";
|
|
166
254
|
}>;
|
|
255
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
256
|
+
local: "local";
|
|
257
|
+
shared: "shared";
|
|
258
|
+
platform: "platform";
|
|
259
|
+
}>>;
|
|
260
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
261
|
+
none: "none";
|
|
262
|
+
secrets: "secrets";
|
|
263
|
+
fields: "fields";
|
|
264
|
+
}>>;
|
|
265
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
167
266
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
168
267
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
169
268
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
@@ -176,6 +275,17 @@ export declare const hookSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
176
275
|
trigger_id: z.ZodEnum<{
|
|
177
276
|
"post-user-login": "post-user-login";
|
|
178
277
|
}>;
|
|
278
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
279
|
+
local: "local";
|
|
280
|
+
shared: "shared";
|
|
281
|
+
platform: "platform";
|
|
282
|
+
}>>;
|
|
283
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
284
|
+
none: "none";
|
|
285
|
+
secrets: "secrets";
|
|
286
|
+
fields: "fields";
|
|
287
|
+
}>>;
|
|
288
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
179
289
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
180
290
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
181
291
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
@@ -12,6 +12,8 @@ export declare const LogTypes: {
|
|
|
12
12
|
readonly CODE_LINK_SENT: "cls";
|
|
13
13
|
readonly CODE_SENT: "cs";
|
|
14
14
|
readonly DEPRECATION_NOTICE: "depnote";
|
|
15
|
+
readonly CONFIG_INHERITANCE_DIFF: "cfgdiff";
|
|
16
|
+
readonly CONFIG_DRIFT: "cfgdrift";
|
|
15
17
|
readonly FAILED_LOGIN: "f";
|
|
16
18
|
readonly FAILED_BY_CONNECTOR: "fc";
|
|
17
19
|
readonly FAILED_CHANGE_EMAIL: "fce";
|
|
@@ -182,7 +184,7 @@ export declare const LocationInfo: z.ZodObject<{
|
|
|
182
184
|
continent_code: z.ZodString;
|
|
183
185
|
}, z.core.$strip>;
|
|
184
186
|
export declare const logInsertSchema: z.ZodObject<{
|
|
185
|
-
type: z.ZodString & z.ZodType<"fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string, z.core.$ZodTypeInternals<"fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>>;
|
|
187
|
+
type: z.ZodString & z.ZodType<"fn" | "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" | "cfgdiff" | "cfgdrift" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string, z.core.$ZodTypeInternals<"fn" | "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" | "cfgdiff" | "cfgdrift" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>>;
|
|
186
188
|
date: z.ZodString;
|
|
187
189
|
description: z.ZodOptional<z.ZodString>;
|
|
188
190
|
ip: z.ZodOptional<z.ZodString>;
|
|
@@ -219,7 +221,7 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
219
221
|
}, z.core.$strip>;
|
|
220
222
|
export type LogInsert = z.infer<typeof logInsertSchema>;
|
|
221
223
|
export declare const logSchema: z.ZodObject<{
|
|
222
|
-
type: z.ZodString & z.ZodType<"fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string, z.core.$ZodTypeInternals<"fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>>;
|
|
224
|
+
type: z.ZodString & z.ZodType<"fn" | "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" | "cfgdiff" | "cfgdrift" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string, z.core.$ZodTypeInternals<"fn" | "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" | "cfgdiff" | "cfgdrift" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>>;
|
|
223
225
|
date: z.ZodString;
|
|
224
226
|
description: z.ZodOptional<z.ZodString>;
|
|
225
227
|
ip: z.ZodOptional<z.ZodString>;
|
|
@@ -8,5 +8,16 @@ export declare const promptSettingSchema: z.ZodObject<{
|
|
|
8
8
|
password_first: z.ZodDefault<z.ZodBoolean>;
|
|
9
9
|
show_last_used_connection: z.ZodDefault<z.ZodBoolean>;
|
|
10
10
|
webauthn_platform_first_factor: z.ZodBoolean;
|
|
11
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
12
|
+
local: "local";
|
|
13
|
+
shared: "shared";
|
|
14
|
+
platform: "platform";
|
|
15
|
+
}>>;
|
|
16
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
none: "none";
|
|
18
|
+
secrets: "secrets";
|
|
19
|
+
fields: "fields";
|
|
20
|
+
}>>;
|
|
21
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
11
22
|
}, z.core.$strip>;
|
|
12
23
|
export type PromptSetting = z.infer<typeof promptSettingSchema>;
|